Rust Parser

Open-source Rust projects categorized as Parser

Top 23 Rust Parser Projects

  1. swc

    Rust-based platform for the Web

    Project mention: The two most important tools for HTML developers | dev.to | 2025-12-22

    Other good options include htmlnano as well as @swc/html.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. tree-sitter

    An incremental parsing system for programming tools

    Project mention: Show HN: Cdecl-dump: represent C declarations visually | news.ycombinator.com | 2025-12-07

    We use the tree-sitter[1] for parsing C declarations in Rizin[2] (see the "td" command, for example). See our custom grammar[3] (modified mainstream tree-sitter-c). The custom grammar was sadly necessary, due to the inability of Tree-Sitter to have the alternate roots[4].

    P.S. Please add a license for your code.

    [1] https://tree-sitter.github.io/

    [2] https://github.com/rizinorg/rizin/tree/dev/librz/type/parser

    [3] https://github.com/rizinorg/tree-sitter-c/

    [4] https://github.com/tree-sitter/tree-sitter/issues/711

  4. vector

    A high-performance observability data pipeline.

    Project mention: Texas is suing all of the big TV makers for spying on what you watch | news.ycombinator.com | 2025-12-18
  5. oxc

    ⚓ A collection of high-performance JavaScript tools.

    Project mention: Vite+ – The Unified Toolchain for the Web | news.ycombinator.com | 2025-10-10
  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: 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.

  8. boa

    Boa is an embeddable Javascript engine written in Rust.

    Project mention: Brimstone: ES2025 JavaScript engine written in Rust | news.ycombinator.com | 2025-11-16

    It looks like Boa has Unicode tables compiled inside of itself: https://github.com/boa-dev/boa/tree/main/core/icu_provider

    Brimstone does not appear to.

    That covers the vast bulk of the difference. The ICU data is about 10.7MB in the source (boa/core/icu_provider) and may grow or shrink by some amount in the compiling.

    I'm not saying it's all the difference, just the bulk.

    There's a few reasons why svelte little executables with small library backings aren't possible anymore, and it isn't just ambient undefined "bloat". Unicode is a big one. Correct handling of unicode involves megabytes of tables and data that have to live somewhere, whether it's a linked library, compiled in, tables on disks, whatever. If a program touches text and it needs to handle it correctly rather than just passing it through, there's a minimum size for that now.

  9. 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
  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.

    Project mention: Chumsky: Write expressive, high-performance parsers with ease | news.ycombinator.com | 2025-04-15
  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. rslint

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

  15. pulldown-cmark

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

  16. 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-07-10
  17. calamine

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

    Project mention: Show HN: Doxx – Terminal .docx viewer inspired by Glow | news.ycombinator.com | 2025-08-17

    Wonderful! Thank you. Looking forward to trying this out.

    Now can you do Excel next? I'm aware of [calamine](https://github.com/tafia/calamine) but that doesn't render as beautifully as doxx. Presumably a lot of the MS XML schema ontology is shared? Ideally you could just use some of their readers and add your UI flare.

    Also really nice list of tools in your previous submissions. Awesome work!

  18. mago

    Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.

    Project mention: Mago: A fast PHP toolchain written in Rust | news.ycombinator.com | 2025-09-13
  19. ariadne

    A fancy diagnostics & error reporting crate (by zesterer)

    Project mention: Evolution of Rust Compiler Errors | news.ycombinator.com | 2025-05-16

    If you're doing language implementation work in Rust, an excellent crate to get similar diagnostic layouts to the Rust compiler is Ariadne[0].

    [0] https://github.com/zesterer/ariadne

  20. lol-html

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

  21. rust-csv

    A CSV parser for Rust, with Serde support.

  22. rust-peg

    Parsing Expression Grammar (PEG) parser generator for Rust

  23. goscript

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

  24. semtools

    Semantic search and document parsing tools for the command line

    Project mention: Semantic grep for Claude Code (RUST) (local embeddings) | news.ycombinator.com | 2025-09-07

    I don't see how these are apples-to-apples given its "send me all your content" approach <https://github.com/run-llama/semtools#:~:text=get%20your%20a...>

    versus https://github.com/BeaconBay/ck#:~:text=yes%2C%20completely%...

  25. combine

    A parser combinator 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 Parser discussion

Rust Parser related posts

Index

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

# Project Stars
1 swc 33,053
2 tree-sitter 23,043
3 vector 20,942
4 oxc 17,849
5 nom 10,237
6 lightningcss 7,337
7 boa 6,720
8 pest 5,226
9 chumsky 4,367
10 lalrpop 3,403
11 logos 3,381
12 rslint 2,727
13 pulldown-cmark 2,420
14 diffsitter 2,293
15 calamine 2,133
16 mago 2,107
17 ariadne 2,082
18 lol-html 1,893
19 rust-csv 1,888
20 rust-peg 1,572
21 goscript 1,544
22 semtools 1,507
23 combine 1,347

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

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