Rust parser-combinators

Open-source Rust projects categorized as parser-combinators

Top 4 Rust parser-combinator Projects

parser-combinators
  • nom

    Rust parser combinator framework

    Project mention: Planespotting with Rust: using nom to parse ADS-B messages | dev.to | 2023-10-28

    Just in case you are not familiar with nom, it is a parser combinator written in Rust. The most basic thing you can do with it is import one of its parsing functions, give it some byte or string input and then get a Result as output with the parsed value and the rest of the input or an error if the parser failed. tag for example is used to recognize literal character/byte sequences.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • chumsky

    Write expressive, high-performance parsers with ease.

    Project mention: Lezer: A Parsing System for CodeMirror, Inspired by Tree-Sitter | news.ycombinator.com | 2024-03-24

    I attempted to use this but was disheartened but the fact that it doesn't statically type node names. Tree Sitter doesn't either but it has much more of an excuse given that it targets C.

    https://github.com/lezer-parser/lezer/issues/8

    The dev seems mildly hostile to outside involvement too, so I moved on. These days I use Chumsky which is Rust rather than Typescript, but also way more awesome, if you can deal with the often incomprehensible compilation errors at least!

    https://github.com/zesterer/chumsky

  • combine

    A parser combinator library for Rust

  • pom

    PEG parser combinators using operator overloading without macros.

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

Log in or Post with

Rust parser-combinators related posts

  • Writing an Equation Solver

    1 project | dev.to | 6 Aug 2023
  • Is this a good way to free up some memory?

    2 projects | /r/rust | 23 Jun 2023
  • Tokenizing

    1 project | /r/learnprogramming | 22 May 2023
  • Something like pydantic but for just strings?

    1 project | /r/learnpython | 21 May 2023
  • Examples of function-based parsers in chumsky? Examples of unit tests?

    2 projects | /r/rust | 22 Apr 2023
  • Nom: Parser Combinators Library in Rust

    1 project | news.ycombinator.com | 18 Apr 2023
  • Flamingo - A start: the syntax, a soon-to-be-built keyword-less lang with flavoured code blocks. Seeking help and advice please :)

    1 project | /r/ProgrammingLanguages | 5 Apr 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 Jul 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 nom 9,201
2 chumsky 3,446
3 combine 1,281
4 pom 491

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com

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