Skip to the content
Diaspar

43 decisions

Why Diaspar is the way it is

Every choice in the language is a record: what was decided, the reasons, and what was turned down. Here they are, by topic.

The records are the language's own, as they stood on 2026-11-18, written for the people who build Diaspar. Their code is a sketch of a design, and an older record may show syntax that a later one changed; the programs that run are in the tour. Open source soon. Diaspar is in development, and its source is not public yet.

The language as a whole

What Diaspar is, and what it takes from the Lisps before it.

Syntax

Brackets, the dot, labels, operators.

Data and patterns

Records, enums, protocols, one pattern language, numbers, sequences.

Effects, errors, state

One mechanism for errors, resources and whatever a function asks of its caller.

Concurrency

Tasks without colored functions.

Types and memory

Inferred types that warn; reference counting that reuses memory.

Modules and packages

Names, imports, packages, data read when a program is compiled.

The live environment

The REPL's debugger, and changing a program that is running.

The tools

Diagnostics, tests, the formatter, documentation, one command for all of it.

The standard library

Modules whose design was a decision.

The implementation

The compiler, the runtime, calling C, the browser.