|
|
|
|
|
by leppie
5135 days ago
|
|
There is something very wrong with the concept of 'runtime' macros. How is a 'runtime' macro any better than a function/procedure? TBH, I have no idea what a use case would be for a 'runtime' macro. A macro is generally a compile-time source transformation. If you need that at runtime, use EVAL. |
|
That is, it's easier to implement first-class macros (which allow hygiene) in an intepreter , than it is to implement scheme-style non-first-class hygienic macros...
I only say this because I know how to implement first-class macros, but I don't really understand how Scheme's hygienic macros work...