aboutsummaryrefslogtreecommitdiff
path: root/src/eu.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-18 17:22:20 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-18 17:22:20 -0400
commit5e1bfb982429882797d726ffb22f81c8115cf91a (patch)
tree2232b3bb59b39c6f7e33c9e69c9e217019d5fbb2 /src/eu.bqn
parentf5de03c52112b10058fcb873e997408bfb074cb2 (diff)
Add merged-array instructions to explainers
Diffstat (limited to 'src/eu.bqn')
-rw-r--r--src/eu.bqn10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/eu.bqn b/src/eu.bqn
index 9aaeb1c1..39677b54 100644
--- a/src/eu.bqn
+++ b/src/eu.bqn
@@ -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