Skip to main content

Module runtime

Module runtime 

Source
Expand description

The Runtime trait and its surrounding value types.

Every backend (toy Lisp today, wasmtime-hosted interpreters tomorrow) implements Runtime. The trait is deliberately tiny — a single execute(source, ctx) -> result — so that we can swap implementations later without dragging UI code along.

Structs§

ExecContext
Context passed to every execution.
ExecOutput
What an execution produced.

Enums§

ExecError
Infrastructure-level errors.
ExitStatus
How a run terminated.
OutputFormat
How the orchestrator should render ExecOutput into a result subblock.

Traits§

Runtime
A language backend.