diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-09-07 10:49:12 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-09-07 10:49:12 -0400 |
| commit | f5418e066dc393e09589ab5e7f38d23eac203ef9 (patch) | |
| tree | 47f983e29a3424a72682f3c3962dae9639b28ddd | |
| parent | 6e293d5c3c680e8dbe51c543f132ea25da6f1dc4 (diff) | |
Use normal dzaima/BQN, not dzaima+reference, to run the compiler
| -rwxr-xr-x | dc.bqn | 4 | ||||
| -rwxr-xr-x | dzref | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -6,12 +6,12 @@ # - dzaima/BQN uses variable names instead of counts (but we make the # names up anyway, except for special names). -p←"⟨ +compile ← •EX •path∾"src/c.bqn" +prims ← (•EX •path∾"dzref"){𝔽} "⟨ +,-,×,÷,⋆,√,⌊,⌈,|,¬,∧,∨,<,>,≠,=,≤,≥,≡,≢,⊣,⊢,⥊,∾,≍,↑,↓,↕,⌽,⍉,/,⍋,⍒,⊏,⊑,⊐,⊒,∊,⍷,⊔,! ˙,˜,˘,¨,⌜,⁼,´,˝,` ∘,○,⊸,⟜,⌾,⊘,◶,⎉,⚇,⍟ ⟩" -⟨Compile,prims⟩ ← ⟨•path∾"src/c.bqn","⟨Compile,"∾p∾"⟩"⟩ •EX •path∾"dzref" special←<˘∘‿2⥊"𝕤𝕩𝕨𝕣𝕗𝕘" DRun←{ @@ -131,5 +131,5 @@ X←Raw←{F:≤4} ExecFile←{Raw ∾ ∾⟜lf¨ E_proc¨ •LNS 𝕩} X↩Raw∘E_proc ⍎ ∾ ∾⟜lf¨ pre - ≠◶X‿{ExecFile ⊑𝕩}‿{ExecFile ⊑𝕩 ⋄ X 1⊑𝕩} •args + ≠◶(X˙)‿{ExecFile ⊑𝕩}‿{ExecFile ⊑𝕩 ⋄ X 1⊑𝕩} •args } |
