parsergen
Self-hosted parser/scanner generator from LR grammar with semantic annotations in C++20 (by buck-yeh)
bux
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects. (by buck-yeh)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
parsergen
Posts with mentions or reviews of parsergen.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-23.
-
Self-hosted LR-parser /scanner generator combo in C++20
New Paragraph
bux
Posts with mentions or reviews of bux.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-23.
-
How can I turn a structured exception into a C++ exception without having to use /EHa
Try my implement https://github.com/buck-yeh/bux/blob/main/src/XException.cpp
-
Self-hosted LR-parser /scanner generator combo in C++20
You quickly spot one of the current weaknesses of parsergen. The immature error recovery mechanism actually resides in LR1.cpp, within C_Parser::recover(). But I valued document completeness above error recovery readiness so that more people can possibly be attracted by the project and creating REAL expectations on it. parsergen is a long term side project and just getting started in github. This is just one of many parts needed to become better. As you mentioned it, error recovery shall be in the next evolution.
What are some alternatives?
When comparing parsergen and bux you can also consider the following projects:
lalr - LALR(1) parser for C++
roost_hsm - A C++11 Hierarchical State Machine Library
filter_spirit - Advanced item filter generator for Path of Exile that uses it's own DSL and online item price APIs
clipp - easy to use, powerful & expressive command line argument parsing for modern C++ / single header / usage & doc generation
m2lang - The LLVM-based Modula-2 compiler
Simple-Log
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.
binary_log - Fast binary logger for C++