Skip to content

Documentation - The ZZ Programming Language

Welcome to ZZ.

  1. Download and Install — One script.
  2. Quick start — A program in under a minute, including an HTTP server.
  3. Project layout — zz.toml, entry point, imports, tests, benches, assets.
  4. REPL tour — Interactive stdlib probing.
  5. Cheatsheet — One-page reference for commands and syntax.
  • Values, not references. Variables hold independent values; functions get copies. No borrow checker, no aliasing to reason about.
  • Inferred, then checked. := infers, : T = pins. The checker reports every error in one pass with a fix hint.
  • Pipelines over nesting. |> passes the left value as the first argument; match + ? + ?? keep happy-path code flat.
  • Same on VM and native. zz run (VM) and zz build (AOT) agree bit-for-bit on ints and floats.
  • Language — Values, types, control flow, modules, and the mental model behind ZZ.
  • Standard library — Strings, data, HTTP, databases, crypto, concurrency, and more.
  • Tooling — CLI, formatter, test runner, package manager, editor integration.
  • Guides — Recipes, diagnostics explained, VM vs native parity.
  • Compiler — Architecture, checker, runtime, and code generation.

The complete stdlib signature index lives on one page: Stdlib reference.

Next: Install.