Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ecl(1) [debian man page]

ECL(1)							      General Commands Manual							    ECL(1)

NAME
ecl - Embeddable Common LISP SYNOPSIS
ecl [-dir dir] [-load file] [-eval expr] [-compile file [-o ofile] [-c [cfile]] [-h [hfile]] [-data [datafile]] [-s] [-q]] DESCRIPTION
ECL stands for Embeddable Common-Lisp. The ECL project is an effort to modernize Giuseppe Attardi's ECL environment to produce an imple- mentation of the Common-Lisp language which complies to the ANSI X3J13 definition of the language. The current ECL implementation features: o A bytecodes compiler and interpreter. o A translator to C. o An interface to foreign functions. o A dynamic loader. o The possibility to build standalone executables. o The Common-Lisp Object System (CLOS). o Conditions and restarts for handling errors. o Sockets as ordinary streams. o The Gnu Multiprecision library for fast bignum operations. o A simple conservative mark & sweep garbage collector. o The Boehm-Weiser garbage collector. ecl without any argument gives you the interactive lisp. OPTIONS
-shell file Executes the given file and exits, without providing a read-eval-print loop. If you want to use lisp as a scripting language, you can write #!${exec_prefix}/bin/ecl -shell on the first line of the file to be executed, and then ECL will be automatically invoked. -norc Do not try to load the file ~/.eclrc at startup. -dir Use dir as system directory. -load file Loads file before entering the read-eval-print loop. -eval expr Evaluates expr before entering the read-eval-print loop. -compile file Translates file to C and invokes the local C compiler to produce a shared library with .fas as extension per default. -o ofile When compiling file name the resulting shared library ofile. -c cfile When compiling name the intermediary C file cfile and do not delete it afterwards. -h hfile When compiling name the intermediary C header hfile and do not delete it afterwards. -data [datafile] Dumps compiler data into datafile or, if not supplied, into a file named after the source file, but with .data as extension. -s Produce a linkable object file. It cannot be loaded with load, but it can be used to build libraries or standalone executable programs. -q Produce less notes when compiling. The options -load, -shell, and -eval may appear any number of times, and they are combined and processed from left to right. AUTHORS
The original version was developed by Giuseppe Attardi starting from the Kyoto Common Lisp implementation by Taiichi Yuasa and Masami Hagiya. The current maintainer of ECL is Juan Jose Garcia Ripoll, who can be reached at the ECL mailing list. FILES
~/.ecl, ~/.eclrc Default initialization files loaded at startup unless the option -norc is provided. (if they exist). SEE ALSO
ANSI Common Lisp standard X3.226-1994 The Common Lisp HyperSpec BUGS
Probably some. Report them! 4th Berkeley Distribution 03/10/03 ECL(1)

Check Out this Related Man Page

ELK(1)							      General Commands Manual							    ELK(1)

NAME
elk, scheme-elk - extensible Scheme interpreter SYNOPSIS
elk [ -l file ] [ -h KBytes ] [ -p load-path ] [ -g ] [ -i ] [ -v type ] [[ -- ] args] elk... DESCRIPTION
Elk (Extension Language Kit) is a Scheme implementation designed as a general extension language for applications written in C or C++. Normally, Elk is linked with the application it serves, but a stand-alone version of the Scheme interpreter is installed as well (usually under the name elk). This interpreter, together with the standard Scheme toplevel, Elk can be used as an ordinary, stand-alone implementa- tion of the Scheme language. When called without the -l option, Elk loads the standard "toplevel" to start an interactive session. When called with -l file, the con- tents of the specified file is loaded instead. If a `-' is given as a filename argument, Elk loads from standard input. The option -p load-path can be used to override the standard load-path. The argument is a colon-separated list of directories. If this option is not present and the environment variable ELK_LOADPATH is defined, the value of this variable is used to initialize the load-path. The value of ELK_LOADPATH has the same format as the argument to the -p option. The -h KBytes option is used to specify a non-standard heap size. The default heap size is 512 KBytes. If the option -i is specified, symbols are mapped to lower case. Normally, Elk is case-sensitive. The -g option causes the interpreter to run the garbage collector each time memory is allocated on the heap. This is useful for writers of extensions who want to test the garbage collect behavior of an extension. Running Elk with the -g option is likely to reveal GC-related bugs in extensions (such as not properly protected local objects), as it triggers a garbage collection each time an object is allocated on the Scheme heap. A dot is written to standard output each time a garbage collection is performed when -g has been specified. When called with one or more -v type (``verbose'') options, the interpreter prints additional informational messages to standard output, depending on the value of the type argument. If type is load, the linker command and options are printed each time an object file is loaded; if type is init, the names of extension initialization and finalization functions are printed as they are called. The remaining args are put into a list of strings, and the Scheme variable command-line-args is bound to this list in the global environ- ment. If arguments could be interpreted as options, `--' can be used to indicate the end of the options. FILES
$TMPDIR/ldXXXXXX Temporary files AUTHOR
Oliver Laumann 4th Berkeley Distribution 15 January 1991 ELK(1)
Man Page