C++ Grammar

Open-source C++ projects categorized as Grammar | Edit details
Related topics: #CPP #Parser #Cpp17 #C++ #Language

Top 7 C++ Grammar Projects


    Parsing Expression Grammar Template Library

    Project mention: TIL: Visual Studio has quantum state values 🤨 | reddit.com/r/cpp | 2022-03-17

    The program in the post was just an example meant to illustrate the problem. Originally, this (new) behavior of MSVC broke my code in the PEGTL, see [this commit](https://github.com/taocpp/PEGTL/commit/e3c8cb499dc3d1d76d23f2d5d79469dcb15550c5) that I needed to apply to fix it.

  • lexy

    C++ parsing DSL

    Project mention: How often do you use these keywords ? | reddit.com/r/cpp | 2022-05-14

    lexy has something like std::bind with a way to specify fallback values for the placeholders if the arguments aren't provided: lexy::_1.or_default(fallback)

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • ExprTK

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

    Project mention: Better library for evaluating math expressions stored on a String | reddit.com/r/androiddev | 2022-04-22

    I have used https://github.com/ArashPartow/exprtk for this task, since it is cpp we also used on IOS, however in android we changed to exp4j since it requires less space and did the same job.

  • 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.

    Project mention: Compile Time Parser Generator - 1.3.6 | reddit.com/r/cpp | 2022-01-03
  • tree-sitter-markdown

    Markdown grammar for tree-sitter

    Project mention: Tree-sitter for markdown | reddit.com/r/neovim | 2021-12-14

    I've been using ikatyang/tree-sitter-markdown until now, how is this one different?

  • 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

    Project mention: Compose Generator - Update 1.5.0 | dev.to | 2021-12-16

    Compose Generator internally uses the CCom compiler toolchain to evaluate conditional sections and conditional statements, based on JSON input. CCom offers a CLI, which Compose Generator called previously. This CLI executable enriches the user input and then calls the compiler executable with all required inputs. After the last update we executed several benchmarks for CCom, which have shown that this additional executable fork costs a lot of performance. As Compose Generator uses CCom very often (~20 times even if only one template was selected), CCom can be optimized quite a bit by calling the CCom compiler executable directly without going via the CLI.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

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 2022-05-14.

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,531
2 lexy 567
3 ExprTK 395
4 ctpg 354
5 tree-sitter-markdown 126
6 parsergen 3
7 ccom 3
Find remote jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives