Top 23 C++ Parser Projects
-
https://github.com/lief-project/LIEF https://lief-project.github.io/doc/latest/api/python/index.html
-
Diagon – Interactive ASCII art diagram generators\ (4 comments)
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
Project mention: What are some use cases of using shared_ptr in a single threaded program? | reddit.com/r/cpp | 2022-05-03
I use them in toml++ to store the path of the source document for all the data nodes parsed from that document. Storing it as a separate std::string allocation for every single object would have been very wasteful, and the alternative would have been to make an overall document class that owned everything, which I didn't want to do, so shared_ptr was a good compromise.
-
verible
Verible is a suite of SystemVerilog developer tools, including a parser, style-linter, and formatter.
BTW, I'd recommend checking out verible if you're looking for a flex/bison verilog parser.
-
Project mention: How to setup eslint to format on save with nvim's lsp config? | reddit.com/r/neovim | 2022-05-09
use /u/strager's quick-lint, its better.
-
I am trying to parse toml files with toml11 here: https://github.com/ToruNiina/toml11
-
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)
-
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.
-
Vince's CSV Parser
A modern C++ library for reading, writing, and analyzing CSV (and similar) files. (by vincentlaucsb)
How does it compare to this https://github.com/vincentlaucsb/csv-parser
-
Project mention: Getting AST of C source code programmatically! | reddit.com/r/Compilers | 2022-04-06
Did you take a look at psyche-C? https://github.com/ltcmelo/psychec
-
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.
-
-
Project mention: yaml-cpp VS rapidyaml - a user suggested alternative | libhunt.com/r/yaml-cpp | 2022-02-05
-
I found vmime which looks promising (a single FetchContent right?). I am not happy about the license.
-
Surelog
SystemVerilog 2017 Pre-processor, Parser, Elaborator, UHDM Compiler. Provides IEEE Design/TB C/C++ VPI and Python AST API. Compiles on Linux gcc, Windows msys2-gcc & msvc, OsX (by chipsalliance)
-
-
Project mention: 3 Ways To Parse Command Line Arguments in C++: Quick, Do-It-Yourself, Or Comprehensive | reddit.com/r/cpp | 2021-11-04
There is also argumentum https://github.com/mmahnic/argumentum which is for C++ 17 and supports std::optional and sub-commands.
-
-
sdkffi
A code parser for C-Style header files that lets you to parse function's prototypes and data types used in their parameters.
Project mention: GitHub - BehroozAbbassi/sdkffi: A code parser for C-Style header files that lets you to parse function's prototypes and data types used in their parameters. | reddit.com/r/programming | 2022-04-16 -
Project mention: RapidObj v0.1 - A fast, header-only, C++17 library for parsing Wavefront .obj files. | reddit.com/r/cpp | 2021-06-28
-
pytomlpp Python wrapper for the toml++ C++ library.
-
blackbird
Blackbird is a quantum assembly language for continuous-variable quantum computation, that can be used to program Xanadu's quantum photonics hardware and Strawberry Fields simulator. (by XanaduAI)
Project mention: Anyone know any Programming languages for QC that we can play around with/possibly learn? | reddit.com/r/QuantumComputing | 2022-01-05 -
Project mention: I'm giving out microgrants to open source projects for the third year in a row! Brag about your projects here so I can see them, big or small! | reddit.com/r/programming | 2021-12-28
I created lalr -- a modern LALR(1) parser for C++.
-
C++ Parser related posts
- How often do you use these keywords ?
- How to setup eslint to format on save with nvim's lsp config?
- Lexy: C++ Parsing DSL Library
- lexy: C++ parsing DSL library - first (beta) release
- lexy: C++ parsing DSL library - first (beta) release
- Better library for evaluating math expressions stored on a String
- What size/scope is acceptable for personal projects on your resume?
Index
What are some of the best open-source Parser projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | LIEF | 2,978 |
2 | Diagon | 882 |
3 | tomlplusplus | 777 |
4 | verible | 651 |
5 | quick-lint-js | 622 |
6 | toml11 | 586 |
7 | lexy | 567 |
8 | Vince's CSV Parser | 556 |
9 | psychec | 425 |
10 | ExprTK | 395 |
11 | Lyra | 339 |
12 | rapidyaml | 314 |
13 | vmime | 241 |
14 | Surelog | 216 |
15 | maddy | 119 |
16 | argumentum | 111 |
17 | charly-vm | 81 |
18 | sdkffi | 77 |
19 | rapidobj | 64 |
20 | pytomlpp | 56 |
21 | blackbird | 52 |
22 | lalr | 49 |
23 | tree-sitter-html | 48 |
Are you hiring? Post a new remote job listing for free.