masala-parser
Javascript Generalized Parser Combinators (by masala)
lexy
C++ parsing DSL (by foonathan)
Our great sponsors
masala-parser | lexy | |
---|---|---|
1 | 19 | |
140 | 949 | |
0.7% | - | |
0.0 | 7.5 | |
over 1 year ago | 6 days ago | |
JavaScript | C++ | |
GNU Lesser General Public License v3.0 only | Boost Software License 1.0 |
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.
masala-parser
Posts with mentions or reviews of masala-parser.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-30.
-
Ditch regex for parser combinators, a Rust / nom step-by-step guide
- https://pypi.org/project/parsita/#description - https://github.com/masala/masala-parser
lexy
Posts with mentions or reviews of lexy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-07.
-
Why are strings and IO so complicated?
lexy (https://lexy.foonathan.net/)
- Show HN: Matcheroni, a tiny C++20 header library for building lexers/parsers
-
Koji projekat na Githubu vas je odusevio u zadnje vreme?
https://github.com/foonathan/lexy nakon sto sam se propatio sa errorima od boost spirita, a pegtl mi se nije svidao, ovaj library je dosao kao odusevljenje, a i dokumentacija je iznenadujuce ok
- The Future of Boost by Vinnie Falco
-
Simple question on compilers and syntax rules
In general, LALR parser generators are more difficult to work with than RD parser combinators. Instead of flex and bison, I'd recommend checking out Boost.Spirit or lexy.
-
A simple library for compile-time string matching.
This might be closer: https://github.com/foonathan/lexy
-
Any good parser combinator libraries for C++?
Lexy: https://lexy.foonathan.net/
- Show HN: Lexy – C++ parser combinator library with custom DSL
-
How often do you use these keywords ?
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)
- Lexy: C++ Parsing DSL Library
What are some alternatives?
When comparing masala-parser and lexy you can also consider the following projects:
PEGTL - Parsing Expression Grammar Template Library
scriptum - Functional Programming Unorthodoxly Adjusted to Client-/Server-side Javascript
parser-demo - Good source layout with Flex and Bison
Fluture - 🦋 Fantasy Land compliant (monadic) alternative to Promises
json_struct - json_struct is a single header only C++ library for parsing JSON directly to C++ structs and vice versa
lalrpop - LR(1) parser generator for Rust
gadgetron - Gadgetron - Medical Image Reconstruction Framework
attoparsec - A fast Haskell library for parsing ByteStrings
daw_json_link - Fast, convenient JSON serialization and parsing in C++
vif - Easy, robust, and fast numerics in C++.
eventpp - Event Dispatcher and callback list for C++