Comment by mgaunard

19 days ago

There are good parser generators, but potentially not as Rust libraries.

I decided to look; just found these:

chumsky (parser combinator): https://github.com/zesterer/chumsky

LALRPOP (LR(1)): https://github.com/lalrpop/lalrpop

grmtools (YACC) https://github.com/softdevteam/grmtools/ re: Other parsers: https://softdevteam.github.io/grmtools/master/book/othertool...

antlr4rust: https://github.com/rrevenantt/antlr4rust

  • Meanwhile C++ has more than a hundred, with a focus on production-ready rather than innovative design patterns.