Rewrite compile-modules.js to use the native OCaml sx_server binary instead of the js_of_ocaml kernel in Node.js. Compiles 23 modules in 23s (was 3+ minutes). Uses batch epoch protocol with latin1 encoding to preserve byte positions for multi-byte UTF-8 content. - Add compile-blob server command: parse source natively, compile via SX compile-module, return bytecode dict - Fix orchestration.sxbc.json and boot.sxbc.json — never compiled successfully with the old JS kernel, now work with native compiler - Auto-copy compiled bytecode to shared/static/wasm/sx/ for serving Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
6.3 KiB
6.3 KiB