sx-tools: WASM kernel updates, TW/CSSX rework, content refresh, new debugging tools

Build tooling: updated OCaml bootstrapper, compile-modules, bundle.sh, sx-build-all.
WASM browser: rebuilt sx_browser.bc.js/wasm, sx-platform-2.js, .sxbc bytecode files.
CSSX/Tailwind: reworked cssx.sx templates and tw-layout, added tw-type support.
Content: refreshed essays, plans, geography, reactive islands, docs, demos, handlers.
New tools: bisect_sxbc.sh, test-spa.js, render-trace.sx, morph playwright spec.
Tests: added test-match.sx, test-examples.sx, updated test-tw.sx and web tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-02 11:31:57 +00:00
parent 9ed1100ef6
commit d40a9c6796
178 changed files with 13591 additions and 9110 deletions

View File

@@ -2,12 +2,12 @@
~not-found/content
(&key (path :as string?))
(div
:class "max-w-3xl mx-auto px-4 py-12 text-center"
(~tw :tokens "max-w-3xl mx-auto px-4 py-12 text-center")
(h1 :style (tw "text-stone-800 text-3xl font-bold") "404")
(p :class "mt-4" :style (tw "text-stone-500 text-lg") "Page not found")
(p (~tw :tokens "mt-4") :style (tw "text-stone-500 text-lg") "Page not found")
(when
path
(p :class "mt-2" :style (tw "text-stone-400 text-sm font-mono") path))
(p (~tw :tokens "mt-2") :style (tw "text-stone-400 text-sm font-mono") path))
(a
:href "/sx/"
:sx-get "/sx/"
@@ -15,6 +15,6 @@
:sx-select "#sx-content"
:sx-swap "outerHTML"
:sx-push-url "true"
:class "inline-block mt-6 px-4 py-2 rounded border transition-colors"
(~tw :tokens "inline-block mt-6 px-4 py-2 rounded border transition-colors")
:style (tw "text-violet-700 text-sm border-violet-200")
"Back to home")))