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
That's not really true. All forms are processed in order from left to
right. Macros are expanded as they are reached. In compiled code,
macros are expanded at compile time in such a way as not be expanded
at runtime.
Craig Lanning
E-Mail: CraigL(a)InternetX.net