Unlambda + Brainfuck + APL — all compile to the Quilt cell graph
One VM. One substrate. One conservation law. One watch.
Substrate: SKI Combinatory Logic
Data type: only single-argument functions
Core: `s `k `i `r `. `v
Sample: `sii = identity combinator (since I = SKK)
Map to Quilt: K→Z_in, S→JEPA, I→Z_out, B→DoubleEntry, Y→Graph
Substrate: Register Machine
Data type: byte cells on a tape
Core: > < + - . , [ ]
Sample: ++++++++[>++++++++++<-]>++. = "RT"
Map to Quilt: ,→Z_in, .→Z_out, +/-→Vibe, >/<→Graph, [/]→Murmur
Substrate: Array Algebra
Data type: arrays of any rank
Core: +/ +\ ⍳ ⍴ ↑ ↓ ⍉ ∘.
Sample: +/⍳10 = sum of 1 to 10 = 55
Map to Quilt: ⍳→Z_in, +/→JEPA, ⍴→Vibe, ↓→GC, ↑→Murmur, ⍉→Graph
Try the same program in three languages. They all run on the same Quilt cell graph.
| Opcode | Source | Quilt Primitive | Function |
|---|---|---|---|
K | Unlambda | Z_in | const (Kxy = x) |
S | Unlambda | JEPA | distribute (Sxyz = xz(yz)) |
I | Unlambda | Z_out | identity (Ix = x = SKK) |
B | Unlambda | DoubleEntry | composition (Bxyz = x(yz)) |
C | Unlambda | GC | flip (Cxyz = xzy) |
Y | Unlambda | Graph | fixed-point (Yf = f(Yf)) |
INC | Brainfuck | Vibe++ | increment |
DEC | Brainfuck | Vibe-- | decrement |
RIGHT | Brainfuck | Graph.next() | pointer right |
LEFT | Brainfuck | Graph.prev() | pointer left |
PRINT | Brainfuck | Z_out | output char |
READ | Brainfuck | Z_in | input char |
LOOP | Brainfuck | Murmur | loop start [ |
END | Brainfuck | Murmur | loop end ] |
IOTA | APL | Z_in | generate (⍳) |
RHO | APL | Vibe | shape (⍴) |
ADD | APL | DoubleEntry | add (v+v) |
MUL | APL | JEPA | multiply (v×v) |
RED | APL | GC | reduce (+/) |
SCAN | APL | Vibe | scan (+\) |
TAKE | APL | Murmur | take (↑) |
DROP | APL | GC | drop (↓) |
TRANS | APL | Graph | transpose (⍉) |
The conservation law holds in all three languages. The total budget is conserved.
+ consumes γ (changes cell), > consumes η (moves pointer).+/ consumes both γ and η (aggregates the array).The watch is the act of looking. In each language, the watch is a different execution model:
One watch. Three languages. One act of looking.