[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Portability and Code walkers
- To: ELIOT%cs.umass.edu@CSNET-RELAY.ARPA
- Subject: Re: Portability and Code walkers
- From: Gregor Kiczales <Gregor.pa@Xerox.COM>
- Date: Wed, 02 Jul 1986 14:57:00 -0000
- Cc: Common-Lisp@SU-AI.ARPA
- In-reply-to: ELIOT%cs.umass.edu@CSNET-RELAY.ARPA's message of Mon, 30 Jun 86 15:47 EST
- Sender: Gregor.pa@Xerox.COM
It is still (all but) impossible to write a portable code walker because
of the underspecification of the environment argument to
I think this problem is well understood, I just thought I would take
advantage of this opportunity to bring it up so that it would be sure to
be recorded in Scott's list of "issues to resolve".
Something like the following is needed.
There need to be constructors and accessors for the environment
There needs to be a function like variable-globally-special-p, or
variable-special-p which takes a variable and an environment.
It would also be nice if environments had the variable bindings in them.
It may be that the accessors are not required, but the constructor is
required so that a code-walker as it walks down through an flet
(macrolet labels) can make a new environment corresponding to the scope
of the flet.