From f5418e066dc393e09589ab5e7f38d23eac203ef9 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Mon, 7 Sep 2020 10:49:12 -0400 Subject: Use normal dzaima/BQN, not dzaima+reference, to run the compiler --- dc.bqn | 4 ++-- dzref | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dc.bqn b/dc.bqn index a0fc5730..20f99afb 100755 --- a/dc.bqn +++ b/dc.bqn @@ -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←{ diff --git a/dzref b/dzref index 4bf766ae..b47a84b5 100755 --- a/dzref +++ b/dzref @@ -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 } -- cgit v1.2.3