Top 7 C++ Grammar Projects
-
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 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-22I 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.
-
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)
-
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.
C++ Grammar related posts
- How often do you use these keywords ?
- Lexy: C++ Parsing DSL Library
- lexy: C++ parsing DSL library - first (beta) release
- lexy: C++ parsing DSL library - first (beta) release
- What size/scope is acceptable for personal projects on your resume?
- Ditch regex for parser combinators, a Rust / nom step-by-step guide
- Self-hosted LR-parser /scanner generator combo in C++20
Index
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 |
Are you hiring? Post a new remote job listing for free.