kernel+bundle: fix nil-bytecode .sxbc (compile-blob serializer dropped Integer)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 46s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 46s
Every .sxbc shipped with `:bytecode (nil nil ...)` and `:arity nil`, so the WASM
kernel's vm.sx hit "VM: unknown opcode 0" on every module and fell back to .sx
source (slower, noisy console). Root cause: `raw_serialize` in the `compile-blob`
command (sx_server.ml) handles `Number` but not `Integer`, and bytecode opcodes +
arity/upvalue-count are `Integer`s — so they fell through to the `_ -> "nil"`
catch-all and serialized as nil. Same class of bug as the value_to_js Integer gap
(689dae7d). It went unnoticed because source-fallback masks it. Add the Integer
case and regenerate: the web stack now loads entirely from bytecode (0 unknown-
opcode warnings, 0 source fallbacks), boost + SPA unchanged. compiler.sx in the
bundle was also stale — re-synced to the canonical lib/compiler.sx.
Verified: native host conformance 271/271; chromium boots with 0 unknown-opcode
warnings + 0 source-fallback loads; spa-check still passes (boost 6/6, fragment
swap). Prereq for content-addressing the assets (caching real bytecode, not nil).
This commit is contained in:
@@ -1790,6 +1790,10 @@ let rec dispatch env cmd =
|
|||||||
| Nil -> "nil"
|
| Nil -> "nil"
|
||||||
| Bool true -> "true" | Bool false -> "false"
|
| Bool true -> "true" | Bool false -> "false"
|
||||||
| Number n -> Sx_types.format_number n
|
| Number n -> Sx_types.format_number n
|
||||||
|
(* Bytecode opcodes + arity/upvalue-count are Integers; without this case
|
||||||
|
they hit the `_ -> "nil"` fallthrough, so every .sxbc came out as
|
||||||
|
`:bytecode (nil nil ...)` -> "VM: unknown opcode 0" -> source fallback. *)
|
||||||
|
| Integer n -> string_of_int n
|
||||||
| String s -> "\"" ^ escape_sx_string s ^ "\""
|
| String s -> "\"" ^ escape_sx_string s ^ "\""
|
||||||
| Symbol s -> s | Keyword k -> ":" ^ k
|
| Symbol s -> s | Keyword k -> ":" ^ k
|
||||||
| List items | ListRef { contents = items } -> "(" ^ String.concat " " (List.map raw_serialize items) ^ ")"
|
| List items | ListRef { contents = items } -> "(" ^ String.concat " " (List.map raw_serialize items) ^ ")"
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -783,11 +783,7 @@
|
|||||||
(rest-clauses
|
(rest-clauses
|
||||||
(if (> (len flat-args) 2) (slice flat-args 2) (list))))
|
(if (> (len flat-args) 2) (slice flat-args 2) (list))))
|
||||||
(if
|
(if
|
||||||
(or
|
(or (and (= (type-of test) "keyword") (= (keyword-name test) "else")) (and (= (type-of test) "symbol") (or (= (symbol-name test) "else") (= (symbol-name test) ":else"))) (= test true))
|
||||||
(and
|
|
||||||
(= (type-of test) "keyword")
|
|
||||||
(= (keyword-name test) "else"))
|
|
||||||
(= test true))
|
|
||||||
(compile-expr em body scope tail?)
|
(compile-expr em body scope tail?)
|
||||||
(do
|
(do
|
||||||
(compile-expr em test scope false)
|
(compile-expr em test scope false)
|
||||||
@@ -828,11 +824,7 @@
|
|||||||
(rest-clauses
|
(rest-clauses
|
||||||
(if (> (len clauses) 2) (slice clauses 2) (list))))
|
(if (> (len clauses) 2) (slice clauses 2) (list))))
|
||||||
(if
|
(if
|
||||||
(or
|
(or (and (= (type-of test) "keyword") (= (keyword-name test) "else")) (and (= (type-of test) "symbol") (or (= (symbol-name test) "else") (= (symbol-name test) ":else"))) (= test true))
|
||||||
(and
|
|
||||||
(= (type-of test) "keyword")
|
|
||||||
(= (keyword-name test) "else"))
|
|
||||||
(= test true))
|
|
||||||
(do (emit-op em 5) (compile-expr em body scope tail?))
|
(do (emit-op em 5) (compile-expr em body scope tail?))
|
||||||
(do
|
(do
|
||||||
(emit-op em 6)
|
(emit-op em 6)
|
||||||
@@ -1008,11 +1000,27 @@
|
|||||||
(let
|
(let
|
||||||
((name (symbol-name head))
|
((name (symbol-name head))
|
||||||
(argc (len args))
|
(argc (len args))
|
||||||
(name-idx (pool-add (get em "pool") name)))
|
(specialized-op (cond
|
||||||
|
(and (= argc 2) (= name "+")) 160
|
||||||
|
(and (= argc 2) (= name "-")) 161
|
||||||
|
(and (= argc 2) (= name "*")) 162
|
||||||
|
(and (= argc 2) (= name "/")) 163
|
||||||
|
(and (= argc 2) (= name "=")) 164
|
||||||
|
(and (= argc 2) (= name "<")) 165
|
||||||
|
(and (= argc 2) (= name ">")) 166
|
||||||
|
(and (= argc 2) (= name "cons")) 172
|
||||||
|
(and (= argc 1) (= name "not")) 167
|
||||||
|
(and (= argc 1) (= name "len")) 168
|
||||||
|
(and (= argc 1) (= name "first")) 169
|
||||||
|
(and (= argc 1) (= name "rest")) 170
|
||||||
|
:else nil)))
|
||||||
(for-each (fn (a) (compile-expr em a scope false)) args)
|
(for-each (fn (a) (compile-expr em a scope false)) args)
|
||||||
(emit-op em 52)
|
(if specialized-op
|
||||||
(emit-u16 em name-idx)
|
(emit-op em specialized-op)
|
||||||
(emit-byte em argc))
|
(let ((name-idx (pool-add (get em "pool") name)))
|
||||||
|
(emit-op em 52)
|
||||||
|
(emit-u16 em name-idx)
|
||||||
|
(emit-byte em argc))))
|
||||||
(do
|
(do
|
||||||
(compile-expr em head scope false)
|
(compile-expr em head scope false)
|
||||||
(for-each (fn (a) (compile-expr em a scope false)) args)
|
(for-each (fn (a) (compile-expr em a scope false)) args)
|
||||||
@@ -1156,11 +1164,7 @@
|
|||||||
(test (first clause))
|
(test (first clause))
|
||||||
(body (rest clause)))
|
(body (rest clause)))
|
||||||
(if
|
(if
|
||||||
(or
|
(or (and (= (type-of test) "keyword") (= (keyword-name test) "else")) (and (= (type-of test) "symbol") (or (= (symbol-name test) "else") (= (symbol-name test) ":else"))) (= test true))
|
||||||
(and
|
|
||||||
(= (type-of test) "keyword")
|
|
||||||
(= (keyword-name test) "else"))
|
|
||||||
(= test true))
|
|
||||||
(compile-begin em body scope tail?)
|
(compile-begin em body scope tail?)
|
||||||
(do
|
(do
|
||||||
(compile-expr em test scope false)
|
(compile-expr em test scope false)
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
|||||||
(sxbc 1 "050ab6181dc93341"
|
(sxbc 1 "050ab6181dc93341"
|
||||||
(code
|
(code
|
||||||
:constants ("freeze-registry" "dict" "freeze-signal" {:upvalue-count nil :arity nil :constants ("sx-freeze-scope" "context" "get" "freeze-registry" "list" "append!" "dict" "name" "signal" "dict-set!") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "freeze-scope" {:upvalue-count nil :arity nil :constants ("scope-push!" "sx-freeze-scope" "dict-set!" "freeze-registry" "list" "cek-call" "scope-pop!") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "cek-freeze-scope" {:upvalue-count nil :arity nil :constants ("get" "freeze-registry" "list" "dict" "for-each" {:upvalue-count nil :arity nil :constants ("dict-set!" "get" "name" "signal-value" "signal") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "name" "signals") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "cek-freeze-all" {:upvalue-count nil :arity nil :constants ("map" {:upvalue-count nil :arity nil :constants ("cek-freeze-scope") :bytecode (nil nil nil nil nil nil nil nil)} "keys" "freeze-registry") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "cek-thaw-scope" {:upvalue-count nil :arity nil :constants ("get" "freeze-registry" "list" "signals" "for-each" {:upvalue-count nil :arity nil :constants ("get" "name" "signal" "not" "nil?" "reset!") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)}) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "cek-thaw-all" {:upvalue-count nil :arity nil :constants ("for-each" {:upvalue-count nil :arity nil :constants ("cek-thaw-scope" "get" "name") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)}) :bytecode (nil nil nil nil nil nil nil nil nil nil)} "freeze-to-sx" {:upvalue-count nil :arity nil :constants ("sx-serialize" "cek-freeze-scope") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil)} "thaw-from-sx" {:upvalue-count nil :arity nil :constants ("sx-parse" "not" "empty?" "first" "cek-thaw-scope" "get" "name") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} {:library (sx freeze) :op "import"}) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)))
|
:constants ("freeze-registry" "dict" "freeze-signal" {:upvalue-count 0 :arity 2 :constants ("sx-freeze-scope" "context" "freeze-registry" "get" "list" "name" "signal" "dict" "append!" "dict-set!") :bytecode (1 0 0 2 52 1 0 2 17 2 16 2 33 55 0 20 2 0 16 2 52 3 0 2 6 34 5 0 5 52 4 0 0 17 3 16 3 1 5 0 16 0 1 6 0 16 1 52 7 0 4 52 8 0 2 5 20 2 0 16 2 16 3 52 9 0 3 32 1 0 2 50)} "freeze-scope" {:upvalue-count 0 :arity 2 :constants ("sx-freeze-scope" "scope-push!" "freeze-registry" "list" "dict-set!" "cek-call" "scope-pop!") :bytecode (1 0 0 16 0 52 1 0 2 5 20 2 0 16 0 52 3 0 0 52 4 0 3 5 16 1 2 52 5 0 2 5 1 0 0 52 6 0 1 5 2 50)} "cek-freeze-scope" {:upvalue-count 0 :arity 1 :constants ("freeze-registry" "get" "list" "dict" {:upvalue-count 1 :arity 1 :constants ("name" "get" "signal-value" "signal" "dict-set!") :bytecode (18 0 16 0 1 0 0 52 1 0 2 20 2 0 16 0 1 3 0 52 1 0 2 48 1 52 4 0 3 50)} "for-each" "name" "signals") :bytecode (20 0 0 16 0 52 1 0 2 6 34 5 0 5 52 2 0 0 17 1 52 3 0 0 17 2 51 4 0 1 2 16 1 52 5 0 2 5 1 6 0 16 0 1 7 0 16 2 52 3 0 4 50)} "cek-freeze-all" {:upvalue-count 0 :arity 0 :constants ({:upvalue-count 0 :arity 1 :constants ("cek-freeze-scope") :bytecode (20 0 0 16 0 49 1 50)} "freeze-registry" "keys" "map") :bytecode (51 0 0 20 1 0 52 2 0 1 52 3 0 2 50)} "cek-thaw-scope" {:upvalue-count 0 :arity 2 :constants ("freeze-registry" "get" "list" "signals" {:upvalue-count 1 :arity 1 :constants ("name" "get" "signal" "nil?" "reset!") :bytecode (16 0 1 0 0 52 1 0 2 17 1 16 0 1 2 0 52 1 0 2 17 2 18 0 16 1 52 1 0 2 17 3 16 3 52 3 0 1 167 33 12 0 20 4 0 16 2 16 3 49 2 32 1 0 2 50)} "for-each") :bytecode (20 0 0 16 0 52 1 0 2 6 34 5 0 5 52 2 0 0 17 2 16 1 1 3 0 52 1 0 2 17 3 16 3 33 14 0 51 4 0 1 3 16 2 52 5 0 2 32 1 0 2 50)} "cek-thaw-all" {:upvalue-count 0 :arity 1 :constants ({:upvalue-count 0 :arity 1 :constants ("cek-thaw-scope" "name" "get") :bytecode (20 0 0 16 0 1 1 0 52 2 0 2 16 0 49 2 50)} "for-each") :bytecode (51 0 0 16 0 52 1 0 2 50)} "freeze-to-sx" {:upvalue-count 0 :arity 1 :constants ("cek-freeze-scope" "sx-serialize") :bytecode (20 0 0 16 0 48 1 52 1 0 1 50)} "thaw-from-sx" {:upvalue-count 0 :arity 1 :constants ("sx-parse" "empty?" "cek-thaw-scope" "name" "get") :bytecode (20 0 0 16 0 48 1 17 1 16 1 52 1 0 1 167 33 24 0 16 1 169 17 2 20 2 0 16 2 1 3 0 52 4 0 2 16 2 49 2 32 1 0 2 50)} {:library (sx freeze) :op "import"}) :bytecode (52 1 0 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 1 18 0 112 50)))
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
(sxbc 1 "0bc2cc2f659d5a90"
|
(sxbc 1 "0bc2cc2f659d5a90"
|
||||||
(code
|
(code
|
||||||
:constants ("assert-signal-value" {:upvalue-count nil :arity nil :constants ("deref" "assert=" "str" "Expected signal value " ", got ") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "assert-signal-has-subscribers" {:upvalue-count nil :arity nil :constants ("assert" ">" "len" "signal-subscribers" nil "Expected signal to have subscribers") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "assert-signal-no-subscribers" {:upvalue-count nil :arity nil :constants ("assert" "=" "len" "signal-subscribers" nil "Expected signal to have no subscribers") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "assert-signal-subscriber-count" {:upvalue-count nil :arity nil :constants ("len" "signal-subscribers" "assert=" "str" "Expected " " subscribers, got ") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "simulate-signal-set!" {:upvalue-count nil :arity nil :constants ("reset!") :bytecode (nil nil nil nil nil nil nil nil nil nil)} "simulate-signal-swap!" {:upvalue-count nil :arity nil :constants ("swap!") :bytecode (nil nil nil nil nil nil nil nil nil nil)} "assert-computed-dep-count" {:upvalue-count nil :arity nil :constants ("len" "signal-deps" "assert=" "str" "Expected " " deps, got ") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "assert-computed-depends-on" {:upvalue-count nil :arity nil :constants ("assert" "contains?" "signal-deps" "Expected computed to depend on the given signal") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "count-effect-runs" {:upvalue-count nil :arity nil :constants ("signal" nil "effect" {:upvalue-count nil :arity nil :constants ("deref") :bytecode (nil nil nil nil nil nil nil)} {:upvalue-count nil :arity nil :constants ("+" nil "cek-call") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)}) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "make-test-signal" {:upvalue-count nil :arity nil :constants ("signal" "list" "effect" {:upvalue-count nil :arity nil :constants ("append!" "deref") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil)} "history") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "assert-batch-coalesces" {:upvalue-count nil :arity nil :constants (nil "signal" "effect" {:upvalue-count nil :arity nil :constants ("deref" "+" nil) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "batch" "assert=" "str" "Expected " " notifications, got ") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} {:library (sx harness-reactive) :op "import"}) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)))
|
:constants ("assert-signal-value" {:upvalue-count 0 :arity 2 :constants ("deref" "assert=" "Expected signal value " ", got " "str") :bytecode (16 0 52 0 0 1 17 2 20 1 0 16 2 16 1 1 2 0 16 1 1 3 0 16 2 52 4 0 4 49 3 50)} "assert-signal-has-subscribers" {:upvalue-count 0 :arity 1 :constants ("assert" "signal-subscribers" 0 "Expected signal to have subscribers") :bytecode (20 0 0 20 1 0 16 0 48 1 168 1 2 0 166 1 3 0 49 2 50)} "assert-signal-no-subscribers" {:upvalue-count 0 :arity 1 :constants ("assert" "signal-subscribers" 0 "Expected signal to have no subscribers") :bytecode (20 0 0 20 1 0 16 0 48 1 168 1 2 0 164 1 3 0 49 2 50)} "assert-signal-subscriber-count" {:upvalue-count 0 :arity 2 :constants ("signal-subscribers" "assert=" "Expected " " subscribers, got " "str") :bytecode (20 0 0 16 0 48 1 168 17 2 20 1 0 16 2 16 1 1 2 0 16 1 1 3 0 16 2 52 4 0 4 49 3 50)} "simulate-signal-set!" {:upvalue-count 0 :arity 2 :constants ("reset!") :bytecode (20 0 0 16 0 16 1 49 2 50)} "simulate-signal-swap!" {:upvalue-count 0 :arity 2 :constants ("swap!") :bytecode (20 0 0 16 0 16 1 49 2 50)} "assert-computed-dep-count" {:upvalue-count 0 :arity 2 :constants ("signal-deps" "assert=" "Expected " " deps, got " "str") :bytecode (20 0 0 16 0 48 1 168 17 2 20 1 0 16 2 16 1 1 2 0 16 1 1 3 0 16 2 52 4 0 4 49 3 50)} "assert-computed-depends-on" {:upvalue-count 0 :arity 2 :constants ("assert" "signal-deps" "contains?" "Expected computed to depend on the given signal") :bytecode (20 0 0 20 1 0 16 0 48 1 16 1 52 2 0 2 1 3 0 49 2 50)} "count-effect-runs" {:upvalue-count 0 :arity 1 :constants ("signal" 0 "effect" {:upvalue-count 1 :arity 0 :constants ("deref") :bytecode (18 0 52 0 0 1 50)} {:upvalue-count 2 :arity 0 :constants (1 "cek-call") :bytecode (18 0 1 0 0 160 19 0 5 18 1 2 52 1 0 2 50)}) :bytecode (20 0 0 1 1 0 48 1 17 1 20 2 0 51 3 0 1 1 48 1 5 1 1 0 17 2 20 2 0 51 4 0 1 2 1 0 48 1 17 3 16 2 50)} "make-test-signal" {:upvalue-count 0 :arity 1 :constants ("signal" "list" "effect" {:upvalue-count 2 :arity 0 :constants ("deref" "append!") :bytecode (18 0 18 1 52 0 0 1 52 1 0 2 50)} "history") :bytecode (20 0 0 16 0 48 1 17 1 52 1 0 0 17 2 20 2 0 51 3 0 1 2 1 1 48 1 5 1 0 0 16 1 1 4 0 16 2 65 2 0 50)} "assert-batch-coalesces" {:upvalue-count 0 :arity 2 :constants (0 "signal" "effect" {:upvalue-count 2 :arity 0 :constants ("deref" 1) :bytecode (18 0 52 0 0 1 5 18 1 1 1 0 160 19 1 50)} "batch" "assert=" "Expected " " notifications, got " "str") :bytecode (1 0 0 17 2 20 1 0 1 0 0 48 1 17 3 20 2 0 51 3 0 1 3 1 2 48 1 5 1 0 0 17 2 5 20 4 0 16 0 48 1 5 20 5 0 16 2 16 1 1 6 0 16 1 1 7 0 16 2 52 8 0 4 49 3 50)} {:library (sx harness-reactive) :op "import"}) :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 1 22 0 112 50)))
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
|||||||
(sxbc 1 "b07521593ca7ed98"
|
(sxbc 1 "b07521593ca7ed98"
|
||||||
(code
|
(code
|
||||||
:constants ("hs-prolog-hook" "hs-set-prolog-hook!" {:upvalue-count nil :arity nil :constants ("hs-prolog-hook") :bytecode (nil nil nil nil nil nil)} "prolog" {:upvalue-count nil :arity nil :constants ("nil?" "hs-prolog-hook" "prolog hook not installed") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)}) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)))
|
:constants ("hs-prolog-hook" "hs-set-prolog-hook!" {:upvalue-count 0 :arity 1 :constants ("hs-prolog-hook") :bytecode (16 0 21 0 0 50)} "prolog" {:upvalue-count 0 :arity 2 :constants ("hs-prolog-hook" "nil?" "prolog hook not installed") :bytecode (20 0 0 52 1 0 1 33 7 0 1 2 0 37 32 9 0 20 0 0 16 0 16 1 49 2 50)}) :bytecode (2 128 0 0 5 51 2 0 128 1 0 5 51 4 0 128 3 0 50)))
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
|||||||
(sxbc 1 "857de8641ad2e912"
|
(sxbc 1 "857de8641ad2e912"
|
||||||
(code
|
(code
|
||||||
:constants ("hs-worker-loaded?" "hs-register-feature!" "worker" {:upvalue-count nil :arity nil :constants ("error" "worker plugin is not installed — see https://hyperscript.org/features/worker") :bytecode (nil nil nil nil nil nil nil nil)}) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)))
|
:constants ("hs-worker-loaded?" "hs-register-feature!" "worker" {:upvalue-count 0 :arity 1 :constants ("worker plugin is not installed — see https://hyperscript.org/features/worker" "error") :bytecode (1 0 0 52 1 0 1 50)}) :bytecode (3 128 0 0 5 20 1 0 1 2 0 51 3 0 48 2 50)))
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
|||||||
(sxbc 1 "232c1519553b1d5f"
|
(sxbc 1 "232c1519553b1d5f"
|
||||||
(code
|
(code
|
||||||
:constants ("with-marsh-scope" {:upvalue-count nil :arity nil :constants ("list" "with-island-scope" {:upvalue-count nil :arity nil :constants ("append!") :bytecode (nil nil nil nil nil nil nil nil nil)} "dom-set-data" "sx-marsh-disposers") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "dispose-marsh-scope" {:upvalue-count nil :arity nil :constants ("dom-get-data" "sx-marsh-disposers" "for-each" {:upvalue-count nil :arity nil :constants ("cek-call") :bytecode (nil nil nil nil nil nil nil nil)} "dom-set-data") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "emit-event" {:upvalue-count nil :arity nil :constants ("dom-dispatch") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil)} "on-event" {:upvalue-count nil :arity nil :constants ("dom-on") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil)} "bridge-event" {:upvalue-count nil :arity nil :constants ("effect" {:upvalue-count nil :arity nil :constants ("dom-on" {:upvalue-count nil :arity nil :constants ("event-detail" "cek-call" "list" "reset!") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)}) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)}) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} "resource" {:upvalue-count nil :arity nil :constants ("signal" "dict" "loading" "data" "error" "promise-then" "cek-call" {:upvalue-count nil :arity nil :constants ("reset!" "dict" "loading" "data" "error") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} {:upvalue-count nil :arity nil :constants ("reset!" "dict" "loading" "data" "error") :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)}) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)} {:library (sx signals-web) :op "import"}) :bytecode (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil)))
|
:constants ("with-marsh-scope" {:upvalue-count 0 :arity 2 :constants ("list" "with-island-scope" {:upvalue-count 1 :arity 1 :constants ("append!") :bytecode (18 0 16 0 52 0 0 2 50)} "dom-set-data" "sx-marsh-disposers") :bytecode (52 0 0 0 17 2 20 1 0 51 2 0 1 2 16 1 48 2 5 20 3 0 16 0 1 4 0 16 2 49 3 50)} "dispose-marsh-scope" {:upvalue-count 0 :arity 1 :constants ("dom-get-data" "sx-marsh-disposers" {:upvalue-count 0 :arity 1 :constants ("cek-call") :bytecode (16 0 2 52 0 0 2 50)} "for-each" "dom-set-data") :bytecode (20 0 0 16 0 1 1 0 48 2 17 1 16 1 33 24 0 51 2 0 16 1 52 3 0 2 5 20 4 0 16 0 1 1 0 2 49 3 32 1 0 2 50)} "emit-event" {:upvalue-count 0 :arity 3 :constants ("dom-dispatch") :bytecode (20 0 0 16 0 16 1 16 2 49 3 50)} "on-event" {:upvalue-count 0 :arity 3 :constants ("dom-on") :bytecode (20 0 0 16 0 16 1 16 2 49 3 50)} "bridge-event" {:upvalue-count 0 :arity 4 :constants ("effect" {:upvalue-count 4 :arity 0 :constants ("dom-on" {:upvalue-count 2 :arity 1 :constants ("event-detail" "list" "cek-call" "reset!") :bytecode (20 0 0 16 0 48 1 17 1 18 0 33 15 0 18 0 16 1 52 1 0 1 52 2 0 2 32 2 0 16 1 17 2 20 3 0 18 1 16 2 49 2 50)}) :bytecode (20 0 0 18 0 18 1 51 1 0 0 2 0 3 48 3 17 0 16 0 50)}) :bytecode (20 0 0 51 1 0 1 0 1 1 1 3 1 2 49 1 50)} "resource" {:upvalue-count 0 :arity 1 :constants ("signal" "loading" "data" "error" "dict" "promise-then" "cek-call" {:upvalue-count 1 :arity 1 :constants ("reset!" "loading" "data" "error" "dict") :bytecode (20 0 0 18 0 1 1 0 4 1 2 0 16 0 1 3 0 2 52 4 0 6 49 2 50)} {:upvalue-count 1 :arity 1 :constants ("reset!" "loading" "data" "error" "dict") :bytecode (20 0 0 18 0 1 1 0 4 1 2 0 2 1 3 0 16 0 52 4 0 6 49 2 50)}) :bytecode (20 0 0 1 1 0 3 1 2 0 2 1 3 0 2 52 4 0 6 48 1 17 1 20 5 0 16 0 2 52 6 0 2 51 7 0 1 1 51 8 0 1 1 48 3 5 16 1 50)} {:library (sx signals-web) :op "import"}) :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 1 12 0 112 50)))
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user