aboutsummaryrefslogtreecommitdiff
path: root/src/pr.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-03-25 20:50:53 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-03-25 20:50:53 -0400
commitec98071c058e68ab9f3eb62378cad09d05871ee5 (patch)
tree408c9c3d2ad9e6a7ab1a473a1a370cf7b31346ea /src/pr.bqn
parenta24022232647b8971cba425683f278f7befcf43f (diff)
Return a setter for Decompose and Glyph from the runtime so they don't have to be defined mutably
Diffstat (limited to 'src/pr.bqn')
-rwxr-xr-xsrc/pr.bqn4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pr.bqn b/src/pr.bqn
index 6e2244b9..c9e13954 100755
--- a/src/pr.bqn
+++ b/src/pr.bqn
@@ -11,7 +11,7 @@ chrs←⟨
glyphs ⇐ ∾chrs
# Provided values, to be passed in through the constants array
-def ← ⟨"Type","Decompose","Glyph","Fill","Log","GroupLen","GroupOrd","_fillBy_"⟩
+def ← ⟨"Type","Fill","Log","GroupLen","GroupOrd","_fillBy_"⟩
keep ← "!+-×÷⋆⌊=≤≢⥊⊑↕⌜`⊘"
len ⇐ def+○≠keep
@@ -27,4 +27,4 @@ GetRepls ← {
⟨E_proc⟩ ← chrs‿GetRepls •Import "pp.bqn"
rslt ← "⟨"∾"⟩"«∾","⊸∾¨glyphs # Output all primitives
-ref ⇐ ∾∾⟜(@+10)¨ E_proc¨ (•FLines "r.bqn")∾<rslt
+ref ⇐ ∾∾⟜(@+10)¨ E_proc¨ (•FLines "r.bqn")∾<rslt∾"‿SetPrims"