| |
| | [No title] |
 | | Well, maybe but I think at least some more kinds of macro need to be definable by rewrite-rules only programmers. |
 | | For example, one of the most common things programmers do with macros in Lisp is to use them to define function-like things: define transmogrifier foo (form, context, #key descend? |
 | | Take the "transmogrifier" example above: define macro define transmogrifier { define ?mods transmogrifier ?name (?params) ?body end } => { register-transmogrifier(?name, method (?params) ?body end) } end macro; Even in the current style of parsing, how would the macro system know to define, say, a "method-define-word" macro rather than a "definition" were one introduced? |
| www.cs.cmu.edu /afs/cs.cmu.edu/project/gwydion-1/dylan-history/1994/06/02766 (632 words) |
|