aboutsummaryrefslogtreecommitdiff
path: root/src/cjs.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-11-21 11:31:49 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-11-21 11:31:49 -0500
commit3ea7eb8d18be52a989285e1a659be6ab76cc02b4 (patch)
treeadc6d77c137f36a7e1e983524b3116a3bf0f938e /src/cjs.bqn
parentbac1b187aae5b524b98f0f70223d3b1d02175a80 (diff)
Stop encoding bytecode with LEB128; that can be done later for serialization
Diffstat (limited to 'src/cjs.bqn')
-rwxr-xr-xsrc/cjs.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cjs.bqn b/src/cjs.bqn
index 5abe7409..8041b9bc 100755
--- a/src/cjs.bqn
+++ b/src/cjs.bqn
@@ -12,7 +12,7 @@ L ← "["∾"]"∾˜1↓·∾","⊸∾⟜⍕¨
J ← ∾∾⟜(@+10)¨
Fout ← (≠↑⟨⊢,Fconst,L,⊢⟩˙) {L𝕎¨𝕩}¨ ⊢
Frun ← ("provide.concat("∾∾⟜")")⌾(1⊸⊑) Fout
-Long ← ∾ (≠↑1‿3/⟨" new Uint8Array("∾∾⟜")"⋄((@+10)∾" ,")⊸∾⟩˙) {𝕎𝕩}¨ ⊢
+Long ← ∾ (≠↑1‿3/⟨" "⊸∾⋄((@+10)∾" ,")⊸∾⟩˙) {𝕎𝕩}¨ ⊢
•Out (⊑"r"‿"c"‿"fmt"‿"e"⊐⊏)◶⟨
{𝕩⋄ref‿len←•Import"pr.bqn"⋄Long Frun len⊸↓⌾(1⊸⊑)Comp ref}
{𝕩⋄Long Fout Comp J •LNS "c.bqn"}