2 releases

Uses old Rust 2015

0.0.2 Apr 2, 2016
0.0.1 Nov 26, 2015

#406 in Parser tooling

Download history 141/week @ 2024-11-20 155/week @ 2024-11-27 209/week @ 2024-12-04 280/week @ 2024-12-11 193/week @ 2024-12-18 25/week @ 2024-12-25 136/week @ 2025-01-01 136/week @ 2025-01-08 243/week @ 2025-01-15 154/week @ 2025-01-22 240/week @ 2025-01-29 344/week @ 2025-02-05 431/week @ 2025-02-12 414/week @ 2025-02-19 293/week @ 2025-02-26 145/week @ 2025-03-05

1,325 downloads per month
Used in plex

MIT/Apache

28KB
570 lines

lalr

Build Status

A library for creating LALR(1) parsers from context-free grammars. That's pretty much it.

API Documentation.


lib.rs:

This crate provides data structures for context-free grammars and LR(1) state machines, and an algorithm to convert a context-free grammar into an LR(1) state machine by the LALR(1) construction.

To use this crate, you should create a Grammar and call lalr1. Then you can use the LR1ParseTable to create your own parser.

No runtime deps