Auto Language Tour
Welcome to the Auto Language Tour — a hands-on journey through every major feature of Auto.
Each chapter includes runnable .at code examples. Use auto run <file>.at to try them yourself.
Chapters
- Hello, Auto! — Printing, variables, f-strings
- Types — Primitives, structs, enums, tags
- Functions — Parameters, returns, closures
- Control Flow — if/else, loops, break
- Pattern Matching —
isexpressions - Error Handling —
!functions,.?propagation - Collections — Arrays, lists, maps
- Methods & Specs — ext, spec, traits
- Generics — Type parameters, specs
- Modules — use, imports, annotations
- Async — Futures, await, tasks
- Interop — FFI, C/Rust/Python interop