[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remote environments
- To: David N Gray <Gray@DSG.csc.ti.com>
- Subject: Re: remote environments
- From: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>
- Date: Sat, 11 Mar 89 18:02 EST
- Cc: Common-Lisp-Object-System@SAIL.STANFORD.EDU
- In-reply-to: <2814562184-4740019@Kelvin>
Date: Fri, 10 Mar 89 16:49:44 CST
From: David N Gray <Gray@DSG.csc.ti.com>
> - If so, do initforms have access to macros and constants defined
> earlier in the file?
>
> Initforms certainly have access to those things since they are included
> in the initforms' environment. I think 88-002R implies this.
I intend to implement it that way since it is a reasonable thing to
expect. However, I'm not aware of any language in 88-002R that requires
this ("implies" isn't good enough). In fact, proposal
COMPILE-FILE-HANDLING-OF-TOP-LEVEL-FORMS explicitly says that macro
definitions are _not_ necessarily available to the evaluator during
compile-time evaluations.
That is what COMPILE-FILE-HANDLING-OF-TOP-LEVEL-FORMS says, but I think
that may show that that proposal was incorrect and needs to be amended.