diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-22 13:53:11 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-22 13:53:11 -0400 |
| commit | 081237c27b912723438f498ffaa53a079a597b1b (patch) | |
| tree | 20ea9bb06292c230670efca667577ee029ba69b0 /src | |
| parent | 8279bb3326c49305444e0cbddac13b09113b68fc (diff) | |
Move glyph list to src/glyphs.bqn
Diffstat (limited to 'src')
| -rw-r--r-- | src/glyphs.bqn | 6 | ||||
| -rwxr-xr-x | src/pr.bqn | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/glyphs.bqn b/src/glyphs.bqn new file mode 100644 index 00000000..f252b8c4 --- /dev/null +++ b/src/glyphs.bqn @@ -0,0 +1,6 @@ +# BQN primitive glyphs: functions, 1-modifiers, 2-modifiers +⟨ + "+-×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!" + "˙˜˘¨⌜⁼´˝`" + "∘○⊸⟜⌾⊘◶⎉⚇⍟⎊" +⟩ @@ -3,11 +3,7 @@ # Process BQN runtime # All primitives -chrs←⟨ - "+-×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!" - "˙˜˘¨⌜⁼´˝`" - "∘○⊸⟜⌾⊘◶⎉⚇⍟⎊" -⟩ +chrs←•Import "glyphs.bqn" glyphs ⇐ ∾chrs # Provided values, to be passed in through the constants array |
