Manuscript Documentation
v0.1.0

Basics#

Start here to understand a source file and the values inside a function. Read source structure and bindings first. The grammar is an exact reference; you can return to it when you need to check a particular syntax rule.

ConceptWhat you will learn
Source filesRead a source file, indentation, comments, and multiline expressions.
Variables and scopeChoose let or var, infer local types, and understand shadowing.
Numbers and booleansUse numeric literals, explicit conversions, checked arithmetic, and durations.
Strings and bytesInterpolate text, encode UTF-8, and distinguish character boundaries.
Expressions and operatorsApply precedence, operand types, and evaluation order.
Source grammarCheck the exact accepted tokens, declarations, suites, and patterns.

Read the grammar as a reference after the practical pages.