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/unix.o.se
cd unix.o.se && make

That builds ./o.se, the command-line host, and its modules: the language, a standard library, UDP and TCP, time and a line editor.

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
/x -> /_e
: 23

The prompt says where the name went — /_e, the environment — and then answers. Leave with ctrl-C.

Where next