aboutsummaryrefslogtreecommitdiff
path: root/src/pr.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-28 15:16:31 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-28 15:16:31 -0400
commit038066e41e654b1288939a38af6da9329a26f4bf (patch)
tree3a782266065433044438a265e9af9e1c68bb9928 /src/pr.bqn
parent5199bc3835b6509f01560660750cd102cd5cf033 (diff)
Get provided primitives from needed names in bqn.bqn
Diffstat (limited to 'src/pr.bqn')
-rwxr-xr-xsrc/pr.bqn6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pr.bqn b/src/pr.bqn
index df1b1ac8..f83558d2 100755
--- a/src/pr.bqn
+++ b/src/pr.bqn
@@ -12,7 +12,7 @@ alias‿def ← (⊑¨ ≍○< 1⊸↓¨) ⟨"?Type","∩Fill","⍣Log",
keep ← "!+-×÷⋆⌊=≤≢⥊⊑↕⌜`⊘⎊"
type ← ((+´·∧`'_'=0‿¯1⊸⊏)¨def) ∾ chrs((+`≠¨)∘⊣⍋∾⊸⊐)keep
-prims ⇐ type ⊔ alias∾keep
+need ⇐ type ⊔ alias∾keep
GetRepls ← {
c‿n ← 𝕩
@@ -25,5 +25,5 @@ GetRepls ← {
gd ← "glyphs←"""∾glyphs∾"%"""
rslt ← "⟨"∾"⟩"«∾","⊸∾¨glyphs # Output all primitives
rr ← •FLines¨ "r0.bqn"‿"r1.bqn"
-src ← ∾⟨⟨gd⟩,∾rr,⟨"{PrimInd↩⊑𝕩⊐<⋄𝕩‿SetPrims}"∾rslt⟩⟩
-ref ⇐ ∾∾⟜(@+10)¨ E_proc¨ src
+raw ← ∾⟨⟨gd⟩,∾rr,⟨"{PrimInd↩⊑𝕩⊐<⋄𝕩‿SetPrims}"∾rslt⟩⟩
+src ⇐ ∾∾⟜(@+10)¨ E_proc¨ raw