This object implements an LALR(1) parser and compiler.
Normal use of this object would be:
set_error_handler {add_rule, set_priority, set_associativity}* set_symbol_to_string compile {parse}*
mapping(int:array(Rule)) Parser.LR.Parser.grammar
The grammar itself.
Kernel Parser.LR.Parser.start_state
The initial LR0 state.
int Parser.LR.Parser.lr_error
Error code
mapping(string:Kernel) Parser.LR.Parser.known_states
LR0 states that are already known to the compiler.
function(SeverityLevel:void) Parser.LR.Parser.error_handler
Compile error and warning handler.
StateQueue Parser.LR.Parser.s_q
Contains all states used. In the queue section are the states that remain to be compiled.