Yantra – an LALR(1) parser generator for C++
A C++ parser generator: lexer, parser, and AST generation in one tool. - TantrixAuto/yantra
Yantra – an LALR(1) parser generator for C++ launched on October 1, 2026 with 33 votes, #21 of 279 launches that month and more than 95% of that year's launches.
In plain words
Yantra is a parser generator for C++ that combines lexer, parser, and abstract syntax tree generation in a single tool. It is designed for developers who need to build parsers for custom languages or domain-specific languages. The tool implements LALR(1) parsing, a standard approach for creating efficient parsers from formal grammar specifications.
written from the facts on this page · October 2026
Does a similar job
all alternatives →
Matcheroni, a tiny C++20 header library for building lexers/parsers2023 · github.com · ▲96Howdy HN, as part of my ongoing programming language experiments I've ended up creating my own C++20 lexing and parsing library of sorts. Matcheroni is an alternative to parser generators and regular expressions that uses trees of C++ templates to implement highly customizable lexers and parsers that have minimal impact on build times or binary sizes, while still remaining comparable in performance to Boost regular expressions. The repo includes two example projects - a simple regex parser in ~300 heavily documented lines of code, and a much larger but not quite finished C99 lexer and…
Compile-time HTML parsing in C++142017 · github.com · ▲175A C++ HTML template engine that uses compile time HTML parsing - rep-movsd/see-phit
A Python tool for text-based AI training and generation using GPT-22020 · github.com · ▲174A robust Python tool for text-based AI training and generation using GPT-2. - minimaxir/aitextgen
Fast C-based HTML 5 parsing for Python2017 · github.com · ▲169Fast C based HTML 5 parsing for python. Contribute to kovidgoyal/html5-parser development by creating an account on GitHub.
A small programming language where everything is pass-by-valueJan 2026 · github.com · ▲91This is a hobby project of mine that I started a few years ago to learn about programming language implementation. It was created 95% without AI, although a few recent commits include code from Gemini CLI. I started out following Crafting Interpreters, but gradually branched off that until I had almost nothing left in common. Tech stack: Rust, Cranelift (JIT compilation), LALRPOP (parser). Original title: "A small programming language where everything is a value" (edited based on comments)
A Fast, Malloc-Free C++14 Json Parser and Encoder2014 · github.com · ▲98Meta programming utilities for C++14. Merged in matt-42/lithium - matt-42/iod
More life & fun this month
the category →- WI
Special relativity simulator in which light crawls along at a human speed, so Lorentz contraction, aberration and Doppler shift happen at walking pace.
Life & fun · 23d ago · rivendell.dmitrybrant.com

Fly to every country as a passenger. Choose your next destination and collect country flags automatically as your flights finish.
Life & fun · 19d ago · inflightsimulator.com


MosMos▲407Voice writing that works before, during, and after meetings
Life & fun · 18d ago · mosmos.io

Life & fun · 3d ago · space.bl2.net
Launched alongside, October 2026
the whole month →- VO
AI · 1d ago · stoppels.ch

Paintings by AI models: programs run through a simulation of oil paint.
AI · 21h ago · stillwet.art


Dev tools · 14h ago · github.com

