Next: , Previous: , Up: The language   [Contents][Index]


5.16 Loading

In Lisp, programs (also called modules, or libraries) are stored in files. Each file is a sequence of Lisp forms (known as top-level forms). Most of the top-level forms in a program will be definitions (i.e. function, macro or variable definitions) since generally each library is a system of related functions and variables.

Before the program can be used it has to be loaded into the editor’s workspace; this involves reading and evaluating each top-level form in the file, i.e. instantiating all function definitions, or whatever.