diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-28 15:16:31 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-28 15:16:31 -0400 |
| commit | 038066e41e654b1288939a38af6da9329a26f4bf (patch) | |
| tree | 3a782266065433044438a265e9af9e1c68bb9928 /src/pr.bqn | |
| parent | 5199bc3835b6509f01560660750cd102cd5cf033 (diff) | |
Get provided primitives from needed names in bqn.bqn
Diffstat (limited to 'src/pr.bqn')
| -rwxr-xr-x | src/pr.bqn | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
