runtime¶
fun backtrace()
TBD
fun break(Condition?: any)
If a debugger is present and
Condition
is omitted or notnil
then triggers a breakpoint.fun callcc()
TBD
fun calldc()
TBD
fun trace(): list[tuple[string, integer]]
Returns the call stack trace (source locations).
fun atomic(Args: any, ..., Fn: function): any
Calls
Fn(Args)
in a new context without a scheduler and returns the result.fun finalize(Value: any, Fn: function)
Registers
Fn
as the finalizer forValue
.fun markcc(Arg₁: any)
TBD
meth (Arg₁: channel):error(Arg₂: string, Arg₃: string)
TBD
meth (Arg₁: channel):raise(Arg₂: error::value)
TBD
meth (Arg₁: channel):raise(Arg₂: string, Arg₃: any)
TBD
type debugger
TBD
meth (Arg₁: error::value):value
TBD
meth (Arg₁: string::buffer):append(Arg₂: error::value)
TBD
type resumable::state < state
TBD
type state < function
TBD
fun swapcc(Arg₁: state)
TBD
type uninitialized
An uninitialized value. Used for forward declarations.
meth (Arg₁: uninitialized) :: (Arg₂: string)
TBD