C++ Parsing

Open-source C++ projects categorized as Parsing
CPP C C++ Parser JSON

Top 15 C++ Parsing Projects

  1. LIEF

    LIEF - Library to Instrument Executable Formats (C++, Python, Rust)

    Project mention: LIEF – Library to Instrument Executable Formats | news.ycombinator.com | 2025-05-01
  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. PEGTL

    Parsing Expression Grammar Template Library

    Project mention: Parsing Expression Grammar Template Library | news.ycombinator.com | 2025-06-24
  4. scnlib

    scanf for modern C++

  5. cpp-peglib

    A single file C++ header-only PEG (Parsing Expression Grammars) library

    Project mention: Fixing Left and Mutual Recursions in Grammars | news.ycombinator.com | 2025-02-02

    Debugging a complex PEG is a nightmarish task. I use various tools, but I couldn't find anything out there that will let you set a breakpoint in a file that's being parsed and let you explore the parsing state.

    The most useful tools I found were adjacent to the cpp-peglib library: https://github.com/yhirose/cpp-peglib

    This comes with a PEG playground: https://yhirose.github.io/cpp-peglib/

    I really liked pegdebug: https://mqnc.github.io/pegdebug/

    With sample output here: https://mqnc.github.io/pegdebug/example/output.html

    pegdebug is nice for small sets of data, but it rapidly gets swamped by anything over about 50 lines.

    If anyone has other suggestions for debugging PEGs, please reply and let me know,.

  6. json.h

    🗄️ single header json parser for C and C++

  7. psychec

    A compiler frontend for the C programming language

  8. matcheroni

    A minimalist single-header library for building pattern-matchers, lexers, and parsers.

  9. 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
  10. docwire

    DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, document analysis. Offline processing is possible for security and confidentiality

    Project mention: DocWire SDK 2025.06.19 Released – Major OCR & PDF Layout Upgrades, Archive Refactor, CI Improvements | dev.to | 2025-06-25

    Full release notes: https://github.com/docwire/docwire/releases/tag/2025.06.19

  11. Jsonifier

    A few classes for extremely fast json parsing/serializing in modern C++. Possibly the fastest json parser in C++. Possibly the fastest json serializer in C++. (by RealTimeChris)

    Project mention: Achieving a 600% Performance Improvement in String-Literal Comparisons | news.ycombinator.com | 2025-02-18
  12. Jasper

    A programming language. Static types. Full type inference. Garbage collection. --- not stable

  13. JuCC

    JuCC - Jadavpur University Compiler Compiler

  14. e-regex

    Fast regular expression library, with full matching support, even at compile time!

  15. cppsimpleuri

    A modern C++ uri & query parser

  16. sajson

    Haskell wrapper for sajson

  17. MeanscriptCLI

    Command line interface for Meanscript

  18. 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++ Parsing discussion

Log in or Post with

C++ Parsing related posts

  • Parsing Expression Grammar Template Library

    1 project | news.ycombinator.com | 24 Jun 2025
  • Fixing Left and Mutual Recursions in Grammars

    2 projects | news.ycombinator.com | 2 Feb 2025
  • Llama.cpp guide – Running LLMs locally on any hardware, from scratch

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

    4 projects | news.ycombinator.com | 6 Jul 2023
  • Matcheroni, a tiny C++20 header library for building lexers/parsers

    1 project | /r/regex | 6 Jul 2023
  • Matcheroni, a tiny C++20 header library for building lexers/parsers

    1 project | /r/ProgrammingLanguages | 6 Jul 2023
  • Use PEGTL to remove my clunky homemade parser

    2 projects | dev.to | 30 Jan 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Jul 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 LIEF 4,952
2 PEGTL 2,037
3 scnlib 1,195
4 cpp-peglib 983
5 json.h 759
6 psychec 549
7 matcheroni 201
8 docwire 88
9 Jsonifier 82
10 Jasper 61
11 JuCC 43
12 e-regex 35
13 cppsimpleuri 12
14 sajson 3
15 MeanscriptCLI 1

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

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