[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Splicing macros after a dot.
- To: (BUG LISP) at MIT-MC
- Subject: Splicing macros after a dot.
- From: ALAN at MIT-MC (Alan Bawden)
- Date: Wed, 1 Aug 79 02:09:00 GMT
- Cc: (BUG LISPM) at MIT-MC
- Original-date: 31 JUL 1979 2209-EDT
(setsyntax '/~ 'splicing '(lambda () (read)))
(a b ~(c)) reads as (a b c)
(a b . ~(c)) read as (a b c) !!!
Now no matter what your splicing macro philosophy is, this has Got To Be Wrong.
As I see it the "right" thing to happen is for (a b . ~(c)) to be (a b . c).
Also (a b . ~nil) should be an error (Not a hunk, as it is now). Also ~(foo) at top level
should be the same as just foo, not ignored (/; can damn well return nil if it wants to
be ignored). If someone makes these changes then there can be a lisp machine compatable
# macro, but not untill then.