pepl-eval
PEPL tree-walking evaluator: a reference implementation for PEPL execution semantics.
Directly interprets the AST without compiling to WASM, producing golden reference output for testing and validation. Used to verify that the WASM codegen produces identical results.
Key Exports
use ;
use ;
use ;
let mut env = new;
let mut evaluator = new;
let result = evaluator.eval_program?;
Features
- Full PEPL semantics — spaces, actions, views, match, UI components
- Test runner —
run_testsexecutes PEPL test blocks and reports pass/fail - Deterministic — same inputs always produce same outputs
- Stdlib integration — calls into
pepl-stdlibfor all built-in functions
Install
License
MIT — see LICENSE