C++ Grammar

Open-source C++ projects categorized as Grammar

Top 7 C++ Grammar Projects

  • PEGTL

    Parsing Expression Grammar Template Library

  • SaaSHub

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

    SaaSHub logo
  • lexy

    C++ parsing DSL

    Project mention: Trip C++Now 2024 – think-cell | news.ycombinator.com | 2024-05-10

    If you mean https://github.com/foonathan/lexy , then yes, foonathan (Jonathan Müller) is literally the "I" in the first sentence of TFA.

  • ExprTK

    C++ Mathematical Expression Parsing And Evaluation Library 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

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++ Grammar discussion

Log in or Post with

C++ Grammar 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
  • The Future of Boost by Vinnie Falco

    5 projects | /r/cpp | 8 May 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
  • spell-check selected text?

    2 projects | /r/AutoHotkey | 13 Oct 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Oct 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 PEGTL 1,930
2 lexy 1,007
3 ExprTK 631
4 ctpg 456
5 tree-sitter-markdown 178
6 parsergen 7
7 ccom 4

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com