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

Re: multiple-valued macros (was: do-nothing macro generates nil nevertheless)

erik@naggum.no (Erik Naggum) writes:

>multiple-valued macros would certainly pose interesting problems in parsing
>and evaluation.  for completeness, we should also consider multiple-valued
>reader-macroes.  the mind boggles.

According to the first edition of _AI Programming_, UCI Lisp had 'splicing'
read macros -- they returned a list that got spliced into the input stream.
I think the justification was that they wanted to handle comments with a
read macro, but they didn't have proper tail recursion and it had to run on
machines with tiny memories.