diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-23 20:56:38 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-23 20:56:38 -0400 |
| commit | 709882eba7545582ccfed9d7f7d5e76c2e6f5dfb (patch) | |
| tree | 2ff5167e74c37ca25903955d845799a1fff889b6 /c.bqn | |
| parent | 08204af36b09f5f9d7ebdc0ba1780016e6ef1bf7 (diff) | |
Use areas between open braces, not closed ones, to find block roles
Diffstat (limited to 'c.bqn')
| -rwxr-xr-x | c.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -146,7 +146,7 @@ DParse ← {nv‿r𝕊𝕩: rev←⍋+`1+¯1↓g((¯1∾⊣)(⊣⍋⊸⊏⊏˜-⊏˜⟜⍋)⟜⍋1(+`∘∾-∾˜)⊏)o∨sl∨𝕩∊bS rev⊏˜↩⍋{+`⌾((⍋+`𝕩)⊸⊏)𝕩>0}rev⊏br bv←rev⊏br⋄b←/be←bv<0 - H←<˝∘⍉2↕(be∾1)/·+`0∾˜(rev⊏𝕩)∊(5⊑bI)+⊢ + H←<˝∘⍉2↕(1∾˜bv>0)/·+`0∾˜(rev⊏𝕩)∊(5⊑bI)+⊢ ft←(H↕3)+2×(H⥊3)⌈2×H⥊4 r↩(ft⊏(1+2⊸≤)⊸/↕4)⌾((be/rev)⊸⊏)r |
