○
Planned This feature is planned but not yet implemented.
Parked: runtime/interpreter bug family deferred (2026-05-15). Interpreter FieldValue propagation — v.num reads 0 instead of int_val. Unpark with rest of std.runtime / std.interpreter work.
Failure Output
[REGISTRY] Creating dispatcher for scope 'test'
[REGISTRY] Found 1 events
[REGISTRY] Generated 9271 bytes
🎯 Compiler coordination: Passes: 13 (flow-based: frontend, analysis, emission) Code
// Test: Interpreter numeric FieldValue in expressions
// Ensures FieldValue.int_val is propagated to expr bindings (no string reparse)
~import std/runtime
~import std/interpreter
~import std/io
const std = @import("std");
// Event producing an integer field
~pub event produce-int {}
| value i32
~proc produce-int|zig {
return .{ .value = 12 };
}
// Register scope
~std/runtime:register(scope: "test") {
produce-int
}
const TEST_SOURCE =
\\~produce_int()
\\| value v |> if(v.num > 10)
\\ | then |> gt {}
\\ | else |> lte {}
;
~std/runtime:get_scope(name: "test")
| scope s |> std/interpreter:run(source: TEST_SOURCE, s.dispatcher)
| result r |> std/io:print.ln("SUCCESS branch={{ r.value.branch:s }}")
| exhausted e |> std/io:print.ln("EXHAUSTED: {{ e.last_event:s }}")
| parse-error e |> std/io:print.ln("PARSE ERROR: {{ e.message:s }}")
| validation-error e |> std/io:print.ln("VALIDATION ERROR: {{ e:s }}")
| dispatch-error e |> std/io:print.ln("DISPATCH ERROR: {{ e.message:s }}")
| not-found |> std/io:print.ln("SCOPE NOT FOUND")
Actual
SUCCESS branch=lte
Expected output
SUCCESS branch=gt
Test Configuration
MUST_RUN