calculator-c-parser
A simple implementation of a parser and its use to calculate simple mathematical expressions (by alt-romes)
lalr-parser-test
Testing how different LALR(1) parsers detect grammar conflicts (by mingodad)
Our great sponsors
calculator-c-parser | lalr-parser-test | |
---|---|---|
3 | 1 | |
14 | 6 | |
- | - | |
0.0 | 3.1 | |
about 3 years ago | about 1 month ago | |
C | C | |
- | MIT License |
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.
calculator-c-parser
Posts with mentions or reviews of calculator-c-parser.
We have used some of these posts to build our list of alternatives
and similar projects.
- Show HN: Simple Calculator Parser in C
-
Programmer calculator and LL parser made in C from scratch
While writing the parser I also wrote a separate simpler version to serve as an example to someone who might be interested in parsers (https://github.com/alt-romes/calculator-c-parser)
lalr-parser-test
Posts with mentions or reviews of lalr-parser-test.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-25.
-
The Lemon Parser Generator
I did something like this here https://github.com/mingodad/lalr-parser-test where I expanded byacc/bison/lemon to generate a naked grammar, ebnf grammar (understood by https://www.bottlecaps.de/rr/ui to generate railroad diagrams) and interchange the grammar between then (byacc/bison to lemon and the other way around too, taking in account the difference in how they interpret rules precedence).
What are some alternatives?
When comparing calculator-c-parser and lalr-parser-test you can also consider the following projects:
inih - Simple .INI file parser in C, good for embedded systems
tree-sitter-rasi - RASI grammar for tree-sitter
sfm - simple file manager
bison - GNU Bison
Ox - Ruby Optimized XML Parser
wyhash - The FASTEST QUALITY hash function, random number generators (PRNG) and hash map.
Nokogiri - Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
Oj - Optimized JSON
golemon - A Go port of the lemon parser generator