News for hackers. Stuff that matters.
Re:Let's write a compiler, part 3: A parser by arcticbull on Monday August 16, 2021 @03:23PM (#28201794)
Lemon is an infinitely better parser generator than Yacc; it solves a lot of the issues that make Yacc terrible to work with: named non-terminals, non-terminal destructors, re-entrancy, etc. It's part of the SQLite codebase. Highly recommended.

In many cases, though, I think parser combinators thread the needle elegantly - nom in Rust for instance. Or even just a hand-rolled LL(1).

There are no comments on this comment yet.