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

Re: for



>but also add some precedence rules and have the grammar reconfigure itself  
>on the fly.  i'd call it close to state of the art, as well as a substantial  
>redesign for our current yacc-driven interpreter.
Look through the comp.compilers archives.  This kind of thing was done
in the 1970's.  Current beliefs are, apparently, that this is Not Good.

If you're gonna provide macros, then use macros for everything, throw
away all of the current syntax (rather, rewrite it in terms of the macros)
and use a single notation throughout.

Do macros really provide that much more than functions + es's quoting
rules + eval?  I dunno.  I do know that I'd hate to see defmacro and , and
` without good reason.
	/r$