TantrixAuto/yantra
A C++ parser generator: lexer, parser, and AST generation in one tool.
About the project
A C++ LALR(1) parser generator with an integrated lexer, UTF-8 support, and built-in AST construction and walking. It turns a grammar into a parser as separate .hpp/.cpp files or a single self-contained file with main().
Useful for
- Generate a parser for a custom language or DSL from a grammar
- Drop a generated parser into an existing C++ project as .hpp and .cpp
- Parse a character stream from a socket via the push-based lexer
README summarized by DeepSeek V4.1 Flash. Details may be inaccurate.
Why it’s trending
- 6 stars so far today, about 12 expected by the end of the day. The usual pace is 0 per day, so that's 12× as much.
- The spike has held for 2 days in a row — not a one-off blip.
- Hacker News: “Show HN: Yantra – an LALR(1) parser generator for C++” — 23 points, 7 h ago.
Stars per day
Bars are daily stars, the line is the usual pace. Red marks spike days.
Numbers
- Total stars
- 15
- Today
- 6 · ≈ 12 by evening
- Forks
- 2
- Issues and pull requests
- 18
- Watchers
- 0
- Language
- C++
- License
- MIT
- Latest release
- v0.5.1 · September 30, 2026
- Created
- October 9, 2025
- Last push
- September 30, 2026
Star trust
Growth looks organic: forks and discussion are in line with active projects, and stars arrive unevenly, the way people give them.
These are heuristics, not a verdict: we judge by the repository’s behavior, not by a list of stargazers.
Hacker News discussions
- Show HN: Yantra – an LALR(1) parser generator for C++23 points, October 1, 2026
Spotted in
- October 1, 2026Spotted on Hacker News
More in this category
-
7.1
edgcpp/compiler
Open-source C/C++ compiler built on the EDG front end: parsing compatible with Clang, GCC and MSVC, C- and C++-generating back ends, a prelinker, and utilities for working with the intermediate language.
-
6.8
t8y2/dbx
A 20 MB lightweight cross-platform database client for 90+ databases (MySQL, PostgreSQL, SQLite, Redis, MongoDB, etc.) with built-in AI assistant, MCP server, CLI, and desktop/Docker modes.
-
6.2
ZacharyZhang-NY/Ely-GPUI-Components
A UI component library for GPUI, the Rust UI framework behind Zed. Every component ships in light and dark themes, and the gallery compiles to WebAssembly to run live in the browser.
-
5.2
fulldiagnose/antigravity-fixer
A Python CLI tool that diagnoses and fixes "account not eligible" errors when signing into Google Antigravity, Gemini Code Assist, and 9router by clearing stale OAuth credentials, caches, and stuck processes.
-
4.6
alpcanaydin/tusk
A native macOS database client built in Rust on GPUI: supports 20 databases, an editable data grid, a SQL editor, and an AI assistant that writes queries but never runs them itself.
-
4.5
devdotfast/whiteboard
An open-source desktop IDE for software design where humans and coding agents share a canvas: the agent draws diagrams you can jump from straight into code.