TOC Toolkit API - v0.1.0
    Preparing search index...

    Complete, cached language slices of a Chomsky grammar.

    Index
    • Parameters

      • cfg: CnfCfg
      • isComplete: boolean = false

      Returns WordTable

    • get completed(): number

      The longest length that the table has completed, or -1 before the first request.

      Returns number

    • Creates an idle table; compiling and computing begin at its first requested length.

      Parameters

      Returns WordTable

    • Uses the same recurrence with all structural work charged for a completed public slice.

      Parameters

      Returns WordTable

    • The words of one variable at a completed length, in the order that the table found them.

      Parameters

      • variable: number
      • length: number
      • budget: Budget

      Returns readonly TerminalWord[]