2 releases

Uses old Rust 2015

0.0.2 Apr 2, 2016
0.0.1 Nov 26, 2015

#326 in Parser tooling

Download history 134/week @ 2024-03-13 151/week @ 2024-03-20 210/week @ 2024-03-27 257/week @ 2024-04-03 126/week @ 2024-04-10 165/week @ 2024-04-17 216/week @ 2024-04-24 373/week @ 2024-05-01 408/week @ 2024-05-08 300/week @ 2024-05-15 218/week @ 2024-05-22 264/week @ 2024-05-29 270/week @ 2024-06-05 153/week @ 2024-06-12 170/week @ 2024-06-19 113/week @ 2024-06-26

751 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