⬢github C++ · 7 ★ +4 since we first saw it · pushed 18 h ago · MIT
TantrixAuto/yantra
A C++ parser generator: lexer, parser, and AST generation in one tool.
Yantra is an LALR(1) parser generator written in C++23 that bundles lexer, parser, and AST generation into one tool. It supports Unicode, multi-mode lexing, push-based parsing for streaming input, and top-down AST walking with semantic actions. It generates either a single self-contained C++ file or separate .hpp/.cpp files, with no dependencies beyond the standard library.
Why now: It was recently showcased on Hacker News as a 'Show HN' post, drawing attention for combining lexer, parser, and top-down AST traversal in a single dependency-free tool.
Who it is for: C++ developers building compilers, interpreters, DSLs, or other language tooling who want a self-contained parser generator.
Stars over our 13 snapshots: 3 to 7, since 3 h ago.
Where people talked about it
API: https://socialmediatrends-api.osmike.com/v1/repos/TantrixAuto/yantra