giles
1dd4c87d64
Step 5: CEK IO suspension + R7RS modules (define-library/import)
Third CEK phase "io-suspended": perform suspends evaluation, host
resolves IO, cek-resume feeds result back. VM OP_PERFORM (opcode 112)
enables JIT-compiled functions to suspend. VM→CEK→suspend chain
propagates suspension across the JIT/CEK boundary via pending_cek.
R7RS define-library creates isolated environments with export control.
import checks the library registry and suspends for unknown libraries,
enabling lazy on-demand loading. Import qualifiers: only, prefix.
Server-side cek_run_with_io handles suspension by dispatching IO
requests to the Python bridge and resuming. guard composes cleanly
with perform for structured error recovery across IO boundaries.
2598/2598 tests (30 new: 15 core suspension, 3 JIT, 1 cross-boundary,
9 modules, 2 error handling). Zero regressions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 18:55:43 +00:00
..
2026-03-15 12:12:48 +00:00
2026-03-29 07:53:16 +00:00
2026-03-15 18:05:00 +00:00
2026-03-15 02:12:13 +00:00
2026-03-30 17:28:47 +00:00
2026-03-15 11:51:24 +00:00
2026-03-15 12:23:58 +00:00
2026-03-29 18:08:47 +00:00
2026-03-15 11:51:24 +00:00
2026-03-15 12:23:58 +00:00
2026-03-16 08:37:50 +00:00
2026-03-15 02:12:13 +00:00
2026-04-01 00:57:57 +00:00
2026-03-26 00:00:19 +00:00
2026-03-15 16:13:07 +00:00
2026-04-03 18:55:43 +00:00
2026-03-15 13:03:02 +00:00
2026-04-02 11:31:57 +00:00
2026-04-03 18:55:43 +00:00
2026-03-31 21:34:19 +00:00
2026-03-23 23:58:40 +00:00
2026-03-15 10:37:07 +00:00
2026-04-03 08:29:57 +00:00
2026-03-31 17:44:11 +00:00
2026-03-15 15:32:21 +00:00
2026-03-24 02:36:46 +00:00
2026-03-15 02:12:13 +00:00
2026-03-15 12:23:58 +00:00
2026-04-02 13:55:40 +00:00
2026-03-15 12:12:48 +00:00
2026-04-01 18:00:51 +00:00
2026-03-15 12:23:58 +00:00
2026-04-02 12:50:35 +00:00
2026-03-15 02:12:13 +00:00