From 7c29cbf557c7b2cc085c43393f428dd07410b9a2 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sun, 1 Nov 2020 09:50:45 -0500 Subject: =?UTF-8?q?dzaima/BQN=20=E2=80=A2COMP=20now=20accepts=20instructio?= =?UTF-8?q?n=20indices=20and=20source=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dc.bqn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dc.bqn b/dc.bqn index 43d694b8..06c527a6 100755 --- a/dc.bqn +++ b/dc.bqn @@ -13,12 +13,12 @@ prims ← (•Import "dzref"){𝔽} "⟨ special←<˘∘‿2⥊"𝕤𝕩𝕨𝕣𝕗𝕘" DCompile⇐{ - ⟨bc,o,fblk⟩ ← 3 ↑ prims Compile 𝕩 + ⟨bc,o,fblk,ind⟩ ← 4 ↑ prims Compile 𝕩 blk‿bdy ← <˘⍉>(↕≠fblk){ ⟨t,i,l,n⟩←𝕩 s←(3×i)↓(t⊑3‿5‿6)↑special ⟨⟨t,i,𝕨,𝕨⟩ ⋄ ⟨l, s∾⥊¨'a'+↕n-≠s⟩⟩ }¨fblk - ⟨bc,o,blk,bdy⟩ + ⟨bc,o,blk,bdy,ind,𝕩⟩ } DRun⇐•COMP∘DCompile -- cgit v1.2.3