[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nesting of EVAL-WHENs
- To: sandra@cs.utah.edu
- Subject: nesting of EVAL-WHENs
- From: Jon L White <edsel!jonl@labrea.stanford.edu>
- Date: Sat, 7 May 88 02:16:36 PDT
- Cc: cl-compiler@sail.stanford.edu
- In-reply-to: Sandra J Loosemore's message of Fri, 6 May 88 14:58:37 MDT <8805062058.AA26103@cs.utah.edu>
I'm going to need some more time to think about this question, but vaguely
I thought the model of eval-when processing tried to make sure that subforms
only got evaluated once when there were multiple applicable situations.
For the interior eval-when(eval compile load), the first evaluation during
compilation is because of the EVAL situation in the outter eval-when; then
the second "potential" evaluation is during the compilation of the inner
eval-when, when it notices that it has the 'compile' situaiton. Clearly
we need to insure that the eval-when model has a state that says:
"compiling, but have already eval'd this"
-- JonL --