diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-06-18 17:22:20 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-06-18 17:22:20 -0400 |
| commit | 5e1bfb982429882797d726ffb22f81c8115cf91a (patch) | |
| tree | 2232b3bb59b39c6f7e33c9e69c9e217019d5fbb2 /src | |
| parent | f5de03c52112b10058fcb873e997408bfb074cb2 (diff) | |
Add merged-array instructions to explainers
Diffstat (limited to 'src')
| -rw-r--r-- | src/e.bqn | 12 | ||||
| -rw-r--r-- | src/eu.bqn | 10 |
2 files changed, 11 insertions, 11 deletions
@@ -16,7 +16,7 @@ gf ← "g" At "opacity=0.9" hlcl‿hlch ← <˘ ⍉ ∘‿2⥊⟨ "Number" , ('0'+↕10)∾"¯.π∞" "Paren" , "()" - "Bracket" , "⟨⟩" + "Bracket" , "⟨⟩[]" "Brace" , "{}" "Nothing" , "·" "String" , "'"∾'"'∾"@" @@ -39,11 +39,11 @@ escchars ← """&<>" ⋄ escapes ← ("&"∾∾⟜";")¨"quot"‿"amp"‿"lt"‿ Explain ← { b‿const‿blk‿bdy‿(i‿e)‿tok ← 𝕨 ba‿bc‿bo‿bp ← (⊏/¨1⊸↓)'0'-˜⟨ # For each instruction, number of: - "114113141111111315114131131111=111" # Codes until next opcode - "1110001100000000002221100000000111" # Arguments - "000111//23232303230000011022232111" # Stack values consumed - "1110001111111101111111101101111111" # Stack values output - "0000000011111101010000000000010000" # Position determiner + "11411311121111111315114131131111=111" # Codes until next opcode + "111000111100000000002221100000000111" # Arguments + "000111////23232303230000011022232111" # Stack values consumed + "111000111111111101111111101101111111" # Stack values output + "000000000011111101010000000000010000" # Position determiner ⟩ m ← { # Mask of instruction starts n ← (↕≠b)+1+ba(⊣⊏˜≠⊸>×⊢)b @@ -6,11 +6,11 @@ wh ← 1‿1 Explain ← { b‿const‿blk‿bdy‿(i‿e)‿tok ← 𝕨 ba‿bc‿bo‿bp ← (⊏/¨1⊸↓)'0'-˜⟨ # For each instruction, number of: - "114113141111111315114131131111=111" # Codes until next opcode - "1110001100000000002221100000000111" # Arguments - "000111//23232303230000011022232111" # Stack values consumed - "1110001111111101111111101101111111" # Stack values output - "0000000011111101010000000000010000" # Position determiner + "11411311121111111315114131131111=111" # Codes until next opcode + "111000111100000000002221100000000111" # Arguments + "000111////23232303230000011022232111" # Stack values consumed + "111000111111111101111111101101111111" # Stack values output + "000000000011111101010000000000010000" # Position determiner ⟩ m ← { # Mask of instruction starts n ← (↕≠b)+1+ba(⊣⊏˜≠⊸>×⊢)b |
