bytecodeΒΆ
This is a mostly internal module, subject to change.
type closure < function, sequenceA Minilang function.
fun closure(Original: closure): closureReturns a copy of
Closure.meth (Closure: closure):info: mapReturns some information about
Closure.meth (Closure: closure):list: stringReturns a listing of the bytecode of
Closure.meth (Closure: closure):parameters: listReturns the list of parameter names of
Closure.meth (Closure: closure):values: mapReturns some information about
Closure.meth (Buffer: string::buffer):append(Closure: closure)Appends a representation of
ClosuretoBuffer.type closure::infoInformation about a closure.
type continuation < state, sequenceA bytecode function frame which can be resumed.
type variableA variable, which can hold another value (returned when dereferenced) and assigned a new value. Variables may optionally be typed, assigning a value that is not an instance of the specified type (or a subtype) will raise an error.
meth variable(Value: any): variableReturn a new untyped variable with current value
Value.meth variable(Value: any, Type: type): variableReturn a new typed variable with type
Typeand current valueValue.meth variable(): variableReturn a new untyped variable with current value
nil.