Rust Parsing

Open-source Rust projects categorized as Parsing

Top 23 Rust Parsing Projects

  1. tree-sitter

    An incremental parsing system for programming tools

    Project mention: Decoding Tree-sitter Playground Output For Fun | dev.to | 2025-05-09

    Paste this into the Playground (try it here). You’ll get something like:

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. lightningcss

    An extremely fast CSS parser, transformer, bundler, and minifier written in Rust.

    Project mention: Rusty Cascading Style Sheets – Another CSS Preprocessor | news.ycombinator.com | 2025-04-09

    CSS Custom Properties have a cost. If you’re using them as global variables, and don’t need to look them up from JavaScript, or change them according to media queries, it’s good to flatten them out of existence: your bundle will be smaller, your execution faster, and your memory usage reduced. Same with mixins.

    It would be good if Lightning CSS supported that use case: https://github.com/parcel-bundler/lightningcss/issues/69.

    Compile-time variables are still a useful feature. CSS Custom Properties get used in a lot of places where compile-time variables would be better.

  4. pest

    The Elegant Parser (by pest-parser)

    Project mention: pest VS lezer - a user suggested alternative | libhunt.com/r/pest-parser/pest | 2025-03-07
  5. chumsky

    Write expressive, high-performance parsers with ease.

    Project mention: Chumsky: Write expressive, high-performance parsers with ease | news.ycombinator.com | 2025-04-15
  6. logos

    Create ridiculously fast Lexers (by maciejhirsz)

    Project mention: Creating simple and fast lexer with logos | dev.to | 2025-03-15

    Logos

  7. rust-peg

    Parsing Expression Grammar (PEG) parser generator for Rust

  8. pom

    PEG parser combinators using operator overloading without macros.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. binjs-ref

    Reference implementation for the JavaScript Binary AST format

  11. mail-parser

    Fast and robust e-mail parsing library for Rust (by stalwartlabs)

  12. rust-lexical

    Fast numeric to- and from-string conversion routines.

  13. tokay

    Tokay is a programming language designed for ad-hoc parsing, inspired by awk.

  14. untrusted

    Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs in Rust. (by briansmith)

  15. html5gum

    A WHATWG-compliant HTML5 tokenizer and tag soup parser

  16. lelwel

    Resilient LL(1) parser generator for Rust

    Project mention: Lelwel: A resilient LL(1) parser generator for Rust | news.ycombinator.com | 2024-07-12
  17. codeparser

    Parse Wolfram Language source code as abstract syntax trees (ASTs) or concrete syntax trees (CSTs)

  18. jsonpath

    JsonPath engine written in Rust. Webassembly and Javascript support too (by freestrings)

  19. meta

    A DSL parsing library for human readable text documents (by PistonDevelopers)

  20. configure_me

    A Rust library for processing application configuration easily

  21. pdl

  22. dpar

    Neural network transition-based dependency parser (in Rust)

  23. faster-pest

    A generator for high-performance Pest parsers, bringing your grammar to the next level

  24. peginator

    PEG parser generator for creating ASTs in Rust

  25. sgf-parse

    SGF parsing library for Rust.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Rust Parsing discussion

Log in or Post with

Rust Parsing related posts

  • Decoding Tree-sitter Playground Output For Fun

    1 project | dev.to | 9 May 2025
  • Diving into Tree-Sitter: Parsing Code with Python Like a Pro

    2 projects | dev.to | 6 May 2025
  • Making Sense of tree-sitter's C API

    1 project | dev.to | 5 May 2025
  • Rusty Cascading Style Sheets – Another CSS Preprocessor

    2 projects | news.ycombinator.com | 9 Apr 2025
  • Creating simple and fast lexer with logos

    1 project | dev.to | 15 Mar 2025
  • pest VS lezer - a user suggested alternative

    2 projects | 7 Mar 2025
  • Emacs Tree-sitter custom highlighting

    2 projects | news.ycombinator.com | 2 Mar 2025
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

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

# Project Stars
1 tree-sitter 20,685
2 lightningcss 7,027
3 pest 4,944
4 chumsky 4,050
5 logos 3,149
6 rust-peg 1,528
7 pom 513
8 binjs-ref 435
9 mail-parser 367
10 rust-lexical 328
11 tokay 242
12 untrusted 201
13 html5gum 161
14 lelwel 143
15 codeparser 140
16 jsonpath 127
17 meta 91
18 configure_me 66
19 pdl 56
20 dpar 44
21 faster-pest 43
22 peginator 36
23 sgf-parse 16

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Rust is
the 5th most popular programming language
based on number of references?