Processing of Top Level Forms (original) (raw)

ANSI Common Lisp 3 Evaluation and Compilation 3.2 Compilation 3.2.3 File Compilation

3.2.3.1 Processing of Top Level Forms

Processing of top level forms in the file compiler is defined as follows:

eval-when forms cause compile-time evaluation only at top level. Both :compile-toplevel and :load-toplevel situation specifications are ignored for non-top-level forms. For non-top-level forms, an eval-whenspecifying the :execute situation is treated as an _implicit progn_including the forms in the body of the eval-when form; otherwise, the forms in the body are ignored.

3.2.3.1.1 Processing of Defining Macros
3.2.3.1.2 Constraints on Macros and Compiler Macros