mbutterick / brag

Racket DSL for generating parsers from BNF grammars [moved to https://git.matthewbutterick.com/mbutterick/brag]
https://git.matthewbutterick.com/mbutterick/brag
MIT License
61 stars 12 forks source link

permit post-processing lambdas #13

Closed mbutterick closed 5 years ago

mbutterick commented 6 years ago

rule : pat0 pat1 pat2 => (λ (stx) (do-something stx))

mbutterick commented 5 years ago

This clutters the notation and duplicates what the macro expander is going to do anyhow.