giles
a9d5a1082f
spec: dynamic-wind — after-thunk fires on normal return, raise, and call/cc escape
- Add make-wind-after-frame / make-wind-return-frame CEK frame types
- Add *winders* global stack tracking active after-thunks
- Add kont-unwind-to-handler (replaces kont-find-handler in raise-eval) — calls
after-thunks for wind frames encountered while unwinding to handler
- Add wind-escape-to — pops and calls after-thunks down to captured winders-len
- Replace sf-dynamic-wind with step-sf-dynamic-wind (full CEK dispatch)
- Fix "callcc" frame: store winders-len in continuation object
- Fix callcc-continuation? case: call wind-escape-to before escape
- JS platform: extend SxCallccContinuation to store windersLen; add
callcc-continuation-winders-len accessor
- 8 tests: normal return, raise escape, call/cc escape, nested LIFO, guard ordering
- 1948/2500 (was 1940); zero regressions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 14:19:17 +00:00
..
2026-03-06 23:12:38 +00:00
2026-03-01 20:34:34 +00:00
2026-03-01 20:34:34 +00:00
2026-04-22 09:09:27 +00:00
2026-04-26 14:19:17 +00:00
2026-03-03 16:27:47 +00:00
2026-03-08 20:21:40 +00:00
2026-03-11 21:51:05 +00:00
2026-04-15 11:56:15 +00:00
2026-03-03 23:00:58 +00:00
2026-03-08 20:21:40 +00:00