Module interpreter

Module interpreter 

Source
Expand description

Tree-walking interpreter for Sigil.

Executes Sigil AST directly for rapid prototyping and REPL.

Structs§

ActorInner
Inner actor state - single-threaded for interpreter (Value contains Rc) For true async actors, use the JIT backend
BuiltInFn
Built-in function type
ChannelInner
Inner channel state - wraps mpsc channel
Environment
Environment for variable bindings
Function
A Sigil function
FutureInner
Inner future representation
Interpreter
The Sigil interpreter
RuntimeAffect
Runtime affect markers for sentiment and emotion tracking
RuntimeError
Runtime error

Enums§

ControlFlow
Control flow signals for return/break/continue
EvalError
Error type that includes control flow
Evidence
Evidence level at runtime
FutureComputation
Types of future computations
FutureState
Future state for async computations
RuntimeConfidence
RuntimeEmotion
RuntimeFormality
RuntimeIntensity
RuntimeSentiment
TypeDef
Type definition for structs/enums
Value
Runtime value in Sigil.

Type Aliases§

EvalResult
Result type that can contain control flow