Skip to main content

Crate pepl_eval

Crate pepl_eval 

Source
Expand description

PEPL tree-walking evaluator: reference implementation.

Executes PEPL programs directly from the typed AST without WASM compilation. Used for semantic validation and as the golden reference for WASM output.

Re-exports§

pub use env::Environment;
pub use error::EvalError;
pub use error::EvalResult;
pub use evaluator::Evaluator;
pub use space::ActionResult;
pub use space::SpaceInstance;
pub use space::SurfaceNode;
pub use test_runner::run_tests;
pub use test_runner::MockResponse;
pub use test_runner::TestResult;
pub use test_runner::TestRunSummary;

Modules§

env
Scoped variable environment for the PEPL evaluator.
error
Runtime error types for the PEPL evaluator.
evaluator
Core expression and statement evaluator.
space
SpaceInstance — runtime representation of a PEPL space.
test_runner
PEPL test runner — executes tests { } blocks from PEPL programs.