giles
aab1f3e966
Modular test architecture: per-module test specs for SX
Split monolithic test.sx into composable test specs:
- test-framework.sx: deftest/defsuite macros + assertion helpers
- test-eval.sx: core evaluator + primitives (81 tests)
- test-parser.sx: parser + serializer + round-trips (39 tests)
- test-router.sx: route matching from router.sx (18 tests)
- test-render.sx: HTML adapter rendering (23 tests)
Runners auto-discover specs and test whatever bootstrapped code
is available. Usage: `run.js eval parser router` or just `run.js`.
Legacy mode (`--legacy`) still runs monolithic test.sx.
Router tests use bootstrapped functions (sx_ref.py / sx-browser.js)
because the hand-written evaluator's flat-dict env model doesn't
support set! mutation across lambda closure boundaries.
JS: 161/161. Python: 159/161 (2 parser escape bugs found).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 12:17:13 +00:00
..
2026-03-01 11:06:57 +00:00
2026-03-07 12:17:13 +00:00
2026-03-07 12:17:13 +00:00
2026-03-06 16:24:44 +00:00
2026-03-01 21:39:57 +00:00
2026-03-06 00:58:50 +00:00
2026-03-06 11:55:32 +00:00
2026-03-03 00:22:18 +00:00
2026-03-03 00:22:18 +00:00
2026-03-02 19:57:27 +00:00
2026-03-01 11:06:57 +00:00
2026-03-06 15:47:56 +00:00
2026-03-07 10:01:35 +00:00
2026-03-01 11:06:57 +00:00
2026-03-07 00:21:17 +00:00
2026-03-01 11:06:57 +00:00
2026-03-03 00:22:18 +00:00
2026-03-01 11:06:57 +00:00
2026-03-01 11:06:57 +00:00
2026-03-06 15:47:56 +00:00
2026-03-06 01:11:31 +00:00
2026-03-04 11:55:21 +00:00
2026-03-07 10:06:00 +00:00
2026-03-05 22:45:01 +00:00
2026-03-07 10:50:28 +00:00