[cmucl-imp] Forgetting compile time stuff
Helmut Eller
heller at common-lisp.net
Wed Dec 23 16:41:43 CET 2009
* Rob MacLachlan [2009-12-23 14:39+0100] writes:
> No, there isn't, and traditionally people have relied on this behavior
> so that if you compile a file of macro definitions that uses helper
> functions or has global state variables, those definitions will stick
> around to be used in subsequent compilations.
>
> There would also be severe implementation difficulties with such a
> feature because arbitrary code may be evaluated and there is no
> facility in CL for undoing evaluation. However, it might be almost
> possible to do such a thing in CMU CL because of the pervasive use of
> first-class environments to hold global state (the globaldb.)
OK. Thanks for the answer.
It seems that it would also work to fork off a child process to perform
the compilation.
Helmut
More information about the cmucl-imp
mailing list