diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-26 10:27:22 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-26 10:27:22 -0500 |
| commit | 5bf4db5fd2f8878ada425de063d42aafb70b8fe8 (patch) | |
| tree | 7f4c60c929d9e2576455a6baccbbec30295d3ed3 | |
| parent | 360309d0472c992c0199aa83caa494accbd21586 (diff) | |
Only import glyphs.bqn once
| -rw-r--r-- | md.bqn | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -543,9 +543,10 @@ idChars ← ⟨ # Return BQN highlights for an string 𝕩, as an ⟨add,pos⟩ list for Modify # (include will be all 1s). +glyphs ← •Import "src/glyphs.bqn" GetHighlights ← { # Characters used by BQN, and the HTML class they are associated with. - func‿mod1‿mod2 ← •Import "src/glyphs.bqn" + func‿mod1‿mod2 ← glyphs classes‿chars ← <˘ ⍉ ∘‿2⥊⟨ 0 , " "∾@+9‿10 # Should never be highlighted "Value" , "𝕨𝕩𝕗𝕘𝕤" |
