Language reference
For readers who can already follow a small Toit program. These pages explain individual features and their edge cases; read them as needed. For a first program, start with the beginner tutorial. For a quick orientation from another language, read Toit for programmers.
| Topic | Pages |
| Reading and organizing code | Syntax, definitions and types, imports, style |
| Values and data | Booleans, numbers, strings, collections and bytes, conversions, bitwise operations |
| Program structure | Control flow, classes and interfaces, blocks and lambdas |
| Errors and concurrency | Exceptions, tasks and synchronization |
The comparison cheat sheet puts common Toit syntax next to Python, C++, Java, and JavaScript equivalents.
The SDK documentation covers libraries supplied with Toit. Packages explains how to use libraries distributed separately.