* 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