wip(0.S1, 0.S2): state records, mut and read-only state parameters, entry injection, module var refused; ludic migrate state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
63a1fa1378
commit
1e8b5b0523
35 changed files with 1227 additions and 30 deletions
|
|
@ -951,6 +951,7 @@ function emit_call(e: Node) -> Val {
|
|||
let rtname = `rt_{name}`
|
||||
fn2 = find_fn(rtname)
|
||||
if (fn2 == null) { perr(`unknown function {name}`) }
|
||||
state_inject(e, fn2) # 0.S: a runtime built-in's states, supplied
|
||||
cname = rtname
|
||||
}
|
||||
vis_check(fn2, name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue