pub fn with_optimized_program<R>(
input: &str,
f: impl for<'a> FnOnce(Result<(&'a [Stmt<'a>], &'a TypeRegistry, PolicyRegistry), String>, &'a Interner) -> R,
) -> RExpand description
with_parsed_program, but the statements pass through the RUN-PATH
optimizer (EXODIA D1: the Futamura residual — PE, GVN, LICM, closed-form,
deforestation, interval analysis, DCE) before reaching the closure. The
live largo run engines consume this; the differential seams stay on the
raw variant so optimizer correctness is itself differentially gated
(optimized-VM vs raw-tree-walker).