[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Common Lisp Problems - Can't write a code walker
- To: Gregor.pa@Xerox.COM, Common-Lisp@SU-AI.ARPA
- Subject: Common Lisp Problems - Can't write a code walker
- From: Guy Steele <gls@THINK-AQUINAS.ARPA>
- Date: Thu, 3 Apr 86 10:52 EST
- Cc: gls@THINK-AQUINAS.ARPA
- In-reply-to: <860401-142807-1904@Xerox>
Date: 1 Apr 86 13:27 PST
This is the first of a few messages describing the problems I have had
with Common Lisp while writing Portable Common Loops....
3- Implementations have special forms in their extended lisps that are
not Common Lisp special forms. I don't know if there is anything we can
do about this, but I thought I would mention it. (I suppose we could
agree on a common syntax for defining code walker templates and a common
mechanism for retrieving them but that doesn't seem too likely).
Such implementations are in violation of the Common Lisp specification.
Page 57 of CLtL is very clear about this. An implementation of Common
Lisp is NOT free simply to randomly add a new special form as an
"extension"; it must also provide an equivalent macro definition so that
MACROEXPAND may be used to get rid of it for purposes of program