Skip to Content
Cloth
DocumentationLanguage ReferenceLanguage RulesOverview

Language rules

Start with source files and syntax, then variables, functions, and control flow.

For data modeling, read classes, inheritance, and interfaces. Value types have their own reference pages: enums and structs.

Packages and imports explains how types in separate files become available. Nullability and conversions explain how values move between compatible types.

Use operators, meta operations, binary data, and printing as lookup pages. Memory and errors describes managed lifetime, typed propagation, and terminal runtime failures. Input and primitive parsing covers Console.ReadLine, exact File.ReadBytes input, and strict T::parse(text) conversion.