diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-03-25 20:50:53 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-03-25 20:50:53 -0400 |
| commit | ec98071c058e68ab9f3eb62378cad09d05871ee5 (patch) | |
| tree | 408c9c3d2ad9e6a7ab1a473a1a370cf7b31346ea /src/pr.bqn | |
| parent | a24022232647b8971cba425683f278f7befcf43f (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-x | src/pr.bqn | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |
