@xo-cash/engine
    Preparing search index...

    Function generateCashAssemblyBytecode

    • Generates bytecode for a specific CashAssembly evaluation using given variable values and a prepared compiler. Returns libauth result or error string.

      Parameters

      • compiler: CompilerBch

        The libauth compiler.

      • evaluation: string

        The specific evaluation string to compile.

      • variables: Record<string, unknown>

        A record mapping variable names to their values.

      Returns Uint8Array

      Bytecode result object on success, otherwise an error string.