pratt-parser-blog-code
The code to illustrate the pratt parser blog post for the desmos engineering blog. (by desmosinc)
RollDice-Discord
By JacksonKearl
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
pratt-parser-blog-code | RollDice-Discord | |
---|---|---|
2 | 2 | |
28 | 2 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | over 1 year ago | |
TypeScript | TypeScript | |
MIT License | 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.
pratt-parser-blog-code
Posts with mentions or reviews of pratt-parser-blog-code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-20.
-
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
RollDice-Discord
Posts with mentions or reviews of RollDice-Discord.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-24.
-
Building a tiny little broken calculator with parser combinators
That’s more a critique of the author than the concept - I gave up midway through the article but order combinators remain a useful tool, particularly as a library. To my eyes, the logic here https://github.com/JacksonKearl/RollDice-Discord/blob/master... is much simpler than the equivalent recursive descent code would be. I’d be interested in an article comparing them in greater detail.
What are some alternatives?
When comparing pratt-parser-blog-code and RollDice-Discord you can also consider the following projects:
PrattParse - Pratt parser builder in TypeScript (along with simple tokenizer)
WebBS - A toy language that compiles to WebAssembly
expr - Simple integer expression parser
npeg - PEGs for Nim, another take
minipratt
fur