Recompile all 26 .sxbc with define-library wrappers + fix eval/JIT
All 26 browser modules recompiled with define-library/import forms. Compilation works without vm-compile-adapter (JIT pre-compilation hangs with library wrappers in some JIT paths — skipped for now, CEK compilation is ~34s total). Key fixes: - eval command: import-aware loop that handles define-library/import locally without touching the Python bridge pipe (avoids deadlock) - compile-modules.js: skip vm-compile-adapter, bump timeout 2621/2621 OCaml tests passing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,24 @@
|
||||
;; Registry of all valid HTML tag names
|
||||
|
||||
(define-library (sx render)
|
||||
(export
|
||||
HTML_TAGS
|
||||
VOID_ELEMENTS
|
||||
BOOLEAN_ATTRS
|
||||
*definition-form-extensions*
|
||||
definition-form?
|
||||
parse-element-args
|
||||
render-attrs
|
||||
eval-cond
|
||||
eval-cond-scheme
|
||||
eval-cond-clojure
|
||||
process-bindings
|
||||
is-render-expr?
|
||||
merge-spread-attrs
|
||||
escape-html
|
||||
escape-attr)
|
||||
(begin
|
||||
|
||||
(define
|
||||
HTML_TAGS
|
||||
(list
|
||||
@@ -413,3 +433,9 @@
|
||||
|
||||
;; Escape special chars for HTML attribute values
|
||||
(define escape-attr (fn (s) (escape-html s)))
|
||||
|
||||
|
||||
)) ;; end define-library
|
||||
|
||||
;; Re-export to global namespace for backward compatibility
|
||||
(import (sx render))
|
||||
|
||||
Reference in New Issue
Block a user