Add 68 new tests: continuations-advanced + render-advanced (938/938)

test-continuations-advanced.sx (41 tests):
  multi-shot continuations, composition, provide/context basics,
  provide across shift, scope/emit basics, scope across shift

test-render-advanced.sx (27 tests):
  nested components, dynamic content, list patterns,
  component patterns, special elements

Bugs found and documented:
- case in render context returns DOM object (CEK dispatches case
  before HTML adapter sees it — use cond instead for render)
- context not visible in shift body (correct: shift body runs
  outside the reset/provide boundary)
- Multiple shifts consume reset (correct: each shift needs its own
  reset)

Python runner: skip test-continuations-advanced.sx without --full.

JS 815/815 standard, 938/938 full, Python 706/706.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-15 15:32:21 +00:00
parent 2ef3f03db3
commit a1fa1edf8a
5 changed files with 679 additions and 5 deletions

View File

@@ -569,6 +569,9 @@
"sx-forge" (~plans/sx-forge/plan-sx-forge-content)
"sx-swarm" (~plans/sx-swarm/plan-sx-swarm-content)
"sx-proxy" (~plans/sx-proxy/plan-sx-proxy-content)
"mother-language" (~plans/mother-language/plan-mother-language-content)
"isolated-evaluator" (~plans/isolated-evaluator/plan-isolated-evaluator-content)
"rust-wasm-host" (~plans/rust-wasm-host/plan-rust-wasm-host-content)
"async-eval-convergence" (~plans/async-eval-convergence/plan-async-eval-convergence-content)
"wasm-bytecode-vm" (~plans/wasm-bytecode-vm/plan-wasm-bytecode-vm-content)
"generative-sx" (~plans/generative-sx/plan-generative-sx-content)
@@ -580,9 +583,6 @@
"foundations" (~plans/foundations/plan-foundations-content)
"cek-reactive" (~plans/cek-reactive/plan-cek-reactive-content)
"reactive-runtime" (~plans/reactive-runtime/plan-reactive-runtime-content)
"rust-wasm-host" (~plans/rust-wasm-host/plan-rust-wasm-host-content)
"isolated-evaluator" (~plans/isolated-evaluator/plan-isolated-evaluator-content)
"mother-language" (~plans/mother-language/plan-mother-language-content)
:else (~plans/index/plans-index-content))))
;; ---------------------------------------------------------------------------