2 releases

Uses old Rust 2015

0.0.2 Apr 2, 2016
0.0.1 Nov 26, 2015

#192 in Parser tooling

Download history 224/week @ 2023-11-09 308/week @ 2023-11-16 202/week @ 2023-11-23 294/week @ 2023-11-30 168/week @ 2023-12-07 170/week @ 2023-12-14 193/week @ 2023-12-21 225/week @ 2023-12-28 323/week @ 2024-01-04 179/week @ 2024-01-11 209/week @ 2024-01-18 119/week @ 2024-01-25 228/week @ 2024-02-01 168/week @ 2024-02-08 221/week @ 2024-02-15 194/week @ 2024-02-22

836 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