>>>> "Craig" == Craig Lanning
<CraigL(a)internetx.net> writes:
Craig> At 07:13 AM 8/27/98 -0400, Rick Campbell wrote:
> Run Plugin:"c:\users\craig\mail\attach\Re Macros Scheme vs
Common Li1.ems <0880.0002>"
> Content-Type: text/plain; charset=US-ASCII
>
> From: sperber(a)informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
> Date: 26 Aug 1998 14:20:32 +0200
>
> . . .
>
> I suspect your CL actually processes the forms in some weird
> order. In any case, I strongly doubt that the CL standard
> mandates the behavior you describe.
>
> Common Lisp does not mandate much of anything regarding when expansion
> occurs. It's an implementation detail, i. e. you should not write
> code that depends on expansion happening at a certain time.
>
> Rick
Craig> That's not really true. All forms are processed in order from left to
Craig> right. Macros are expanded as they are reached. In compiled code,
Craig> macros are expanded at compile time in such a way as not be expanded
Craig> at runtime.
This still doesn't tie down the behavior in the example Rick's
referring to.
--
Cheers =8-} Chipsy
Friede, Völkerverständigung und überhaupt blabla