7 ms·
(Follow up) the parser returns data structures that are easily manipulated by functions in the standard library But is there a limit on how powerful macro has
by wruza 7y ago
(Follow up)
the parser returns data structures that are easily manipulated by functions in the standard library
But is there a limit on how powerful macro has to be? Think meta-meta-meta programming where a macro constructs a macro for own use somewhat imperatively. Like compile-time for another compile-time for... etc
I mean, if we can easily manipulate code at compile-time AND have a macro evaluator at hand, then don’t we have enough time to do something maybe more ambitious than the resulting binary chunk would ever do?