Rust parser-generator

Open-source Rust projects categorized as parser-generator

Top 4 Rust parser-generator Projects

  • lalrpop

    LR(1) parser generator for Rust

    Project mention: Contrext-free language parsing with procedural macros | reddit.com/r/rust | 2023-01-25

    How would you compare and contrast this with, say, lalrpop?

  • rust-peg

    Parsing Expression Grammar (PEG) parser generator for Rust

    Project mention: Is there a parsing library (lexer?) which can handle generic tokens? | reddit.com/r/rust | 2023-01-05

    My peg crate is a parser generator that supports arbitrary token types as input. See https://github.com/kevinmehall/rust-peg/blob/master/tests/run-pass/tokens.rs for an example.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • lemon-rs

    LALR(1) parser generator for Rust based on Lemon + SQL parser

  • cflp

    Context-free-language parsing with Rust procedural macrs (by fck-language)

    Project mention: Contrext-free language parsing with procedural macros | reddit.com/r/rust | 2023-01-25

    It's a bit niche, but hopefully will be useful to those who need/want something like this. If you want some examples here they are or you can have a look at the benchmarks and their results.

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). The latest post mention was on 2023-01-25.

Rust parser-generator related posts

Index

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

Project Stars
1 lalrpop 2,383
2 rust-peg 1,205
3 lemon-rs 28
4 cflp 0
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com