diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-10-08 16:24:56 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-10-08 16:24:56 -0400 |
| commit | b9b20748d1fd4511150092c43c43bb429e809a35 (patch) | |
| tree | 54686975e3efe3b6e82f0b28f54d7c2c1ad7f1da | |
| parent | cb772298180a79742ea57c7309210eb35cc6cff6 (diff) | |
Split DCompile from DRun in dc.bqn
| -rwxr-xr-x | dc.bqn | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,12 +14,13 @@ prims ← (•EX •path∾"dzref"){𝔽} "⟨ ⟩" special←<˘∘‿2⥊"𝕤𝕩𝕨𝕣𝕗𝕘" -DRun←{ +DCompile←{ ⟨bc,o,blk⟩ ← prims Compile 𝕩 blk ↩ { ⟨t,i,l,n⟩←𝕩 s←(3×i)↓(t⊑3‿5‿6)↑special ⟨t,i,l,s∾⥊¨'a'+↕n-≠s⟩ }¨blk - •COMP ⟨bc,o,⟨⟩,blk⟩ + ⟨bc,o,⟨⟩,blk⟩ } +DRun←•COMP∘DCompile |
