From: eri (Eric McCarthy)

Subject: Re: [pcspr4190] eval-when behavior

Date: 1996-11-27 11:04


> Well, dpANS(*1) says, and ACL Help summarizes, that top-level > forms are processed by file compiler according to a certail rule > as below: > > CT LT EX MODE ACTION > No No Yes NCT Discard > > CT :COMPILE-TOPLEVEL MODE processing mode of the file compiler > LT :LOAD-TOPLEVEL NCT not-compile-time mode > EX :EXECUTE > > File compiler is in the not-compile-time mode initially. > In the case of my prevous mail, the compiler will be encountered > `(EVAL-WHEN (:EXECUTE) ...)' AS A TOP-LEVEL FORM, so that the body > will be ignored, I think.
This table means the body is not evaluated at compile time, but it is compiled at compile time, and then executed at execute time (i.e., when the compiled file is loaded). /Eric/