| 1 |
@node What is ECL |
| 2 |
@section What is ECL |
| 3 |
|
| 4 |
@clisp{} is a general purpose programming language. It lays its roots in |
| 5 |
the @acronym{LISP} programming language @bibcite{LISP1.5} developed by |
| 6 |
John McCarthy in the 80s. @clisp{} as we know it @ansi{} is the result |
| 7 |
of an standardization process aimed at unifying the multiple lisp |
| 8 |
dialects that were born from that language. |
| 9 |
|
| 10 |
@ecl{} is an implementation of the @clisp{} language. As such it derives |
| 11 |
from the implementation of the same name developed by Giuseppe Attardi, |
| 12 |
which itself was built using code from the Kyoto Common-Lisp |
| 13 |
@bibcite{Yasa:85}. @ref{History} for the history of the code you are |
| 14 |
about to use. |
| 15 |
|
| 16 |
@ecl{} (ECL for short) uses standard C calling conventions for Lisp |
| 17 |
compiled functions, which allows C programs to easily call Lisp |
| 18 |
functions and vice versa. No foreign function interface is required: |
| 19 |
data can be exchanged between C and Lisp with no need for conversion. |
| 20 |
|
| 21 |
ECL is based on a Common Runtime Support (CRS) which provides basic |
| 22 |
facilities for memory management, dynamic loading and dumping of binary |
| 23 |
images, support for multiple threads of execution. The CRS is built into |
| 24 |
a library that can be linked with the code of the application. ECL is |
| 25 |
modular: main modules are the program development tools (top level, |
| 26 |
debugger, trace, stepper), the compiler, and CLOS. A native |
| 27 |
implementation of CLOS is available in ECL. A runtime version of ECL can |
| 28 |
be built with just the modules which are required by the application. |
| 29 |
|
| 30 |
The ECL compiler compiles from Lisp to C, and then invokes the C |
| 31 |
compiler to produce binaries. Additionally portable bytecode compiler is |
| 32 |
provided for machines which doesn't have C compiler. While former |
| 33 |
releases of ECL adhere to the the reference of the language given in |
| 34 |
@cltl2{} @bibcite{Steele90}, the ECL is now compliant with X3J13 ANSI |
| 35 |
Common Lisp @bibcite{ANSI}. |