nowfound

Dev tools · alternatives · 2026

24 alternatives to Matcheroni, a tiny C++20 header library for building lexers/parsers

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…

Matcheroni is a C++20 header library for building lexers and parsers as an alternative to traditional parser generators and regular expressions. It uses C++ templates to create customizable parsers with minimal build… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Matcheroni, a tiny C++20 header library for building lexers/parsers launched in 2023; newer entries below may have overtaken it.

  1. 1

    A lightweight single-header pattern-matching library for C++17 with macro-free APIs. Try it at https://godbolt.org/z/8YMr8Kz8j

    2022 · github.com · its alternatives →

  2. 2

    A C++ HTML template engine that uses compile time HTML parsing - rep-movsd/see-phit

    2017 · github.com · its alternatives →

  3. 3

    Regex.ai is an AI-powered tool that generates regular expressions. It can accurately generate regular expressions that match specific patterns in text with precision. Whether you're a novice or an expert, Regex.ai's intuitive interface makes it easy to input sample text and generate complex regular expressions quickly and efficiently. Overall, Regex.ai is a game-changer that will save you time and streamline your workflow.

    2023 · regex.ai · its alternatives →

  4. 4

    Outlines is a Python library that focuses on text generation with large language models. Brandon and I are not LLM experts and started the project a few months ago because we wanted to understand better how the generation process works. Our original background is probabilistic, relational and symbolic programming. Recently we came up with a fast way to generate text that matches a regex (https://blog.normalcomputing.ai/posts/2023-07-27-regex-guide...). The basic idea is simple: regular expressions have an equivalent Deterministic-Finite Automaton (DFA) representation. We…

    2023 · github.com · its alternatives →

  5. 5

    A curated list of most commonly used regular expressions

    2022 · uibakery.io · its alternatives →

  6. 6

    A C++ parser generator: lexer, parser, and AST generation in one tool. - TantrixAuto/yantra

    23d ago · github.com · its alternatives →

  7. 7

    💥 Fast State-of-the-Art Tokenizers optimized for Research and Production - huggingface/tokenizers

    2020 · github.com · its alternatives →

  8. 8

    Language Lego. Contribute to ayoungprogrammer/Lango development by creating an account on GitHub.

    2016 · github.com · its alternatives →

  9. 9

    Online tool to learn, build, & test Regular Expressions

    2014 · regexr.com · its alternatives →

  10. 10

    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 →

  11. 11

    Meta programming utilities for C++14. Merged in matt-42/lithium - matt-42/iod

    2014 · github.com · its alternatives →

  12. 12

    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 →

  13. 13

    A C++ HTML document constructor only depending on the standard library. - tinfoilboy/CTML

    2018 · github.com · its alternatives →

  14. 14

    A parser generator for visibly pushdown languages. - ianh/owl

    2018 · github.com · its alternatives →

  15. 15

    Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows - drogonframework/drogon

    2019 · github.com · its alternatives →

  16. 16

    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 →

  17. 17

    AI-powered regular expression generator

    2023 · regex.ai · its alternatives →

  18. 18

    ⛳ Simple, extensible, header-only C++20 argument parser released into the public domain. - sailormoon/flags

    2016 · github.com · its alternatives →

  19. 19
    Regxr▲151

    A minimal, lightweight MacOS desktop app for RegEx

    2018 · github.com · its alternatives →

  20. 20

    Premium digital studio crafting modern websites, web apps, mobile apps, and digital experiences for ambitious brands worldwide.

    2010 · regexio.com · its alternatives →

  21. 21
  22. 22

    Morning HN. Random number generation feels is a somewhat underrepresented topic in the C++ realm. There is a lot of questionable info about it found online and even the standard library is quite behind the times in terms of it's algorithms. It suffers from trying to accommodate sometimes impractical standard requirements and has several ways of getting significantly bad statistical results. This leaves a lot easily achievable performance & quality on the table. So, being a mathematician who mostly works with stochastic models and wants these models to run fast and well, I embarked on a…

    2025 · github.com · its alternatives →

  23. 23

    Hi HN, I have created a webpage that displays all C++ features since C++20 in a simple, searchable table. It is intended to serve as a quick reference for C++ developers, whether as support for cross-platform development or simply to track the current support status out of curiosity. I created it as a simpler, more structured, and more up-to-date alternative to the cppreference compiler support site. Please note that the page intentionally does not list LWG and CWG papers. This might change as I am continually updating the site and trying out new ideas. Questions, feedback and suggestions…

    2025 · cppstat.dev · its alternatives →

  24. 24

    This C library is part of a main project aimed at providing a reactive key-value (KV) database. The data is typed (numbers, strings, dates, or booleans) and can include formulas with references to other entries. Clients connected to this database receive a real-time data stream with updates to the subscribed keys, allowing them to react to changes and their dependencies. Essentially, it’s like building a distributed Excel, where data and formulas dynamically update across the system. I couldn’t find any libraries that offered the full set of features I needed for evaluating expressions, so I…

    2024 · github.com · its alternatives →

Also compare

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 →