Builds the SLR(1) or the LALR(1) table of a grammar. Both start from the LR(0) automaton, so
they have as many states as the grammar has distinct cores, which is often far fewer than the
canonical LR(1) automaton has. The table keeps every conflicting cell and resolves none.
Builds the SLR(1) or the LALR(1) table of a grammar. Both start from the LR(0) automaton, so they have as many states as the grammar has distinct cores, which is often far fewer than the canonical LR(1) automaton has. The table keeps every conflicting cell and resolves none.