A programmable object world

In neo, a program lives alongside the state it works on. An editor and its document can both be objects in the same world. You can use the editor through its usual controls, then, with permission, follow a control to the object that receives its message and change the behavior while it runs.

Read the whitepaper

All three panes show parts of the same program. In Weft, a message handler calls a Knight function to compute a value. That function can’t change the object’s slots. Warp shows the graph neo loads to run the example.

Knight

Pure calculation
knight add(left, right) = left + right;

Weft

Authoring view
entry sum.start;
object sum {
  knight add(left, right) = left + right;
  handler start() = call self.add(19, 23);
}

Warp

Serialized object graph
(warp 1 (entry sum start)
(object sum
  (knight add left right (+ left right))
  (handler start (call self add 19 23))))

Result 42

SHA-256 checksums