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

    Interface CompiledMachine<S>

    A checked machine with dense indices and prepared stores.

    interface CompiledMachine<S extends readonly StoreSpec[] = readonly StoreSpec[]> {
        model: Machine<S>;
        inputAlphabet: readonly AlphabetSymbol[];
        stateIds: readonly `state:${string}`[];
        start: StateIndex;
        accepting: readonly boolean[];
        rejecting: readonly boolean[];
        acceptBy: ControlAcceptance;
        stores: readonly AnyPreparedStore[];
        inputCodes: SymbolCodes;
        edges: readonly (readonly CompiledEdge[])[];
        pools?: StorePools;
    }

    Type Parameters

    Index
    model: Machine<S>
    inputAlphabet: readonly AlphabetSymbol[]
    stateIds: readonly `state:${string}`[]

    The id of each state, by index.

    start: StateIndex
    accepting: readonly boolean[]
    rejecting: readonly boolean[]
    stores: readonly AnyPreparedStore[]

    The prepared store of each store, in order.

    inputCodes: SymbolCodes

    The codes of the input alphabet.

    edges: readonly (readonly CompiledEdge[])[]

    The edges of each state, in the order of the draft. A halting state of a tape machine has none.

    pools?: StorePools

    The pools that give the cells of the stores their meaning, shared with a machine compiled from an edit of this one.