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 scale(value, factor) = value * factor;

Weft

Authoring view
entry meter.start;
object meter {
  knight scale(value, factor) = value * factor;
  handler start() = call self.scale(14, 3);
}

Warp

Serialized object graph
(warp 1 (entry meter start)
(object meter
  (knight scale value factor (* value factor))
  (handler start (call self scale 14 3))))

Result 42

SHA-256 checksums