Tour
How Diaspar works, and why
A walk through the language, one idea per page. Each page shows a feature at work and gives the reason behind it: what it is for, and what was turned down.
The programs are real Diaspar, and the language itself runs them in your browser. Edit them, break them, and press Ctrl + Enter. The errors are part of the tour.
Start with Hello, and the REPLFirst steps
01Hello, and the REPLA program, the function it starts at, and a session you can change while it runs.02ValuesNumbers, vectors, maps and sets: values that never change under you.03TextStrings that count what a reader sees, and f-strings that hold any expression.04Namesdef, let and defn, and what happens when a name is defined again.
Data
Behavior
More chapters are on their way: protocols, modules, sequences, state, concurrency, tests. Diaspar is in development, and the tour follows what the language does today.