diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-22 14:10:34 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-22 14:10:34 -0400 |
| commit | 6c3f798b272bc0e920791d6555ce66c7f958a5d6 (patch) | |
| tree | b0258b74fc35a18fcb8fd2c299258ac8aadf1e09 /dc.bqn | |
| parent | 081237c27b912723438f498ffaa53a079a597b1b (diff) | |
Pass set of primitive glyphs into compiler as •args
Diffstat (limited to 'dc.bqn')
| -rwxr-xr-x | dc.bqn | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -4,12 +4,9 @@ # multiple bodies, and use variable names instead of counts. # Rearrange and make up some names so the bytecode can be run. -compile ← •Import "src/c.bqn" -prims ← ⟨ - +,-,×,÷,⋆,√,⌊,⌈,|,¬,∧,∨,<,>,≠,=,≤,≥,≡,≢,⊣,⊢,⥊,∾,≍,↑,↓,↕,«,»,⌽,⍉,/,⍋,⍒,⊏,⊑,⊐,⊒,∊,⍷,⊔,! - ˙,˜,˘,¨,⌜,⁼,´,˝,` - ∘,○,⊸,⟜,⌾,⊘,◶,⎉,⚇,⍟ -⟩ +glyphs ← •Import "src/glyphs.bqn" +compile ← glyphs •Import "src/c.bqn" +prims ← •BQN∘⥊¨ ∾glyphs special←<˘∘‿2⥊"𝕤𝕩𝕨𝕣𝕗𝕘" DCompile⇐{ |
