frame · the design (frame/loopnet.bend) on the lattice, run by the code Bend builds from it
on
Laws

loading…

Reading the grid
a wire cell, pointing where it passes symbols on fork, its left and right wires (they trade places on a swap) stem, and its part's wire leaf latch passing a packet on (red: eating it) a symbol: X swap here, M0 into a stem's part, M1 left, M2 right S+ makes a stem out of the first plain wire it reaches, S− turns a stem back into wire T starts a loop at the node it reaches, W walks down its left part a stem the loop holds (lowered): it passes everything through going up the second lane: a burst for the loop's node, then N; the node answers R down; H, E: the stem below is held, let go ∀ a recursion (fix(map(…self…))) that each fork copies down both wires at once; μ any other fix, which the fork it reaches runs, sending itself on down where the program says self ¬ not on a bit (0 △, 1 △△): the wire over a leaf becomes its stem, or a stem becomes wire and sends ? down to check a leaf is next a fork whose loop is out: what comes from above waits in its queue (the yellow count) until the loop's E comes back ✕a jam: S+ found no slack and no room to grow, or S− no stem (stuck) a chain packs itself: slack sinks past still stems to its foot, and its leaf grows into empty cells when S+ finds none a cell that changed this tick a₀binary add's bits, lowest first: position i down the list is the carry slot cᵢ, then aᵢ, then bᵢ; a stem over a leaf is 1, a leaf 0 ↘in the packets line: ↙ ↘ a step left, right (↓ into a stem's part); T(…) runs … when the left part is 1, T*(…) a loop, μ(…) a fix the fork runs

Hover a cell for its Bend value; drag to pan, wheel to zoom, double-click to fit; space plays, arrows step.

The loop

Edit frame/LAWS.bend (proofs in PROOF.bend) and the design, run research/signal-fabric/frame/check.sh, and this page reloads itself. check.sh view rebuilds only the design, in about a second.