Parser: skip unit suffix when next ident is a comparison keyword (starts, ends, contains, matches, is, does, in, precedes, follows). Fixes "123 starts with '12'" returning "123starts" instead of true. eval-hs: use hs-compile directly instead of hs-to-sx-from-source with "return " prefix, which was causing the parser to consume the comparison as a string suffix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 lines
939 B
Plaintext
28 lines
939 B
Plaintext
(defcomp
|
|
()
|
|
(~docs/page
|
|
:title "Plans"
|
|
(div
|
|
(~tw :tokens "space-y-4")
|
|
(p
|
|
(~tw :tokens "text-lg text-stone-600 mb-4")
|
|
"Architecture roadmaps and implementation plans for SX.")
|
|
(div
|
|
(~tw :tokens "space-y-3")
|
|
(map
|
|
(fn
|
|
(item)
|
|
(a
|
|
:href (get item "href")
|
|
:sx-get (get item "href")
|
|
:sx-target "#sx-content"
|
|
:sx-select "#sx-content"
|
|
:sx-swap "outerHTML"
|
|
:sx-push-url "true"
|
|
(~tw :tokens "block rounded border border-stone-200 p-4 hover:border-violet-300 hover:bg-violet-50 transition-colors")
|
|
(div (~tw :tokens "font-semibold text-stone-800") (get item "label"))
|
|
(when
|
|
(get item "summary")
|
|
(p (~tw :tokens "text-sm text-stone-500 mt-1") (get item "summary")))))
|
|
plans-nav-items)))))
|