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 /md.bqn | |
| parent | 8279bb3326c49305444e0cbddac13b09113b68fc (diff) | |
Move glyph list to src/glyphs.bqn
Diffstat (limited to 'md.bqn')
| -rw-r--r-- | md.bqn | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -542,12 +542,13 @@ idChars ← ⟨ # (include will be all 1s). GetHighlights ← { # Characters used by BQN, and the HTML class they are associated with. + func‿mod1‿mod2 ← •Import "src/glyphs.bqn" classes‿chars ← <˘ ⍉ ∘‿2⥊⟨ 0 , " "∾@+9‿10 # Should never be highlighted "Value" , ¯1⊏˘5‿2⥊"𝕨𝕩𝕗𝕘𝕤"# Hack around UTF-16 - "Function" , "+-×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!"∾¯1⊏˘5‿2⥊"𝕎𝕏𝔽𝔾𝕊" - "Modifier" , "˙˜˘¨⌜⁼´˝`" - "Modifier2" , "∘○⊸⟜⌾⊘◶⎉⚇⍟⎊" + "Function" , func∾¯1⊏˘5‿2⥊"𝕎𝕏𝔽𝔾𝕊" + "Modifier" , mod1 + "Modifier2" , mod2 "Number" , ∾idChars # Will be classified among ↑↑ later "Gets" , "←⇐↩→" "Paren" , "()" |
