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,3 +1,22 @@
|
||||
|
||||
|
||||
(define-library (web adapter-html)
|
||||
(export
|
||||
render-to-html
|
||||
render-value-to-html
|
||||
RENDER_HTML_FORMS
|
||||
render-html-form?
|
||||
render-list-to-html
|
||||
dispatch-html-form
|
||||
render-lambda-html
|
||||
render-html-component
|
||||
render-html-element
|
||||
render-html-lake
|
||||
render-html-marsh
|
||||
render-html-island
|
||||
serialize-island-state)
|
||||
(begin
|
||||
|
||||
(define
|
||||
render-to-html
|
||||
:effects (render)
|
||||
@@ -589,3 +608,9 @@
|
||||
(fn
|
||||
((kwargs :as dict))
|
||||
(if (empty-dict? kwargs) nil (sx-serialize kwargs))))
|
||||
|
||||
|
||||
)) ;; end define-library
|
||||
|
||||
;; Re-export to global namespace for backward compatibility
|
||||
(import (web adapter-html))
|
||||
|
||||
Reference in New Issue
Block a user