3 karma · joined Oct 29, 2019 (7y ago) · 9 submissions
comment 1y ago · link · parent
Let's put it another way: do you think there is utility in macros at all? And do you think that type safe code is better than untyped code? If you say yes to both, you must also think that staging is useful, since it basically gives you type safe macros. Now lots more things can be macros instead of runtime functions, and you don't need to deal with the ergonomic issues that macros have in other languages. For a more real world example, see Jeremy Yallop's work on fused lexing and parsing.
comment 1y ago · link · parent
comment 1y ago · link · parent
https://se.cs.uni-tuebingen.de/publications/schuster19zero.p...