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

Re: guess what.



Setting up "&" to have a readmacro function
can give ( &REST BAR) => (REST BAR)
(&OPTIONAL A B C D E &REST K) => ((OPTIONAL A B C D E) (REST K))
or whatever else you want.
I've tried it in maclisp, and its quite easy for it
to TYIPEEK for the next "&" or ")" so that it can know what
to do. If one is willing to have "read-tokens" in the reader,
then then the entire character "&" need not be commited.
Either way you look at it, the reader is a much more natural
place to put such a highly syntactic frobulations as &Keywords.

-gjc