Module rant::runtime[][src]

Structs

CallStack

Represents a call stack and its associated locals.

RuntimeError

A runtime error raised by a Rant program.

StackFrame

Represents a call stack frame.

UnwindState
VM

The Rant Virtual Machine.

Enums

Intent

Intents are actions queued on a stack frame that are performed before the frame runs.

InvokeComposedStepState

States for the InvokeComposedStep intent.

RuntimeErrorType

Provides general categories of runtime errors encountered in Rant.

SetterValueSource

Describes where a setter gets its RHS value.

StackFrameFlavor

Hints at what kind of program element a specific stack frame represents.

VarWriteMode

Defines variable write modes for setter intents. Used by function definitions to control conditional definition behavior.

Constants

MAX_STACK_SIZE

The largest possible stack size before a stack overflow error is raised by the runtime.

Type Definitions

RuntimeResult

Type alias for Result<T, RuntimeError>