[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recursive COMPILE-FILE?



This issue was discussed, briefly, sometime in the past year or two.  As
I remember, I said something similar to the following at that time, and
got no response:

There's nothing in CLtL that would suggest that there is any context in
which it would be an error to call COMPILE-FILE.  It should no more be
an error to call COMPILE-FILE from a macro expander or EVAL-WHEN form
than it would be an error to call CAR or OPEN.

I can think of no reasonable excuse for a compiler implementor to
suggest that COMPILE-FILE should not be re-entrant.  So I would say that
you are permitted to complain when it is not.

Jonathan