5 ms·
> easy to use macro system Just curious: what macro system were you using with Racket? There are, like, 3 big ways to build macros in Racket: 1. Macros by exa
by ashton314 2y ago
> easy to use macro system
Just curious: what macro system were you using with Racket? There are, like, 3 big ways to build macros in Racket:
1. Macros by example with `syntax-rules`. This was taken from Scheme and is the original hygienic-by-construction system. Limited in power though.
2. `syntax-case`, which gives you full procedural macros but is a little unwieldy at times.
3. `syntax-parse`, the glorious, most powerful macro system of the three.
I know, it’s confusing.