aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-08-12 20:36:41 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-08-12 20:41:48 -0400
commita91db82531cc2f9e58d2fb76bbc159d1f16c9b6b (patch)
tree3f08f612b2965d490d24a7642ac1c399acea0b61 /src
parent1c31061b995bf769f9cd97eef616424d3709a2fa (diff)
Use args r and c to compile runtime and compiler with cjs.bqn
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cjs.bqn8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cjs.bqn b/src/cjs.bqn
index d5566edf..8796df9a 100755
--- a/src/cjs.bqn
+++ b/src/cjs.bqn
@@ -10,6 +10,8 @@ L ← "["∾"]"∾˜1↓·∾","⊸∾⟜⍕¨
G ← ⟨L∾⟜25,L Fmt¨,L⟨⊑"fmd"⊸⊐,⊢,⊢,≠⟩⊸(L{𝕎𝕩}¨)¨⟩ {𝕎𝕩}¨ 0‿1‿3 ⊏ Symcomp
Gen ← L G
GenLong ← ∾ (1‿2/⟨" new Uint8Array("∾∾⟜")"⋄((•UCS 10)∾" ,")⊸∾⟩) {𝕎𝕩}¨ G
-• ← ∾∾⟜(•UCS 10)¨ Gen¨ •args
-#• ← GenLong •EX •path∾"pr.bqn"
-#• ← GenLong ∾∾⟜(•UCS 10)¨ •LNS •path∾"c.bqn"
+• ← (⊑"r"‿"c"⊐⊏)◶⟨
+ {𝕩⋄GenLong •EX •path∾"pr.bqn"}
+ {𝕩⋄GenLong ∾∾⟜(•UCS 10)¨ •LNS •path∾"c.bqn"}
+ ∾·∾⟜(•UCS 10)¨ Gen¨
+⟩ •args