C++ Grammar

Open-source C++ projects categorized as Grammar

Top 7 C++ Grammar Projects


    Parsing Expression Grammar Template Library

    Project mention: Show HN: Matcheroni, a tiny C++20 header library for building lexers/parsers | news.ycombinator.com | 2023-07-06

    Very cool, and I like the name!

    I'd be interested in reading about how Matcheroni compares with PEGTL and Lexy.


  • lexy

    C++ parsing DSL

    Project mention: Show HN: Matcheroni, a tiny C++20 header library for building lexers/parsers | news.ycombinator.com | 2023-07-06
  • SonarCloud

    Analyze your C and C++ projects with just one click.. SonarCloud, a cloud-based static analysis tool for your CI/CD workflows, offers a one-click automatic analysis of C and C++ projects hosted on GitHub. Zero configuration and free for open-source projects! Analyze free.

  • ExprTK

    C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html

    Project mention: A Cpp library to evaluate mathematical literal expressions dynamically | /r/cpp_questions | 2023-02-09

    I have found many libraries that can evaluate mathematical expressions, e.g. this one: https://www.partow.net/programming/exprtk/index.html

  • ctpg

    Compile Time Parser Generator is a C++ single header library which takes a language description as a C++ code and turns it into a LR1 table parser with a deterministic finite automaton lexical analyzer, all in compile time.

  • tree-sitter-markdown

    Markdown grammar for tree-sitter (by ikatyang)

  • parsergen

    Self-hosted parser/scanner generator from LR grammar with semantic annotations in C++20 (by buck-yeh)

  • ccom

    ⚙️ Compiler for the CCom (Conditional Comments) language

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

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). The latest post mention was on 2023-07-06.

C++ Grammar related posts


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

Project Stars
1 PEGTL 1,761
2 lexy 854
3 ExprTK 517
4 ctpg 423
5 tree-sitter-markdown 164
6 parsergen 5
7 ccom 4
Updating dependencies is time-consuming.
Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.