Show HN: Yantra – an LALR(1) parser generator for C++
Category: devtools
Tags: parser-generator, lalr, compiler, cpp, ast
Score: 6.8/10 (Innovation: 6, Technical: 8, Documentation: 7, Utility: 6)
Yantra is a C++ LALR(1) parser generator with an integrated lexer, built-in AST builder, and a top-down AST walker, offering a unique approach where semantic actions run after the full parse tree is built. It targets C++ projects needing a fast, dependency-free parser generator with support for Unicode and streaming input.
Target audience: compiler developers, language designers, C++ backend developers
Repository: https://github.com/TantrixAuto/yantra · C++ · MIT · 24 stars
View on Hacker News