Expand description
A Rust library for building parsers and grammars
This crate provides tools and utilities for defining grammars, generating LR(1) and LALR(1) parsing tables, and constructing parsers based on these tables.
Modules§
- grammar
- Defines the core grammar structures, including tokens, AST nodes, grammar rules, and the grammar itself
- lr
- Implements LR(0), LR(1), and LALR(1) items and item sets
- parser
- Provides the parser definition, actions, error types, and the parser generator