TECH

Show HN: Yantra – an LALR(1) parser generator for C++

Hacker News · Thu, 01 Oct 2026 02:30:48 GMT

Yantra is a C++ parser generator: lexer, parser, and AST walker all generated from one tool. It builds the whole AST first, then walks it. Most LALR parser generators (Yacc, Bison, Lemon) run your semantic actions during parsing, as each rule reduces, bottom-up. That means at the

Read original source Discuss with SiiMON