3 ms·
I started writing a comment asking what is so complex about syntax-case, as it's just pattern matching for procedural macros combined with the optimization of b
by mindslight 15y ago
I started writing a comment asking what is so complex about syntax-case, as it's just pattern matching for procedural macros combined with the optimization of bolted-on uber-symbols (syntax marks). Then I realized I'd answered my own question.
I think clojure has a pretty good foundation for hygienic procedural macros - increase the complexity of your symbol type and commit to their values asap. Once you're in procedural macro land, you're inherently dealing with the complexity of the syntax model, so it might as well be as simple as possible.