Dataflow Model
Rellum programs are graphs.
Events enter the graph, state advances deterministically, derived values are recomputed, and effects run after state is committed.
press = event(button!())
count ~ feedback(
on press => count + 1,
0
)
message = "value: " + to_string(count)
main! on any => print!(message)
Why This Matters
- The compiler can see dependencies between values.
- Independent work can run in parallel.
- Effects happen at clear boundaries.
- State changes are deterministic.