pratt-parser-blog-code
minipratt
pratt-parser-blog-code | minipratt | |
---|---|---|
2 | 2 | |
28 | 175 | |
- | - | |
0.0 | 10.0 | |
over 2 years ago | about 4 years ago | |
TypeScript | Rust | |
MIT License | - |
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.
pratt-parser-blog-code
-
Pratt Parsers: Expression Parsing Made Easy
Some time ago I went down a fascinating rabbit hole on Pratt parsers while writing a math expression evaluator. In addition to the OP and above-linked article, I found the following helpful.
- How Desmos Uses Pratt Parsers (2018) - TypeScript - https://engineering.desmos.com/articles/pratt-parser/ - Source: https://github.com/desmosinc/pratt-parser-blog-code
- Simple But Powerful Pratt Parsing (2020) - Rust - https://matklad.github.io/2020/04/13/simple-but-powerful-pra... - Source: https://github.com/matklad/minipratt
- Building a tiny little broken calculator with parser combinators
minipratt
-
Pratt Parsers: Expression Parsing Made Easy
Some time ago I went down a fascinating rabbit hole on Pratt parsers while writing a math expression evaluator. In addition to the OP and above-linked article, I found the following helpful.
- How Desmos Uses Pratt Parsers (2018) - TypeScript - https://engineering.desmos.com/articles/pratt-parser/ - Source: https://github.com/desmosinc/pratt-parser-blog-code
- Simple But Powerful Pratt Parsing (2020) - Rust - https://matklad.github.io/2020/04/13/simple-but-powerful-pra... - Source: https://github.com/matklad/minipratt
- Building a tiny little broken calculator with parser combinators
What are some alternatives?
RollDice-Discord
expr - Simple integer expression parser
PrattParse - Pratt parser builder in TypeScript (along with simple tokenizer)
WebBS - A toy language that compiles to WebAssembly
npeg - PEGs for Nim, another take
fur