MikeTrendsTrends right now

⬢github C++ · 11 ★ +8 since we first saw it · pushed 20 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.

c++parser-generatorcompilerlalrastlexer

Open on GitHub →

Stars over our 20 snapshots: 3 to 11, since 4 h ago.

Where people talked about it

API: https://socialmediatrends-api.osmike.com/v1/repos/TantrixAuto/yantra