Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

LALRPOP is an LR parser, which is a very different formalism to PEG: it's easy to write a grammar in either that's difficult/impossible to express in the other.

If you'll permit the immodesty, another Rust parser is lrpar (https://crates.io/crates/lrpar) which is a more direct drop-in replacement for Yacc, but with better error recovery. [Note: I'm biased because I wrote parts of lrpar and the wider framework, grmtools, it's a part of.]



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: