2 ms·
There are good parser generators, but potentially not as Rust libraries.
by mgaunard 9mo ago
There are good parser generators, but potentially not as Rust libraries.
- westurner 9mo agoI decided to look; just found these: chumsky (parser combinator): https://github.com/zesterer/chumsky https://github.com/zesterer/chumsky LALRPOP (LR(1)): https://github.com/lalrpop/lalrpop https://github.com/lalrpop/lalrpop grmtools (YACC) https://github.com/softdevteam/grmtools/ https://github.com/softdevteam/grmtools/ re: Other parsers: https://softdevteam.github.io/grmtools/master/book/othertools.html https://softdevteam.github.io/grmtools/master/book/othertool... antlr4rust: https://github.com/rrevenantt/antlr4rust https://github.com/rrevenantt/antlr4rust
- mgaunard 9mo agoMeanwhile C++ has more than a hundred, with a focus on production-ready rather than innovative design patterns.