Xo is experimental. The source is now public on GitHub, or try Xo in your browser.
Menu · Specification

Docs

Specification

The specification is the source of truth for Xo. These pages are generated from spec/core.md, spec/std.md and spec/conventions.md in the repository, so they always match the released toolchain’s draft.

  • Core language: syntax, types, errors, concurrency, effects, modules, and the diagnostic codes.
  • Standard library: prelude methods and the std packages.
  • Conventions: naming, errors, collections, performance, concurrency, tests and layout, each rule with its source.