http://www.elwood.com/eclipse-info.
Eclipse is an implementation of ANSI Common Lisp. Common Lisp defines a large library of programming constructs, such as functions, macros and global variables. The Eclipse product can be thought of as making these constructs available to programmers in three ways:
eclipse (1), which,
on start-up, runs a Lisp top-level
(real-eval-print loop). The Lisp top-level evaluates Lisp
expressions, whether they refer to ANSI or user-defined constructs.
Users may define additional constructs using, for example, the ANSI
macro defun.
The ANSI function load may be used to load additional user-defined constructs from a file.
In addition to using the top-level read-eval-print loop, the ANSI function eval may be used directly to evaluate arbitrary Lisp programs which have been created as data.
eclipse (1) program are defined
in a library which may be
linked by the user with user programs written in other languages (such
as C). These utilities have the same semantics as they do when used
within the eclipse program. Thus, a C application can
call any ANSI Lisp function, including load and eval.
An application which uses the library must call certain system initialization functions before any of the utilities are used. These initialization functions are defined in the library.
eclipse (1) program is
called compile-file. This function
reads a user's Common Lisp source file and creates either:
Of course, compile-file and load can be
called from the eclipse program or from a user's C program
which has been linked with the library.
One might use compile-file's C generation to:
A Common Lisp source file always defines some initialization behavior which takes place at the time the file is loaded using load. When a Lisp source file is converted to C using compile-file and the resulting C code is compiled and linked into an executable, no call to load is needed. However, the application must call an initialization function for the file before any of the utilities in it are used. This initialization function provides the "load-time" behavior that normally occurs during load. The function is created by compile-file and appears at the bottom of the generated C file.