Macro-like Syntax Extensions Through Pseudo-closures

Christoffer Lernö: For normal closures there is no way to fix this problem. We can only have the closure return to it’s caller, which in this case is the function times we added to Int. In many languages with macros, we would construct syntax by directly working with the syntax tree created by the compiler. This is … Continue reading Macro-like Syntax Extensions Through Pseudo-closures