Start
Try it in the browser
Open the playground, type (21, 2) /o/add and press Run; it
answers : 23. Nothing to install: the machine is in the page, and the
boxes on the front page are the same machine.
Install the command line
Needs a C compiler, make and git.
git clone --recursive https://github.com/asomadev/o.se
cd o.se && make
In the workspace, the same host is hosts/unix.o.se:
cd hosts/unix.o.se && make
A first program
Start a prompt and type a line:
./o.se -f o.se.osen/osen.ose
> (21, 2) /o/add
: 23
The leading colon marks a message with no address: a bare result. Name it, and read it back:
> /x : (21, 2) /o/add, /x
: 23
Where next
- Language — the tour, every example a live box; then the grammar and the reference.
- Hosts — the same machine inside Max, a browser, a board and Python.
- Examples — small complete programs, and moving one between hosts.
- Overview — the words: messages and bundles, the machine and its registers, the two languages.