Replace Node.js compile-modules.js with direct Sx_compiler.compile_module calls in mcp_tree.ml. No subprocess, no JIT warm-up, no Node.js. 23 files compile in 1.9 seconds. Also includes rebuilt WASM kernel (iterative cek_run) and all 23 bytecode modules recompiled with native compiler. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"magic":"SXBC","version":1,"hash":"9085d84acf7aa708","module":{"bytecode":[51,1,0,128,0,0,5,51,3,0,128,2,0,5,51,5,0,128,4,0,5,51,7,0,128,6,0,5,51,9,0,128,8,0,5,51,11,0,128,10,0,5,51,13,0,128,12,0,5,51,15,0,128,14,0,5,51,17,0,128,16,0,5,51,19,0,128,18,0,5,51,21,0,128,20,0,5,51,23,0,128,22,0,5,51,25,0,128,24,0,5,51,27,0,128,26,0,5,51,29,0,128,28,0,5,1,31,0,128,30,0,5,52,33,0,0,128,32,0,5,51,35,0,128,34,0,5,51,37,0,128,36,0,5,51,39,0,128,38,0,5,51,41,0,128,40,0,5,51,43,0,128,42,0,5,51,45,0,128,44,0,50],"constants":[{"t":"s","v":"make-signal"},{"t":"code","v":{"bytecode":[1,1,0,3,1,2,0,20,2,0,1,3,0,52,4,0,0,1,5,0,52,4,0,0,52,0,0,8,50],"constants":[{"t":"s","v":"dict"},{"t":"s","v":"__signal"},{"t":"s","v":"value"},{"t":"s","v":"subscribers"},{"t":"s","v":"list"},{"t":"s","v":"deps"}]}},{"t":"s","v":"signal?"},{"t":"code","v":{"bytecode":[20,1,0,52,0,0,1,6,33,11,0,5,20,1,0,1,3,0,52,2,0,2,50],"constants":[{"t":"s","v":"dict?"},{"t":"s","v":"x"},{"t":"s","v":"has-key?"},{"t":"s","v":"__signal"}]}},{"t":"s","v":"signal-value"},{"t":"code","v":{"bytecode":[20,1,0,1,2,0,52,0,0,2,50],"constants":[{"t":"s","v":"get"},{"t":"s","v":"s"},{"t":"s","v":"value"}]}},{"t":"s","v":"signal-set-value!"},{"t":"code","v":{"bytecode":[20,1,0,1,2,0,20,3,0,52,0,0,3,50],"constants":[{"t":"s","v":"dict-set!"},{"t":"s","v":"s"},{"t":"s","v":"value"},{"t":"s","v":"v"}]}},{"t":"s","v":"signal-subscribers"},{"t":"code","v":{"bytecode":[20,1,0,1,2,0,52,0,0,2,50],"constants":[{"t":"s","v":"get"},{"t":"s","v":"s"},{"t":"s","v":"subscribers"}]}},{"t":"s","v":"signal-add-sub!"},{"t":"code","v":{"bytecode":[20,3,0,1,4,0,52,2,0,2,20,5,0,52,1,0,2,52,0,0,1,33,21,0,20,6,0,20,3,0,1,4,0,52,2,0,2,20,5,0,49,2,32,1,0,2,50],"constants":[{"t":"s","v":"not"},{"t":"s","v":"contains?"},{"t":"s","v":"get"},{"t":"s","v":"s"},{"t":"s","v":"subscribers"},{"t":"s","v":"f"},{"t":"s","v":"append!"}]}},{"t":"s","v":"signal-remove-sub!"},{"t":"code","v":{"bytecode":[20,1,0,1,2,0,52,0,0,2,17,2,20,3,0,20,4,0,20,5,0,49,2,50],"constants":[{"t":"s","v":"get"},{"t":"s","v":"s"},{"t":"s","v":"subscribers"},{"t":"s","v":"remove!"},{"t":"s","v":"subs"},{"t":"s","v":"f"}]}},{"t":"s","v":"signal-deps"},{"t":"code","v":{"bytecode":[20,1,0,1,2,0,52,0,0,2,50],"constants":[{"t":"s","v":"get"},{"t":"s","v":"s"},{"t":"s","v":"deps"}]}},{"t":"s","v":"signal-set-deps!"},{"t":"code","v":{"bytecode":[20,1,0,1,2,0,20,2,0,52,0,0,3,50],"constants":[{"t":"s","v":"dict-set!"},{"t":"s","v":"s"},{"t":"s","v":"deps"}]}},{"t":"s","v":"signal"},{"t":"code","v":{"bytecode":[20,0,0,20,1,0,49,1,50],"constants":[{"t":"s","v":"make-signal"},{"t":"s","v":"initial-value"}]}},{"t":"s","v":"deref"},{"t":"code","v":{"bytecode":[20,1,0,20,2,0,48,1,52,0,0,1,33,6,0,20,2,0,32,98,0,20,3,0,1,4,0,2,48,2,17,1,20,5,0,33,71,0,20,5,0,1,7,0,52,6,0,2,17,2,20,5,0,1,8,0,52,6,0,2,17,3,20,10,0,20,2,0,52,9,0,2,52,0,0,1,33,26,0,20,11,0,20,10,0,20,2,0,48,2,5,20,12,0,20,2,0,20,13,0,48,2,32,1,0,2,32,1,0,2,5,20,14,0,20,2,0,49,1,50],"constants":[{"t":"s","v":"not"},{"t":"s","v":"signal?"},{"t":"s","v":"s"},{"t":"s","v":"context"},{"t":"s","v":"sx-reactive"},{"t":"s","v":"ctx"},{"t":"s","v":"get"},{"t":"s","v":"deps"},{"t":"s","v":"notify"},{"t":"s","v":"contains?"},{"t":"s","v":"dep-list"},{"t":"s","v":"append!"},{"t":"s","v":"signal-add-sub!"},{"t":"s","v":"notify-fn"},{"t":"s","v":"signal-value"}]}},{"t":"s","v":"reset!"},{"t":"code","v":{"bytecode":[20,0,0,20,1,0,48,1,33,54,0,20,2,0,20,1,0,48,1,17,2,20,5,0,20,6,0,52,4,0,2,52,3,0,1,33,23,0,20,7,0,20,1,0,20,6,0,48,2,5,20,8,0,20,1,0,49,1,32,1,0,2,32,1,0,2,50],"constants":[{"t":"s","v":"signal?"},{"t":"s","v":"s"},{"t":"s","v":"signal-value"},{"t":"s","v":"not"},{"t":"s","v":"identical?"},{"t":"s","v":"old"},{"t":"s","v":"value"},{"t":"s","v":"signal-set-value!"},{"t":"s","v":"notify-subscribers"}]}},{"t":"s","v":"swap!"},{"t":"code","v":{"bytecode":[20,0,0,20,1,0,48,1,33,78,0,20,2,0,20,1,0,48,1,17,3,20,3,0,20,5,0,20,7,0,20,8,0,52,6,0,2,52,4,0,2,48,1,17,4,20,7,0,20,11,0,52,10,0,2,52,9,0,1,33,23,0,20,12,0,20,1,0,20,11,0,48,2,5,20,13,0,20,1,0,49,1,32,1,0,2,32,1,0,2,50],"constants":[{"t":"s","v":"signal?"},{"t":"s","v":"s"},{"t":"s","v":"signal-value"},{"t":"s","v":"trampoline"},{"t":"s","v":"apply"},{"t":"s","v":"f"},{"t":"s","v":"cons"},{"t":"s","v":"old"},{"t":"s","v":"args"},{"t":"s","v":"not"},{"t":"s","v":"identical?"},{"t":"s","v":"new-val"},{"t":"s","v":"signal-set-value!"},{"t":"s","v":"notify-subscribers"}]}},{"t":"s","v":"computed"},{"t":"code","v":{"bytecode":[20,0,0,2,48,1,17,1,52,1,0,0,17,2,2,17,3,51,2,0,17,4,20,3,0,48,0,5,20,4,0,51,5,0,48,1,5,20,6,0,50],"constants":[{"t":"s","v":"make-signal"},{"t":"s","v":"list"},{"t":"code","v":{"bytecode":[51,1,0,20,2,0,20,3,0,48,1,52,0,0,2,5,20,4,0,20,3,0,52,5,0,0,48,2,5,1,7,0,52,5,0,0,1,8,0,20,9,0,52,6,0,4,17,0,20,10,0,1,11,0,20,12,0,48,2,5,20,13,0,48,0,17,1,20,14,0,1,11,0,48,1,5,20,4,0,20,3,0,20,12,0,1,7,0,52,15,0,2,48,2,5,20,16,0,20,3,0,48,1,17,2,20,17,0,20,3,0,20,18,0,48,2,5,20,21,0,20,18,0,52,20,0,2,52,19,0,1,33,11,0,20,22,0,20,3,0,49,1,32,1,0,2,50],"constants":[{"t":"s","v":"for-each"},{"t":"code","v":{"bytecode":[20,0,0,20,1,0,20,2,0,49,2,50],"constants":[{"t":"s","v":"signal-remove-sub!"},{"t":"s","v":"dep"},{"t":"s","v":"recompute"}]}},{"t":"s","v":"signal-deps"},{"t":"s","v":"s"},{"t":"s","v":"signal-set-deps!"},{"t":"s","v":"list"},{"t":"s","v":"dict"},{"t":"s","v":"deps"},{"t":"s","v":"notify"},{"t":"s","v":"recompute"},{"t":"s","v":"scope-push!"},{"t":"s","v":"sx-reactive"},{"t":"s","v":"ctx"},{"t":"s","v":"compute-fn"},{"t":"s","v":"scope-pop!"},{"t":"s","v":"get"},{"t":"s","v":"signal-value"},{"t":"s","v":"signal-set-value!"},{"t":"s","v":"new-val"},{"t":"s","v":"not"},{"t":"s","v":"identical?"},{"t":"s","v":"old"},{"t":"s","v":"notify-subscribers"}]}},{"t":"s","v":"recompute"},{"t":"s","v":"register-in-scope"},{"t":"code","v":{"bytecode":[20,0,0,20,1,0,49,1,50],"constants":[{"t":"s","v":"dispose-computed"},{"t":"s","v":"s"}]}},{"t":"s","v":"s"}]}},{"t":"s","v":"effect"},{"t":"code","v":{"bytecode":[52,0,0,0,17,1,4,17,2,2,17,3,51,1,0,17,4,20,2,0,48,0,5,51,3,0,17,5,20,4,0,20,5,0,48,1,5,20,5,0,50],"constants":[{"t":"s","v":"list"},{"t":"code","v":{"bytecode":[20,1,0,52,0,0,1,33,120,0,20,2,0,33,8,0,20,2,0,48,0,32,1,0,2,5,51,4,0,20,5,0,52,3,0,2,5,52,6,0,0,21,5,0,5,1,5,0,52,6,0,0,1,8,0,20,9,0,52,7,0,4,17,0,20,10,0,1,11,0,20,12,0,48,2,5,20,13,0,48,0,17,1,20,14,0,1,11,0,48,1,5,20,12,0,1,5,0,52,15,0,2,21,5,0,5,20,16,0,20,17,0,48,1,33,9,0,20,17,0,21,2,0,32,1,0,2,32,1,0,2,50],"constants":[{"t":"s","v":"not"},{"t":"s","v":"disposed"},{"t":"s","v":"cleanup-fn"},{"t":"s","v":"for-each"},{"t":"code","v":{"bytecode":[20,0,0,20,1,0,20,2,0,49,2,50],"constants":[{"t":"s","v":"signal-remove-sub!"},{"t":"s","v":"dep"},{"t":"s","v":"run-effect"}]}},{"t":"s","v":"deps"},{"t":"s","v":"list"},{"t":"s","v":"dict"},{"t":"s","v":"notify"},{"t":"s","v":"run-effect"},{"t":"s","v":"scope-push!"},{"t":"s","v":"sx-reactive"},{"t":"s","v":"ctx"},{"t":"s","v":"effect-fn"},{"t":"s","v":"scope-pop!"},{"t":"s","v":"get"},{"t":"s","v":"callable?"},{"t":"s","v":"result"}]}},{"t":"s","v":"run-effect"},{"t":"code","v":{"bytecode":[3,21,0,0,5,20,1,0,33,8,0,20,1,0,48,0,32,1,0,2,5,51,3,0,20,4,0,52,2,0,2,5,52,5,0,0,21,4,0,50],"constants":[{"t":"s","v":"disposed"},{"t":"s","v":"cleanup-fn"},{"t":"s","v":"for-each"},{"t":"code","v":{"bytecode":[20,0,0,20,1,0,20,2,0,49,2,50],"constants":[{"t":"s","v":"signal-remove-sub!"},{"t":"s","v":"dep"},{"t":"s","v":"run-effect"}]}},{"t":"s","v":"deps"},{"t":"s","v":"list"}]}},{"t":"s","v":"register-in-scope"},{"t":"s","v":"dispose-fn"}]}},{"t":"s","v":"*batch-depth*"},{"t":"n","v":0},{"t":"s","v":"*batch-queue*"},{"t":"s","v":"list"},{"t":"s","v":"batch"},{"t":"code","v":{"bytecode":[20,1,0,1,2,0,52,0,0,2,21,1,0,5,20,3,0,48,0,5,20,1,0,1,2,0,52,4,0,2,21,1,0,5,20,1,0,1,6,0,52,5,0,2,33,49,0,20,7,0,17,1,52,8,0,0,21,7,0,5,52,8,0,0,17,2,52,8,0,0,17,3,51,10,0,20,11,0,52,9,0,2,5,51,12,0,20,13,0,52,9,0,2,32,1,0,2,50],"constants":[{"t":"s","v":"+"},{"t":"s","v":"*batch-depth*"},{"t":"n","v":1},{"t":"s","v":"thunk"},{"t":"s","v":"-"},{"t":"s","v":"="},{"t":"n","v":0},{"t":"s","v":"*batch-queue*"},{"t":"s","v":"list"},{"t":"s","v":"for-each"},{"t":"code","v":{"bytecode":[51,1,0,20,2,0,20,3,0,48,1,52,0,0,2,50],"constants":[{"t":"s","v":"for-each"},{"t":"code","v":{"bytecode":[20,2,0,20,3,0,52,1,0,2,52,0,0,1,33,26,0,20,4,0,20,2,0,20,3,0,48,2,5,20,4,0,20,5,0,20,3,0,49,2,32,1,0,2,50],"constants":[{"t":"s","v":"not"},{"t":"s","v":"contains?"},{"t":"s","v":"seen"},{"t":"s","v":"sub"},{"t":"s","v":"append!"},{"t":"s","v":"pending"}]}},{"t":"s","v":"signal-subscribers"},{"t":"s","v":"s"}]}},{"t":"s","v":"queue"},{"t":"code","v":{"bytecode":[20,0,0,49,0,50],"constants":[{"t":"s","v":"sub"}]}},{"t":"s","v":"pending"}]}},{"t":"s","v":"notify-subscribers"},{"t":"code","v":{"bytecode":[20,1,0,1,2,0,52,0,0,2,33,35,0,20,5,0,20,6,0,52,4,0,2,52,3,0,1,33,14,0,20,7,0,20,5,0,20,6,0,49,2,32,1,0,2,32,8,0,20,8,0,20,6,0,49,1,50],"constants":[{"t":"s","v":">"},{"t":"s","v":"*batch-depth*"},{"t":"n","v":0},{"t":"s","v":"not"},{"t":"s","v":"contains?"},{"t":"s","v":"*batch-queue*"},{"t":"s","v":"s"},{"t":"s","v":"append!"},{"t":"s","v":"flush-subscribers"}]}},{"t":"s","v":"flush-subscribers"},{"t":"code","v":{"bytecode":[51,1,0,20,2,0,20,3,0,48,1,52,0,0,2,50],"constants":[{"t":"s","v":"for-each"},{"t":"code","v":{"bytecode":[20,0,0,49,0,50],"constants":[{"t":"s","v":"sub"}]}},{"t":"s","v":"signal-subscribers"},{"t":"s","v":"s"}]}},{"t":"s","v":"dispose-computed"},{"t":"code","v":{"bytecode":[20,0,0,20,1,0,48,1,33,31,0,51,3,0,20,4,0,20,1,0,48,1,52,2,0,2,5,20,5,0,20,1,0,52,6,0,0,49,2,32,1,0,2,50],"constants":[{"t":"s","v":"signal?"},{"t":"s","v":"s"},{"t":"s","v":"for-each"},{"t":"code","v":{"bytecode":[20,0,0,20,1,0,2,49,2,50],"constants":[{"t":"s","v":"signal-remove-sub!"},{"t":"s","v":"dep"}]}},{"t":"s","v":"signal-deps"},{"t":"s","v":"signal-set-deps!"},{"t":"s","v":"list"}]}},{"t":"s","v":"with-island-scope"},{"t":"code","v":{"bytecode":[20,0,0,1,1,0,20,2,0,48,2,5,20,3,0,48,0,17,2,20,4,0,1,1,0,48,1,5,20,5,0,50],"constants":[{"t":"s","v":"scope-push!"},{"t":"s","v":"sx-island-scope"},{"t":"s","v":"scope-fn"},{"t":"s","v":"body-fn"},{"t":"s","v":"scope-pop!"},{"t":"s","v":"result"}]}},{"t":"s","v":"register-in-scope"},{"t":"code","v":{"bytecode":[20,0,0,1,1,0,48,1,17,1,20,2,0,33,18,0,20,3,0,20,2,0,20,5,0,52,4,0,1,49,2,32,1,0,2,50],"constants":[{"t":"s","v":"scope-peek"},{"t":"s","v":"sx-island-scope"},{"t":"s","v":"collector"},{"t":"s","v":"cek-call"},{"t":"s","v":"list"},{"t":"s","v":"disposable"}]}}]}} |