You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
STDLIB-04a: Mut effect externs (make_ref / get / set) → real implementations #328
Per the 2026-05-24 audit, all three are stubs: surface syntax exists in js_codegen.ml (~line 144) for ref/deref/set operators, but no real wasm refcell type or host-import lowering is wired. Hermetic round-trip (make_ref → set → get) is unproven on all backends.
Acceptance
make_ref(x) allocates a real cell (wasm GC struct or host-side box per backend)
get(r) reads, set(r, x) writes, with Mut effect tracked end-to-end
Hermetic e2e test (round-trip + aliasing) added under test/
AOT gate stays green
CAPABILITY-MATRIX + TECH-DEBT updated in the same PR
Activity
docs(tech-debt): split STDLIB-04 into 04a–04e per per-extern audit (R…
Merge origin/main into claude/upbeat-gauss-D5f72
fix(interp): `eval_decl` handles `FnExtern` (#328 build-failure root …