Skip to main content

eval_env

Function eval_env 

Source
pub fn eval_env(chunk: ChunkId, env: &Env, ctx: &Ctx) -> Result<Value, Raised>
Expand description

Runs an expression chunk (see Ctx::parse) in env: its top module’s body, with no module terminal around it. Public entry point for host evaluation (e.g., elly.Env.eval).