Rust Parser

Open-source Rust projects categorized as Parser

Top 23 Rust Parser Projects

  1. swc

    Rust-based platform for the Web

    Project mention: A 10x Faster TypeScript | news.ycombinator.com | 2025-03-11

    For previous attempts at doing this in rust, see:

      1. stc [https://github.com/dudykr/stc] - Abandoned [https://github.com/swc-project/swc/issues/571#issuecomment-1915966297]

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. tree-sitter

    An incremental parsing system for programming tools

    Project mention: Want AI to Actually Understand Your Code? This Tool Says It Can Help | dev.to | 2025-03-23

    Tree-sitter is a parser generator tool and an incremental parsing library, it is available in Rust πŸ¦€ - GitHub. CocoIndex has built-in Rust integration with Tree-sitter to efficiently parse code and extract syntax trees for various programming languages.

  4. vector

    A high-performance observability data pipeline.

    Project mention: Build a Datadog alternative in 5 minutes | dev.to | 2025-02-26

    Use vector.dev as a log collector

  5. oxc

    βš“ A collection of JavaScript tools written in Rust.

    Project mention: oxlint.json in Preact source code. | dev.to | 2025-03-04

    Over 480 rules with a growing list from eslint, typescript, eslint-plugin-react, eslint-plugin-jest, eslint-plugin-unicorn, eslint-plugin-jsx-a11y and many more.

  6. nom

    Rust parser combinator framework

    Project mention: Ask HN: What Are You Working On? (February 2025) | news.ycombinator.com | 2025-02-23
  7. lightningcss

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

    Project mention: CSSnano | news.ycombinator.com | 2024-09-15

    We tried LightningCSS and it gave buggy output for us because it doesn't keep track of property ordering. I wouldn't use it until that's fixed.

    https://github.com/parcel-bundler/lightningcss/issues/547

    https://github.com/parcel-bundler/lightningcss/issues/572

  8. boa

    Boa is an embeddable and experimental Javascript engine written in Rust. Currently, it has support for some of the language.

    Project mention: Show HN: Nova JavaScript Engine | news.ycombinator.com | 2024-11-17

    Is this an experimental only JS engine or do you aim to implement the entire ECMAscript specification?

    I have been following the Rust Boa project, but I think that it isn't production ready, yet. https://github.com/boa-dev/boa

  9. SaaSHub

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

    SaaSHub logo
  10. 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
  11. chumsky

    Write expressive, high-performance parsers with ease.

  12. lalrpop

    LR(1) parser generator for Rust

  13. logos

    Create ridiculously fast Lexers (by maciejhirsz)

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

    Logos

  14. datafusion-sqlparser-rs

    Extensible SQL Lexer and Parser for Rust

  15. rslint

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

    Project mention: ESLint adoption guide: Overview, examples, and alternatives | dev.to | 2024-08-08

    A relatively new entrant, RSLint focuses on providing a zero-config linting tool. It is in early development and not ready for production. The last release is from 2022, so it’s unclear if development is still active.

  16. pulldown-cmark

    An efficient, reliable parser for CommonMark, a standard dialect of Markdown

  17. ariadne

    A fancy diagnostics & error reporting crate (by zesterer)

  18. calamine

    A pure Rust Excel/OpenDocument SpreadSheets file reader: rust on metal sheets

    Project mention: Quick Diff ME 1.1: Excel ζ―”θΌƒ ツール | dev.to | 2025-03-20
  19. rust-csv

    A CSV parser for Rust, with Serde support.

  20. diffsitter

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

    Project mention: Diffsitter: A Tree-sitter based AST difftool to get meaningful semantic diffs | news.ycombinator.com | 2025-03-07
  21. lol-html

    Low output latency streaming HTML parser/rewriter with CSS selector-based API

  22. goscript

    An alternative implementation of Golang specs, written in Rust for embedding or wrapping.

  23. rust-peg

    Parsing Expression Grammar (PEG) parser generator for Rust

  24. combine

    A parser combinator library for Rust

  25. termimad

    A library to display rich (Markdown) snippets and texts in a rust terminal application

  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 Parser discussion

Log in or Post with

Rust Parser related posts

  • Creating simple and fast lexer with logos

    1 project | dev.to | 15 Mar 2025
  • Diffsitter: A Tree-sitter based AST difftool to get meaningful semantic diffs

    1 project | news.ycombinator.com | 7 Mar 2025
  • pest VS lezer - a user suggested alternative

    2 projects | 7 Mar 2025
  • Parsing JSON in 500 lines of Rust

    8 projects | news.ycombinator.com | 18 Feb 2025
  • Nom parser combinators now released in version 8, with a new architecture

    1 project | news.ycombinator.com | 31 Jan 2025
  • Nom released 8.0: A byte-oriented, zero-copy, parser combinators Rust library

    1 project | news.ycombinator.com | 27 Jan 2025
  • A collection of JavaScript tools written in Rust

    1 project | news.ycombinator.com | 20 Jan 2025
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 25 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more β†’

Index

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

# Project Stars
1 swc 31,923
2 tree-sitter 19,958
3 vector 18,999
4 oxc 13,917
5 nom 9,794
6 lightningcss 6,886
7 boa 5,496
8 pest 4,824
9 chumsky 3,845
10 lalrpop 3,189
11 logos 3,085
12 datafusion-sqlparser-rs 2,974
13 rslint 2,684
14 pulldown-cmark 2,175
15 ariadne 1,887
16 calamine 1,869
17 rust-csv 1,781
18 diffsitter 1,720
19 lol-html 1,659
20 goscript 1,536
21 rust-peg 1,510
22 combine 1,314
23 termimad 967

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

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