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 square(value) = value * value;

Weft

Authoring view
entry math.start;
object math {
  knight square(value) = value * value;
  handler start() = call self.square(9);
}

Warp

Serialized object graph
(warp 1 (entry math start)
(object math
  (knight square value (* value value))
  (handler start (call self square 9))))

Result 81

SHA-256 checksums