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

add wildcard pattern #10

Closed mbutterick closed 5 years ago

mbutterick commented 6 years ago

Matches any token

mbutterick commented 6 years ago

This is a special case of #11, isn’t it

mbutterick commented 5 years ago

AFAICT this is not possible with cfg-parser, and requires a parser that interleaves lexing and parsing (like SGLR)