diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-21 11:31:49 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-21 11:31:49 -0500 |
| commit | 3ea7eb8d18be52a989285e1a659be6ab76cc02b4 (patch) | |
| tree | adc6d77c137f36a7e1e983524b3116a3bf0f938e /src/e.bqn | |
| parent | bac1b187aae5b524b98f0f70223d3b1d02175a80 (diff) | |
Stop encoding bytecode with LEB128; that can be done later for serialization
Diffstat (limited to 'src/e.bqn')
| -rw-r--r-- | src/e.bqn | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -45,10 +45,7 @@ Explain ← { "00000110111001001101000100" # Position determiner ⟩ m ← { # Mask of instruction starts - a ← ba(⊣⊏˜≠⊸>×⊢)b - na← ∾⟜≠ (≠-(1+↕∘≠)⊸(»·⌈`×)⌾⌽) <⟜128 b - n ← 1+{(𝕩=⌜a) +˝∘× >⊏⟜na⍟𝕩↕≠a}↕3 - ! ∧´ ↕∘≠⊸< n + n ← (↕≠b)+1+ba(⊣⊏˜≠⊸>×⊢)b Se←{(⊏˜𝕨)Se 1¨⌾((𝕩/𝕨)⊸⊏)𝕩}⍟(0=¯1⊑⊢) (≠↑∾⟜≠Se 1∾0¨) n } |
