aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cjs.bqn8
-rwxr-xr-xsrc/pr.bqn2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/cjs.bqn b/src/cjs.bqn
index b481cdc0..3e6aaabf 100755
--- a/src/cjs.bqn
+++ b/src/cjs.bqn
@@ -1,6 +1,6 @@
#! /usr/bin/env dbqn
-compile ← •Import •path∾"c.bqn"
+compile ← •Import "c.bqn"
Comp ← ((<"runtime["∾⍕∾"]"˙)¨↕62)⊸Compile
FP ← ∞⊸=◶⟨⍕,"Infinity"⟩
Esc ← (⟨"\t","\n","\r","\'","\"""⟩∾<∘⥊)⊑˜("'"""∾˜@+9‿10‿13)⊑∘⊐⊢
@@ -13,8 +13,8 @@ Fout ← ⟨⊢,Fconst,L⟩ {L𝕎¨𝕩}¨ ⊢
Frun ← ("provide.concat("∾∾⟜")")⌾(1⊸⊑) Fout
Long ← ∾ (1‿2/⟨" new Uint8Array("∾∾⟜")"⋄((@+10)∾" ,")⊸∾⟩) {𝕎𝕩}¨ ⊢
• ← (⊑"r"‿"c"‿"fmt"⊐⊏)◶⟨
- {𝕩⋄ref‿len←•Import•path∾"pr.bqn"⋄Long Frun len⊸↓⌾(1⊸⊑)Comp ref}
- {𝕩⋄Long Fout Comp J •LNS •path∾"c.bqn"}
- {𝕩⋄Long Fout Comp J •LNS •path∾"fmt.bqn"}
+ {𝕩⋄ref‿len←•Import"pr.bqn"⋄Long Frun len⊸↓⌾(1⊸⊑)Comp ref}
+ {𝕩⋄Long Fout Comp J •LNS "c.bqn"}
+ {𝕩⋄Long Fout Comp J •LNS "fmt.bqn"}
¯1 ↓ · J L∘Fout∘Comp¨
⟩ •args
diff --git a/src/pr.bqn b/src/pr.bqn
index 77d664ff..0ad1e1bb 100755
--- a/src/pr.bqn
+++ b/src/pr.bqn
@@ -2,7 +2,7 @@
# Process BQN runtime
-impl ← •LNS •path∾"r.bqn"
+impl ← •LNS "r.bqn"
chrs←⟨
"+-×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!"