Add CEK Machine section under Geography with live island demos
geography/cek.sx: overview page (three registers, deref-as-shift explanation) + demo page with 5 live islands (counter, computed chain, reactive attrs, stopwatch effect+cleanup, batch coalescing). Nav entry, router routes, defpage definitions. CEK exports (cekRun, makeCekState, makeReactiveResetFrame, evalExpr) added to Sx public API via platform_js.py. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -650,6 +650,25 @@
|
||||
:layout :sx-docs
|
||||
:content (~layouts/doc :path "/sx/(geography.(marshes))" (~reactive-islands/marshes/reactive-islands-marshes-content)))
|
||||
|
||||
;; ---------------------------------------------------------------------------
|
||||
;; CEK Machine section (under Geography)
|
||||
;; ---------------------------------------------------------------------------
|
||||
|
||||
(defpage cek-index
|
||||
:path "/geography/cek/"
|
||||
:auth :public
|
||||
:layout :sx-docs
|
||||
:content (~layouts/doc :path "/sx/(geography.(cek))" (~geography/cek/cek-content)))
|
||||
|
||||
(defpage cek-page
|
||||
:path "/geography/cek/<slug>"
|
||||
:auth :public
|
||||
:layout :sx-docs
|
||||
:content (~layouts/doc :path (str "/sx/(geography.(cek." slug "))")
|
||||
(case slug
|
||||
"demo" (~geography/cek/cek-demo-content)
|
||||
:else (~geography/cek/cek-content))))
|
||||
|
||||
;; ---------------------------------------------------------------------------
|
||||
;; Bootstrapped page helpers demo
|
||||
;; ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user