diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-10-14 16:01:03 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-10-14 16:01:03 -0400 |
| commit | fcd6f3feb1d12e4a1ec271e560ebe804f4ae5d68 (patch) | |
| tree | 00e72a7d377a09949b863af280729fcf629daa2a /dc.bqn | |
| parent | 7c388daec05b65a810aae6917ae28a9c9b910254 (diff) | |
Move from •EX to •Import
Diffstat (limited to 'dc.bqn')
| -rwxr-xr-x | dc.bqn | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,15 +4,15 @@ # multiple bodies, and use variable names instead of counts. # Rearrange and make up some names so the bytecode can be run. -compile ← •EX •path∾"src/c.bqn" -prims ← (•EX •path∾"dzref"){𝔽} "⟨ +compile ← •Import •path∾"src/c.bqn" +prims ← (•Import •path∾"dzref"){𝔽} "⟨ +,-,×,÷,⋆,√,⌊,⌈,|,¬,∧,∨,<,>,≠,=,≤,≥,≡,≢,⊣,⊢,⥊,∾,≍,↑,↓,↕,«,»,⌽,⍉,/,⍋,⍒,⊏,⊑,⊐,⊒,∊,⍷,⊔,! ˙,˜,˘,¨,⌜,⁼,´,˝,` ∘,○,⊸,⟜,⌾,⊘,◶,⎉,⚇,⍟ ⟩" special←<˘∘‿2⥊"𝕤𝕩𝕨𝕣𝕗𝕘" -DCompile←{ +DCompile⇐{ ⟨bc,o,fblk⟩ ← prims Compile 𝕩 blk‿bdy ← <˘⍉>(↕≠fblk){ ⟨t,i,l,n⟩←𝕩 @@ -21,4 +21,4 @@ DCompile←{ }¨fblk ⟨bc,o,blk,bdy⟩ } -DRun←•COMP∘DCompile +DRun⇐•COMP∘DCompile |
