Examples
Small, complete programs, each showing one thing. From hosts/unix.o.se,
a .osen file loads at the prompt:
./o.se -f o.se.osen/osen.ose
("examples/setops.osen") /o/load
and a .ose file loads and runs from the command line:
./o.se -f o.se.osen/osen.ose /,/s/examples/printudp.ose /!/load /!/exec1
Either way the names the file binds are then at the prompt. A page with a box runs its program on the page.
The language
- setops.osen — union, intersection and difference over bundles, runnable.
- msgiter.osen — apply a function to each message of a bundle, with the debugger interleaved; runs at the prompt.
- printudp.ose, speedlim-print-rejects.ose and speedlim.ose — receiving, printing and forwarding UDP, written in the machine’s own instruction language.
- forward-to-board.ose — where a running machine goes when a name takes it elsewhere.
Between hosts
- Move a program between two shells
- Send a program to a board
- Send data to the command line
- A program from Python to the browser
- The browser and a board through the bridge