short ** derives
List of rules that derive each non-terminal.
int start_symbol
Index of the starting symbol of the grammar.
short * rlhs
List of left-hand sides of all rules.
int ntokens
The number of tokens (terminals) in the grammar.
short * rrhs
List of right-hand sides of all rules.
char * allocate(unsigned n)
int nrules
The number of rules in the grammar.
short * ritem
Representation of all productions (and items)
int nvars
The number of variables (non-terminals) in the grammar.
int nsyms
The number of symbols (terminals + non-terminals) in the grammar.