Eddy is a water language. Programs are stacks of ripples, read top to bottom. Press let it flow and watch values pour into pools and spill downstream.
flow a value into a name
7 ~> count
The value on the left flows into the pool on the right — watch it fill.
spill a value out
spill count
spill "hello"
Spilled values cascade into the spillway at the bottom.
arithmetic — words, no precedence
plus minus times over
Always evaluated strictly left‑to‑right. So 2 plus 3 times 4 is 20, not 14.
plus also joins text: "k is " plus k.
compare
above below level
fork (a choice)
fork age above 6
spill "swim"
bend
spill "wade"
pool
bend is optional. Every fork closes with pool.
swirl (a loop)
swirl k above 0
spill k
k minus 1 ~> k
pool
Each turn spins the whirlpool in the corner.
ripples of comment
~~ this whole line is ignored