C++ parser-combinators

Open-source C++ projects categorized as parser-combinators

Top 5 C++ parser-combinator Projects

parser-combinators
  1. PEGTL

    Parsing Expression Grammar Template Library

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. lexy

    C++ parsing DSL

    Project mention: Show HN: Less Slow C++ | news.ycombinator.com | 2025-04-18

    std::regex is such a nightmare, I didn't take the time to run the code myself but I'd be curious if you would see the same delta if you swapped it for boost::regex or re2.

    I think there's a case to be made for libaries like https://github.com/foonathan/lexy and/or https://github.com/boostorg/parser instead of reaching for a regex in the first place.

  4. spirit

    Boost.org spirit module

  5. hspp

    hspp: An experimental library to bring Haskell Style Programming to C++.

  6. ezpz

    Easy Parsing C++ Library

  7. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ parser-combinators discussion

Log in or Post with

C++ parser-combinators related posts

  • Trip C++Now 2024 – think-cell

    4 projects | news.ycombinator.com | 10 May 2024
  • Show HN: Matcheroni, a tiny C++20 header library for building lexers/parsers

    4 projects | news.ycombinator.com | 6 Jul 2023
  • Simple question on compilers and syntax rules

    1 project | /r/AskProgramming | 11 Jan 2023
  • A simple library for compile-time string matching.

    2 projects | /r/cpp | 27 Dec 2022
  • Any good parser combinator libraries for C++?

    1 project | /r/cpp_questions | 12 Dec 2022
  • How does an experienced programmer go about learning new languages such as C++.

    1 project | /r/cpp | 26 Nov 2022
  • Show HN: Lexy – C++ parser combinator library with custom DSL

    1 project | news.ycombinator.com | 14 Jul 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 22 Jun 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source parser-combinator projects in C++? This list will help you:

# Project Stars
1 PEGTL 2,031
2 lexy 1,092
3 spirit 414
4 hspp 165
5 ezpz 21

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?