Rust Parser

Open-source Rust projects categorized as Parser | Edit details

Top 23 Rust Parser Projects

  • GitHub repo swc

    swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript.

    Project mention: esbuild – An extremely fast JavaScript bundler | | 2021-10-13
  • GitHub repo vector

    A high-performance observability data pipeline.

    Project mention: I Don't Think Elasticsearch Is a Good Logging System | | 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 ( which I'm not affiliated with aside from being a very happy user (for log ingestion).

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo nom

    Rust parser combinator framework

    Project mention: Hey Rustaceans! Got an easy question? Ask here (40/2021)! | | 2021-10-04
  • GitHub repo pest

    The Elegant Parser (by pest-parser)

    Project mention: Whats your favourite open source Rust project that needs more recognition? | | 2021-10-11

    Pest parser

  • GitHub repo lalrpop

    LR(1) parser generator for Rust

    Project mention: Whats the best parser generator for rust? | | 2021-08-23

    Personally I really like lalrpop.

  • GitHub repo rslint

    A (WIP) Extremely fast JavaScript and TypeScript linter and Rust crate (by rslint)

    Project mention: Why isn't differential dataflow more popular? | | 2021-01-22


  • GitHub repo logos

    Create ridiculously fast Lexers (by maciejhirsz)

    Project mention: [X-Post] Skiff, a gradually typed functional language written in 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

    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.

  • GitHub repo rust-csv

    A CSV parser for Rust, with Serde support.

    Project mention: Data Manipulation: Pandas vs Rust | | 2021-02-28

    Yep, I'll try to have a look at the nesting PR tonight, don't want to be a bitch, and not helping ahah :)

  • GitHub repo combine

    A parser combinator library for Rust

  • GitHub repo rust-peg

    Parsing Expression Grammar (PEG) parser generator for Rust

    Project mention: Using Nom - a parser combinator library | | 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.

  • GitHub repo diffsitter

    A tree-sitter based AST difftool to get meaningful semantic diffs

    Project mention: What if Git worked with Programming Languages? | | 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).

  • GitHub repo goscript

    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? | | 2021-10-03

    i've never used it but saw this this week, looked interesting:

  • GitHub repo sqlparser-rs

    Extensible SQL Lexer and Parser for Rust

    Project mention: We Went All in on Sqlc/Pgx for Postgres and Go | | 2021-09-08
  • GitHub repo git-journal

    The Git Commit Message and Changelog Generation Framework :book:

  • GitHub repo json-rust

    JSON implementation in Rust

    Project mention: Are there any rust libraries implementing a CSS-like language? | | 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.

  • GitHub repo pom

    PEG parser combinators using operator overloading without macros.

    Project mention: Whats the best parser generator for 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.

  • GitHub repo fast-float-rust

    Super-fast float parser in Rust

    Project mention: Making Rust Float Parsing Fast: libcore Edition | | 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.

  • GitHub repo chomp

    A fast monadic-style parser combinator designed to work on stable Rust.

  • GitHub repo sv-parser

    SystemVerilog parser library fully complient with IEEE 1800-2017

    Project mention: Hey Rustaceans! Got an easy question? Ask here (17/2021)! | | 2021-04-26

    I'm looking for help improving the compile time of this crate:

  • GitHub repo vte

    Parser for virtual terminal emulators (by alacritty)

    Project mention: Building a Terminal Emulator from scratch | | 2021-05-14


  • GitHub repo bnf

    Parse BNF grammar definitions

  • GitHub repo oak

    A typed parser generator embedded in Rust code for Parsing Expression Grammars (by ptal)

  • GitHub repo pq

    a command-line Protobuf parser with Kafka support and JSON output (by sevagh)

    Project mention: Podman: A Daemonless Container Engine | | 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:

    It understands Dockerfiles and can pull images from Dockerhub.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-10-13.


What are some of the best open-source Parser projects in Rust? This list will help you:

Project Stars
1 swc 15,615
2 vector 8,192
3 nom 5,724
4 pest 2,630
5 lalrpop 1,858
6 rslint 1,707
7 logos 1,214
8 rust-csv 1,052
9 combine 976
10 rust-peg 957
11 diffsitter 927
12 goscript 836
13 sqlparser-rs 830
14 git-journal 502
15 json-rust 419
16 pom 332
17 fast-float-rust 210
18 chomp 205
19 sv-parser 203
20 vte 137
21 bnf 134
22 oak 132
23 pq 129
Find remote jobs at our new job board There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives