Skip to content

Internal documentation — Work in progress

This page has not been confirmed as accurate or approved for publication. Current documentation version: 0.1.0-internal.1.

Language tour

This tour introduces the intended Sagan language, not an executable tutorial. The tokenizer recognizes the vocabulary used here, but parsing, type-checking, and execution are not implemented.

Follow the tour through values and variables, functions, classes and interfaces, control flow, and errors. The language reference tracks which details are settled, provisional, or open.