TOC Toolkit API - v0.1.0
    Preparing search index...
    • 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.

      Parameters

      Returns Result<LrTable, Exhaustion>