diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-28 16:53:27 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-28 16:53:27 -0400 |
| commit | 0e8dab90bf1a366ca777fa3ea6aafff3c62386e8 (patch) | |
| tree | 8462114231113c821e4cd33b0c267033e85b6f6f /src/pr.bqn | |
| parent | 382dddfbdd49cc176744ec00ba57e5787cd94620 (diff) | |
Add r0 and r1 options to cjs.bqn
Diffstat (limited to 'src/pr.bqn')
| -rwxr-xr-x | src/pr.bqn | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -11,15 +11,15 @@ alias‿def ← (⊑¨ ≍○< 1⊸↓¨) ⟨"?Type","∩Fill","⍣Log", "$GroupLen","%GroupOrd","⍝_fillBy_"⟩ keep ← "!+-×÷⋆⌊=≤≢⥊⊑↕⌜`⊘⎊" chrext ← glyphs ∾¨ ((+´·∧`'_'=0‿¯1⊸⊏)¨def) ⊔ alias +Typ ← chrext⊸((+`≠¨)∘⊣⍋∾⊸⊐) -in‿out ← rtt ⊑ { - in0‿out0 ← ⟨"∩⍝+-×⌊=≤≢⥊⊑↕⌜", "⌊⌈|<>≠≥⊢⊣∾↑↓⊏˙˜´∘○⊸⟜◶⍟"⟩ - in1 ← ⍷ out0 ∾˜ in2 ← alias∾keep - out2 ← ∾glyphs - ⟨ in0‿out0, in1‿out2, in2‿out2 ⟩ -} +in0‿out0 ← ⟨"∩⍝+-×⌊=≤≢⥊⊑↕⌜⊘", "⌊⌈|<>≠≥⊢⊣∾↑↓⊏˙˜´∘○⊸⟜◶⍟"⟩ +in2 ← alias∾keep +out2 ← ∾glyphs +in‿out ← rtt ⊑ ⟨in0,out0⟩‿⟨⍷in2∾out0,out2⟩‿⟨in2,out2⟩ -need ⇐ chrext⊸((+`≠¨)∘⊣⍋∾⊸⊐)⊸⊔ in +inputs ⇐ ⟨out0, (⍋Typ)⊸⊏in2⟩ +need ⇐ Typ⊸⊔ in GetRepls ← { c‿n←𝕩 ⋄ ⟨c,c⊣⌾((c∊⥊¨in)⊸/)n⟩∾¨⟨def,⥊¨alias⟩ } |
