pub fn compile(path: &str, source: &str) -> Result<RegionScript>Expand description
Compile a custom-region script and verify its shape: render(ctx) must
exist with exactly one parameter; on_write/on_overflow are recorded
when present (also arity 1). Used by the CLI at spawn (fail-fast: a
missing or broken script is a spawn error, not a silent runtime fallback)
and by lev validate.