Life & fun · alternatives · 2026
24 alternatives to Yantra – an LALR(1) parser generator for C++
A C++ parser generator: lexer, parser, and AST generation in one tool. - TantrixAuto/yantra
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… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes.
- 1

Howdy 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…
2023 · github.com · its alternatives →
- 2

A C++ HTML template engine that uses compile time HTML parsing - rep-movsd/see-phit
2017 · github.com · its alternatives →
- 3

A robust Python tool for text-based AI training and generation using GPT-2. - minimaxir/aitextgen
2020 · github.com · its alternatives →
- 4

Fast C based HTML 5 parsing for python. Contribute to kovidgoyal/html5-parser development by creating an account on GitHub.
2017 · github.com · its alternatives →
- 5

I originally built a QR code generator as a resume project using Rust and I realized a web interface would make customization way easier. This still generates the "data" using that rust library via wasm, but the rendering is all editable javascript to make an SVG or paint on an HTML canvas. I was especially inspired by https://qrbtf.com which had some unique style options I had never seen before, which I ended up copying, and then I made some more.
2024 · github.com · its alternatives →
- 6

This 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)
Jan 2026 · github.com · its alternatives →
- 7

Meta programming utilities for C++14. Merged in matt-42/lithium - matt-42/iod
2014 · github.com · its alternatives →
- 8

Lisp-like-R: A clojure inspired lisp that compiles to R in R - dirkschumacher/llr
2021 · github.com · its alternatives →
- 9

This started as a hard requirement for my TUI-based editor application, it ended up going in a few different directions. A suite of tools that help with semantic code entities: https://github.com/odvcencio/gts-suite A next-gen version control system called Got: https://github.com/odvcencio/got I think this has some pretty big potential! I think there's many classes of application (particularly legacy architecture) that can benefit from these kinds of analysis tooling. My next post will be about composing all these together, an exciting project I call…
Feb 2026 · github.com · its alternatives →
- 10

Next-level syntax for C-like languages :). Contribute to kiselgra/c-mera development by creating an account on GitHub.
2018 · github.com · its alternatives →
- 11

Hi HN! Korean high school senior here, about to start CS in college. I built a browser engine from scratch in C++ to understand how browsers work. First time using C++, 8 weeks of development, lots of debugging—but it works! Features: - HTML parsing with error correction - CSS cascade and inheritance - Block/inline layout engine - Async image loading + caching - Link navigation + history Hardest parts: - String parsing(html, css) - Rendering - Image Caching & Layout Reflowing What I learned (beyond code): - Systematic debugging is crucial - Ship with known bugs rather than chase…
Jan 2026 · github.com · its alternatives →
- 12

Yet Another Compiler Visualizer. Contribute to ashutoshbsathe/yacv development by creating an account on GitHub.
2021 · github.com · its alternatives →
- 13SA
* https://sparser.io * https://github.com/Unibeautify/sparser This is my attempt at creating a universal language parser. It attempts to solve a couple of problems: * Support multiple languages * Recursively extend support to languages embedded within other languages * Output a uniform format for all supported languages This is a personal project so any feedback would be helpful. Something interesting I found after I built it is that this parser is not as fast to write output as many other JavaScript parsers, but its output is much faster to read from due to the…
2019 · its alternatives →
- 14

A parser generator for visibly pushdown languages. - ianh/owl
2018 · github.com · its alternatives →
- 15IB
Lox is a parser and lexer generator for Go. Heavily inspired on ANTLR on the surface (combined parser and lexer, action code separated from grammar), but more similar to yacc on the internals (LR(1), dependency-free parser). I'm especially proud of the type-safe Go action generation where the reduce-artifact's Go type is determined by the user-action's return type, and then used to match and verify its use in other productions.
2025 · dcaiafa.github.io · its alternatives →
- 16

The Elegant Parser. Contribute to pest-parser/pest development by creating an account on GitHub.
2017 · github.com · its alternatives →
- 17

🔬 a C++ compiler middle-end, using an LLVM backend - artagnon/rhine
2016 · github.com · its alternatives →
- 18

I've created cppmatch, a lightweight, header-only C++ library that brings Rust-inspired pattern matching and error handling to C++. It tries to imitate the functionality of the questionmark (?) operator in C++ by using a macro that uses the gcc extension https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html This allows to create exceptionless code with non-intrusive error-as-value that unlike Exceptions, makes it clear which kinds of error a function can generate and forces you to handle (or ignore) them. The ? operator translates to *expect* To handle the errors I…
2025 · github.com · its alternatives →
- 19

Wrote this to learn more about the `chumsky` parser combinator library, rustyline, and the `ariadne` error reporting crate. Such a nice DX combo for writing new languages. Still a work in progress, but I thought I'd share :)
2025 · github.com · its alternatives →
- 20

We developed a new framework that enables flexible control of generated text in language models. By combining several models and/or system prompts in one mathematical formula, it lets you tweak your style and combine model outputs with ease. A handy tool for those working with LLMs, looking for more fine-grained control of stylistic output. More details in our paper: https://arxiv.org/abs/2311.14479. Feedback and potential applications are welcome.
2023 · github.com · its alternatives →
- 21

Language Lego. Contribute to ayoungprogrammer/Lango development by creating an account on GitHub.
2016 · github.com · its alternatives →
- 22

My implementation of Thorsten Bell's book (Writing an Interpreter in Go) - actuallyachraf/monkey-giggle
2020 · github.com · its alternatives →
- 23

⛳ Simple, extensible, header-only C++20 argument parser released into the public domain. - sailormoon/flags
2016 · github.com · its alternatives →
- 24AI
I built this software to help users who need to do static code analysis for C/C++ codebase. This can help you to explore the ASTs interactively. It can replace the Clang ast dump completely and also you can search the code/ASTs in a structual way. For example you can search a function which matches specific name or number of paremeters.
May 2026 · uvic-aurora.github.io · its alternatives →
Also compare
- Matcheroni, a tiny C++20 header library for building lexers/parsers alternatives
- Compile-time HTML parsing in C++14 alternatives
- A Python tool for text-based AI training and generation using GPT-2 alternatives
- Fast C-based HTML 5 parsing for Python alternatives
- qrframe – generate beautiful qr codes with javascript code alternatives
- A small programming language where everything is pass-by-value alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →