Best option for Rust Parser and Lexer Generators?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • plex

    a parser and lexer generator as a Rust procedural macro (by goffrie)

  • Hi! Im currently developing a compiler in Rust. I am looking for a good parser and lexer generator. I was looking at plex (https://github.com/goffrie/plex), but it is pretty new and I'm not sure if it is stable and useful, or if there are better alternatives. I found a similar post here: https://www.reddit.com/r/rust/comments/e0fj6f/best_rust_parser_and_lexer_generators/?utm_source=share&utm_medium=web2x&context=3

  • re2c

    Lexer generator for C, C++, Go and Rust.

  • Those suggested crates are still more or less the popular options. There was also recently added support for Rust in re2c.

  • 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
  • crates.io

    The Rust package registry

  • antlr4 is a really great modern parser/lexer generator framework. It's language-agnostic, but IIRC the Rust bindings aren't the greatest but it's usable. It's a lot more performant than the random stuff you will find on crates.io . It has support for left recursion and setting associativity and precedence is really easy.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Rudolfs – high-performance caching Git LFS server with AWS S3 and local back end

    1 project | news.ycombinator.com | 10 May 2024
  • Rust Serialisation library with zero dependencies

    1 project | news.ycombinator.com | 10 May 2024
  • Machine learning in Elixir is production-ready

    3 projects | news.ycombinator.com | 9 May 2024
  • Pagefind, a static open-source search library

    1 project | news.ycombinator.com | 9 May 2024
  • Ask HN: How's your experience with Compose/Kotlin multiplatform?

    1 project | news.ycombinator.com | 9 May 2024