Machine
Program diagrams
Boxes are instructions, shaded by the register they touch, with an arrow marker for increment or decrement. Blue arcs are success branches and orange arcs are fail branches. The circle shows the same program as a control graph.
Evolution
Changing any setting re-runs the machine. The caps stop a run that would otherwise go on forever; a banner tells you when one fires.
Starting the engine
- Download the Python runtime (about 6 MB, kept for next time)
- Install the mrm package
- Evolve the first machine
Everything runs in your browser. Nothing is sent anywhere.
- a configuration: pc, then registers
- nowhere left to go
- ancestors of the selected state
- its descendants
- shortest way to reach it
- branchial ties
How to read this
Each chip is one configuration of the machine, written as the program counter and then the register values. An arrow is one rule firing, and its color and label say which rule. The rows are steps: everything in a row was first reached at that step, so the play button and the slider show the evolution unfolding in time.
Hover a chip or an arrow for details. Click a chip to see where it came from and where it leads. Drag to pan, scroll to zoom, or use the zoom buttons. If the graph is hard to see, the table view lists the same states as text, and every figure can be exported.
- space play or pause
- ← → one step back or forward
- + − 0 zoom in, out, fit (graph focused)
- esc clear the selection
Large graph: drawn on a canvas without labels. Graphs under 2000 nodes get the interactive view.
Statistics
Export
The address always reopens this view. An untouched preset gets a short link by name; an edited machine carries the whole machine in its link.