diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-01 09:50:45 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-01 09:50:45 -0500 |
| commit | 7c29cbf557c7b2cc085c43393f428dd07410b9a2 (patch) | |
| tree | 09f5499c8e62cead1eb316398f8e6b2e1d74bc45 | |
| parent | dd76b41e47ec70aac3a464ee3da98d709f051f47 (diff) | |
dzaima/BQN •COMP now accepts instruction indices and source code
| -rwxr-xr-x | dc.bqn | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
