Top 23 Rust Parser Projects
A high-performance observability data pipeline.Project mention: I Don't Think Elasticsearch Is a Good Logging System | news.ycombinator.com | 2021-09-28
Kibana and Loki both load full messages in their list page. You end up loading megabytes (sometimes hundreds of megabytes) of data but it only displays a few kilobytes.
I don't know when we forgot the basic paradigm of list -> click -> details where loading the details is a separate http call. This is what datadog does, and the difference is staggering. Almost enough to make me abandon Kibana/Elastic and pay datadog.
I can't let a ELK discussion pass without mentioning vector.dev (https://vector.dev) which I'm not affiliated with aside from being a very happy user (for log ingestion).
Run Linux Software Faster and Safer than Linux with Unikernels.
Rust parser combinator frameworkProject mention: Hey Rustaceans! Got an easy question? Ask here (40/2021)! | reddit.com/r/rust | 2021-10-04
The Elegant Parser (by pest-parser)Project mention: Whats your favourite open source Rust project that needs more recognition? | reddit.com/r/rust | 2021-10-11
Pest parser https://pest.rs/
LR(1) parser generator for RustProject mention: Whats the best parser generator for rust? | reddit.com/r/rust | 2021-08-23
Personally I really like lalrpop.
Create ridiculously fast Lexers (by maciejhirsz)Project mention: [X-Post] Skiff, a gradually typed functional language written in Rust | reddit.com/r/rust | 2021-09-06
Hi all, Skiff is a functional language that I've been working on over the past few months that's implemented (almost) entirely from scratch in Rust (so I thought you all might be interested). The one major dependency is the excellent lexing library Logos.
Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
A CSV parser for Rust, with Serde support.Project mention: Data Manipulation: Pandas vs Rust | reddit.com/r/rust | 2021-02-28
Yep, I'll try to have a look at the nesting PR https://github.com/BurntSushi/rust-csv/pull/197 tonight, don't want to be a bitch, and not helping ahah :)
A parser combinator library for Rust
Parsing Expression Grammar (PEG) parser generator for RustProject mention: Using Nom - a parser combinator library | dev.to | 2021-08-27
I wanted to create a parser for Apertium Stream. In 2014, I used Whittle in Ruby. If this year were 2001, I would use Lex/Yacc. Anyway, this year is 2021. I wanted to create this parser in Rust. I tried to find what is similar to Lex/Yacc. I found Rust-Peg. I found a link to Nom from Rust-Peg's document. My first impression was Nom example is easy to read. At least, its document claimed Nom is fast.
A tree-sitter based AST difftool to get meaningful semantic diffsProject mention: What if Git worked with Programming Languages? | reddit.com/r/programming | 2021-09-28
I have never used any of them, but it look like tree-sitter based diff tools are exactly what you are searching for (like difftastic, gumtree or diffsitter).
Go specs implemented as a scripting language in Rust.Project mention: What scripting language and what implementation would you use with your program written in Rust? | reddit.com/r/rust | 2021-10-03
i've never used it but saw this this week, looked interesting: https://github.com/oxfeeefeee/goscript
Extensible SQL Lexer and Parser for RustProject mention: We Went All in on Sqlc/Pgx for Postgres and Go | news.ycombinator.com | 2021-09-08
The Git Commit Message and Changelog Generation Framework :book:
JSON implementation in RustProject mention: Are there any rust libraries implementing a CSS-like language? | reddit.com/r/rust | 2021-09-25
You can use my crate jss which is essentially just json with field and values of a css properties. I used the json crate here since it allows omitting double quotes on fields that are valid rust identifier. The jss crate has a generated css properties which are used as lookup, transforming to and fro kebab-case properties into snake_case in order make the css code a bit cleaner, while still allowing the use of double quoted fields.
PEG parser combinators using operator overloading without macros.Project mention: Whats the best parser generator for rust? | reddit.com/r/rust | 2021-08-23
Everyone on this sub seems to be using nom. In my experience I find pom to be intuitive and have to write less code. Maybe it's just me I'm having a hard time understanding nom which has a lot of function calls rather than less.If you compare both the json examples on both projects, the pom example is a lot clearer to read and a lot shorter.
Super-fast float parser in RustProject mention: Making Rust Float Parsing Fast: libcore Edition | reddit.com/r/rust | 2021-07-17
JSON is an interesting example, since the syntax of valid floats is slightly different than what Rust expects. Luckily, I'm the author of a minimal, and am also the author of a PR to bring this to fast-float-rust.
A fast monadic-style parser combinator designed to work on stable Rust.
SystemVerilog parser library fully complient with IEEE 1800-2017Project mention: Hey Rustaceans! Got an easy question? Ask here (17/2021)! | reddit.com/r/rust | 2021-04-26
I'm looking for help improving the compile time of this crate: https://github.com/dalance/sv-parser
Parser for virtual terminal emulators (by alacritty)Project mention: Building a Terminal Emulator from scratch | reddit.com/r/rust | 2021-05-14
Parse BNF grammar definitions
A typed parser generator embedded in Rust code for Parsing Expression Grammars (by ptal)
a command-line Protobuf parser with Kafka support and JSON output (by sevagh)Project mention: Podman: A Daemonless Container Engine | news.ycombinator.com | 2021-02-11
I have a Makefile for a Rust project which binds the local repository to a Docker volume, builds it in the container using muslrust, and then does a chown to change the target directory back from root ownership to my own user.
All I had to do was 's/docker/podman/g' and remove the chown hack and it works fine: https://github.com/sevagh/pq/commit/6acf6d05a094ac2959567a9a...
It understands Dockerfiles and can pull images from Dockerhub.
What are some of the best open-source Parser projects in Rust? This list will help you:
Are you hiring? Post a new remote job listing for free.