Documentation
Draton, documented as a language and toolchain.
This site is the operational manual for Draton: canonical syntax, language structure, compiler architecture, runtime behavior, tooling, install paths, and contributor rules.
Start with the language
Read the canonical overview, learn the syntax surface, and understand the contract model without picking through unrelated contributor notes.
Install and run Draton
Use the install guide, quickstart, and early preview notes to get from zero to a running project with the official CLI.
Understand the toolchain
Follow the compiler, runtime, and self-host docs to see how the Rust frontend, runtime, and mirror fit together.
What this site covers
The docs are organized around Draton as it actually exists in this repository: a readability-first language with one canonical syntax lane, a Rust toolchain as the source of truth, an operational self-host mirror, and a CLI-centered early tooling ecosystem.
- Language guide: syntax, contracts, control flow, modules, classes, layers, and builtins.
- Tooling guide: build, run, format, lint, tasks, and the language server.
- Compiler and runtime guide: pipeline, runtime model, GC scorecards, and self-host boundary.
- Contributor rules: anti-drift policy, migration boundaries, release workflow, and roadmap.