This library is in flux. APIs may change without notice. Generated from source with koruc 0.1.7 on 9/16/2026.
Runtime.eval
~import std/runtime.evalKoru Standard Library: the eval part. Joined via `~part eval` in runtime.kz.
runtime.eval.kz · 1 tors
Koru Standard Library: the eval part. Joined via `~part eval` in runtime.kz.
EVAL - Run a parsed AST against a named scope
// Koru Standard Library: the eval part. Joined via `~part eval` in runtime.kz.
//
// EVAL - Run a parsed AST against a named scope
~pub tor eval {
flow: *const ast.Flow,
scope: string,
budget: ?u64,
handle_pool: ?*@import("root").koru_std.koru_interpreter.HandlePool,
auto_discharge: bool,
defined: ?*@import("root").koru_std.koru_interpreter.DefinedFlows
}
| result {
value: @import("root").koru_std.koru_interpreter.Value,
used: u64,
handles: u32
}
| unhandled-branch { branch: string, payload: string, handles: string }
| exhausted { used: u64, last_event: string, handles: u32 }
| validation-error string
| event-denied string
| dispatch-error { event_name: string, message: string }
| scope-not-found string