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:
2026-04-04 00:08:00 +00:00
parent ac772ac357
commit 7b4c918773
48 changed files with 8884 additions and 5899 deletions

View File

@@ -1,3 +1,28 @@
(define-library (web deps)
(export
scan-refs
scan-refs-walk
transitive-deps-walk
transitive-deps
compute-all-deps
scan-components-from-source
components-needed
page-component-bundle
page-css-classes
scan-io-refs-walk
scan-io-refs
transitive-io-refs-walk
transitive-io-refs
compute-all-io-refs
component-io-refs-cached
component-pure?
render-target
page-render-plan
env-components)
(begin
(define
scan-refs
:effects ()
@@ -335,3 +360,9 @@
((k :as string))
(let ((v (env-get env k))) (or (component? v) (macro? v))))
(keys env))))
)) ;; end define-library
;; Re-export to global namespace for backward compatibility
(import (web deps))