Module exec

Source
Expand description

Execution engine for EndBASIC programs.

Structs§

Machine
Executes an EndBASIC program and tracks its state.
Scope
Provides controlled access to the parameters passed to a callable.

Enums§

Error
Execution errors.
Signal
Signals that can be delivered to the machine.
StopReason
Describes how the machine stopped execution while it was running a script via exec().
ValueTag
Tags used in the value stack to identify the type of their corresponding value.

Traits§

Clearable
Trait for objects that maintain state that can be reset to defaults.

Type Aliases§

Result
Result for execution return values.
YieldNowFn
Type of the function used by the execution loop to yield execution.