Re:Learn Lisp the Hard Way
by kazinator on Thursday July 10, 2014 @09:00PM
(#8018349)
That's right; macros need a target language to expand to, and that target language needs to seamlessly inter-operate with the surroundings and with the forms that are inserted into it. Some semantics is simply not available without transforming the entire program in which the macro call occurs.
[ Parent
| on HN ]
Re:Learn Lisp the Hard Way
by Blackthorn on Thursday July 10, 2014 @09:21PM
(#8018401)
Yes, exactly my point. Macros are very powerful but not a magic sauce that makes Common Lisp infinitely extendable. Some things you actually need to change the underlying implementation for.