diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-12 16:23:45 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-12 16:23:45 -0500 |
| commit | e068da960323526bd7221e2a3a3c09a81c0a72a6 (patch) | |
| tree | d212bf8730b562bee36151e343c5c4d20c760e6f /src | |
| parent | 9543711d3e87382aa8a90810b243754895af149b (diff) | |
Pass Decompose and Glyph into runtime
Diffstat (limited to 'src')
| -rwxr-xr-x | src/pr.bqn | 2 | ||||
| -rw-r--r-- | src/r.bqn | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -24,7 +24,7 @@ Inc ← { } # Required functionality passed in as an argument -def ← ⟨"Type","GetFill","Log","GroupLen","GroupOrd"⟩ +def ← ⟨"Type","Decompose","Glyph","GetFill","Log","GroupLen","GroupOrd"⟩ keep ← "!+-×÷⋆⌊=≤≢⥊⊑↕⌜`⊘" len ⇐ def+○≠keep ki ← chr⊐keep @@ -1,5 +1,7 @@ # BQN runtime. Requires: -# Type GetFill Log GroupLen GroupOrd !+-×÷⋆⌊=≤≢⥊⊑↕⌜`⊘ +# Type Decompose Glyph GetFill Log GroupLen GroupOrd !+-×÷⋆⌊=≤≢⥊⊑↕⌜`⊘ +Decompose +Glyph ◶ ← {𝕨((𝕨𝔽𝕩)⊑𝕘){𝔽}𝕩} # LIMITED to number left operand result ⊢ ← {𝕩} |
