Skip to content

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 ​

  1. Hello, Auto! — Printing, variables, f-strings
  2. Types — Primitives, structs, enums, tags
  3. Functions — Parameters, returns, closures
  4. Control Flow — if/else, loops, break
  5. Pattern Matching — is expressions
  6. Error Handling — ! functions, .? propagation
  7. Collections — Arrays, lists, maps
  8. Methods & Specs — ext, spec, traits
  9. Generics — Type parameters, specs
  10. Modules — use, imports, annotations
  11. Async — Futures, await, tasks
  12. Interop — FFI, C/Rust/Python interop

基于 MIT 许可发布。