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 whitepaperAll 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 calculationknight add(left, right) = left + right;Weft
Authoring viewentry 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