007 grid write block reads pre state

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

swap 7 3 butterfly 10 -4

Expected output

✓ Zig✓ JavaScript
swap 7 3 butterfly 10 -4

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: cells, size: 4, source: a: 0.0[f64], b: 0.0[f64])
flow ~stored click a branch to expand · @labels scroll to their anchor
stored (source: cells[0].a: 3.0, cells[0].b: 7.0)
flow ~stored click a branch to expand · @labels scroll to their anchor
stored (source: cells[1].a: 3.0, cells[1].b: 7.0)
flow ~stored click a branch to expand · @labels scroll to their anchor
stored (source: cells[0].a: cells[0].b, cells[0].b: cells[0].a)
flow ~stored click a branch to expand · @labels scroll to their anchor
stored (source: cells[1].a: cells[1].a + cells[1].b, cells[1].b: cells[1].a - cells[1].b)
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "swap {{ cells[0].a:f }} {{ cells[0].b:f }} butterfly {{ cells[1].a:f }} {{ cells[1].b:f }}")

Test Configuration

MUST_RUN