Core_lambdae.EvalCore interpreters. Supply a value environment; Ast.Unit is the empty whole-program environment. Application, merge operands, and primitive operands evaluate from left to right. Evaluation performs no type check and may diverge. Failed runtime operations, including division by zero, raise Failure; exceptions from host callbacks propagate unchanged.
Process-wide resolver for host capabilities, initially returning None. Applying Hostfn (name, _, _) resolves name at application time and calls its callback with the evaluated argument. The callback must return a value of the declared result type; neither property is checked here. Missing capabilities raise Failure. Callbacks may perform host effects.
One small step; values are returned unchanged. A step may invoke a host callback when reducing a capability application.