giles
1765216335
Implement explicit CEK machine, continuations, effect signatures, fix dynamic-wind and inspect shadowing
Three-phase foundations implementation:
Phase A — Activate dormant shift/reset continuations with 24 SX-native tests
covering basic semantics, predicates, stored continuations, nested reset,
scope interaction, and TCO.
Phase B — Bridge compile-time effect system to runtime: boundary_parser extracts
46 effect annotations, platform provides populate_effect_annotations() and
check_component_effects() for static analysis. 6 new type tests.
Phase C — Explicit CEK machine (frames.sx + cek.sx): evaluation state as data
({control, env, kont, phase, value}), 21 frame types, two-phase step function
(step-eval/step-continue), native shift/reset via frame capture. Bootstrapper
integration: --spec-modules cek transpiles to Python with iterative cek_run.
43 interpreted + 49 transpiled tests passing.
Bug fixes:
- inspect() shadowed by `import inspect` in PLATFORM_ASYNC_PY — renamed to
`import inspect as _inspect`
- dynamic-wind missing platform functions (call_thunk, push_wind!, pop_wind!) —
added with try/finally error safety via dynamic_wind_call
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 22:14:55 +00:00
..
2026-03-05 22:05:35 +00:00
2026-03-13 17:30:34 +00:00
2026-03-13 17:30:34 +00:00
2026-03-13 17:30:34 +00:00
2026-03-13 17:30:34 +00:00
2026-03-11 16:38:47 +00:00
2026-03-13 04:09:23 +00:00
2026-03-11 04:53:34 +00:00
2026-03-13 22:14:55 +00:00
2026-03-11 11:15:48 +00:00
2026-03-13 22:14:55 +00:00
2026-03-07 18:04:53 +00:00
2026-03-08 00:00:23 +00:00
2026-03-13 17:30:34 +00:00
2026-03-06 00:41:28 +00:00
2026-03-13 22:14:55 +00:00
2026-03-11 20:27:36 +00:00
2026-03-08 10:17:16 +00:00
2026-03-13 04:37:45 +00:00
2026-03-11 23:22:34 +00:00
2026-03-13 22:14:55 +00:00
2026-03-12 00:14:40 +00:00
2026-03-13 22:14:55 +00:00
2026-03-13 17:30:34 +00:00
2026-03-13 04:09:23 +00:00
2026-03-11 20:27:36 +00:00
2026-03-13 12:20:16 +00:00
2026-03-13 17:30:34 +00:00
2026-03-13 22:14:55 +00:00
2026-03-13 12:03:58 +00:00
2026-03-11 20:27:36 +00:00
2026-03-13 17:30:34 +00:00
2026-03-11 11:15:48 +00:00
2026-03-13 17:30:34 +00:00
2026-03-12 23:05:01 +00:00
2026-03-13 22:14:55 +00:00
2026-03-13 22:14:55 +00:00
2026-03-11 14:30:12 +00:00
2026-03-11 11:15:48 +00:00
2026-03-13 22:14:55 +00:00
2026-03-11 23:22:34 +00:00
2026-03-11 22:51:19 +00:00
2026-03-13 22:14:55 +00:00
2026-03-13 17:30:34 +00:00
2026-03-13 22:14:55 +00:00
2026-03-13 22:14:55 +00:00
2026-03-13 04:37:45 +00:00
2026-03-07 18:01:33 +00:00
2026-03-11 16:51:41 +00:00
2026-03-11 21:01:02 +00:00
2026-03-08 01:53:27 +00:00
2026-03-08 20:21:40 +00:00
2026-03-11 16:51:41 +00:00
2026-03-12 18:31:21 +00:00
2026-03-08 09:44:18 +00:00
2026-03-13 22:14:55 +00:00
2026-03-07 12:17:13 +00:00
2026-03-13 22:14:55 +00:00
2026-03-11 21:01:02 +00:00