aboutsummaryrefslogtreecommitdiff
path: root/src/cjs.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-10-17 15:26:58 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-10-17 15:26:58 -0400
commit5c6c1c73832759cfa1e89705a26b4f90b140a819 (patch)
tree2631b4fbeb6a7afb907fdd563c1bbdd2db69c4fc /src/cjs.bqn
parent2d381ac8c137d5fc3eb33213c1684c25d6d6e5de (diff)
Remove unnecessary uses of •path now that •Import imcorporates it
Diffstat (limited to 'src/cjs.bqn')
-rwxr-xr-xsrc/cjs.bqn8
1 files changed, 4 insertions, 4 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