[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Splicing macros after a dot.



CC: (BUG LISPM) at MIT-MC

(setsyntax '/~ 'splicing '(lambda () (read)))

(a b ~(c)) reads as (a b c)

	AND!

(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.