Our great sponsors
rpds | pest | |
---|---|---|
3 | 37 | |
971 | 3,858 | |
- | 1.6% | |
0.0 | 1.3 | |
11 days ago | 11 days ago | |
Rust | Rust | |
Mozilla Public License 2.0 | Apache License 2.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.
rpds
Posts with mentions or reviews of rpds.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-23.
-
Learning Clojure made me return back to C/C++
Thanks for taking the time to provide a detailed response. Need to think on this. I had actually started a regular Clojure parser using LLVM as a hobby, but then my friend said it was better to implement this in a safe-memory and. save-concurrency language like Rust and leverage cranelift for code generation. So, now I am learning rust, lol. (Btw, Rust has a persistent data structures lib too: https://github.com/orium/rpds )
-
Persisting data that has revisions for values
Take a look at https://github.com/orium/rpds or one of the many others.
pest
Posts with mentions or reviews of pest.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-27.
-
easy way to produce a parser
Give https://pest.rs a try.
- Is there a parsing library (lexer?) which can handle generic tokens?
-
Thoughts on reimplementing an old MIDI scripting language in rust.
Maybe Pest or Nom for parsing the language.
-
Template Engine with Rust and Regex?
I haven't written any template engines, but I imagine you'd want to use a proper parser generator like nom, pest, etc. to get the statefulness you need. As the famous StackOverflow answer says, you can't parse a non-regular language with a regular expression... or at least not the kind of "no lookahead/lookbehind" regex engine Rust uses.
-
How to read binary files from the end in Rust?
But personally I would recommend something like Pest (which is still fairly popular). (Creates)
-
Advice for a web app with 3d rendering
This was in C, and there it's a pointer arithmetic nightmare. Also, this was before I had any education in writing parsers. These days I'd probably just use a parser generator like pest.
-
An HTTP request parser with rust and pest.rs
To write our grammar we will use pest. From the website:
-
What crates would you consider essential?
Have you seen pest? It's probably not going to have the best performance, but you can get off the ground quickly. I've been using it lately and really dig it.
-
Writing Parsers like TextFSM and TTP
If you go with Nom, check https://github.com/Geal/nom/blob/main/doc/choosing_a_combinator.md and the examples https://github.com/Geal/nom/tree/main/examples . You can also use https://pest.rs/ , it has an editor you can try on the website.
-
Domain Specific Language embedded in Rust
pest
What are some alternatives?
When comparing rpds and pest you can also consider the following projects:
nom - Rust parser combinator framework
lalrpop - LR(1) parser generator for Rust
rust-peg - Parsing Expression Grammar (PEG) parser generator for Rust
pom - PEG parser combinators using operator overloading without macros.
combine - A parser combinator library for Rust
chumsky - Write expressive, high-performance parsers with ease.
chomp - A fast monadic-style parser combinator designed to work on stable Rust.
zero - A Rust library for zero-allocation parsing of binary data.
rust-csv - A CSV parser for Rust, with Serde support.
serde - Serialization framework for Rust
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
rust-bison-skeleton - Bison frontend for Rust