Crate lrp

Crate lrp 

Source

Re-exports§

pub use clr::Clr;
pub use lalr::Lalr;
pub use slr::Slr;
pub use grammar::*;
pub use parser::*;
pub use dfa::*;
pub use tabler::*;
pub use pos::*;

Modules§

clr
dfa
grammar
lalr
parser
pos
slr
tabler

Macros§

grammar_map

Structs§

Meta
Span
A exclusive Span struct, for indexing metadata on Tokens. start is where it BEGINS, end is UNTIL collect.
Token

Enums§

Sym

Functions§

to_tokens
transitive
For a given f(x), processes x until f(x) = f(f(x)) -> f(f(f(f….f(x)))) = f(x)

Type Aliases§

ActTable
Map
Rule
Set
State
Table
Terms table. in FIRST: A = a . . . . -> {A: a} A = a . | b . -> {A: a, b} A = B . . . . -> {A: FIRST(B)}