Getting started
This section is for people who want to install Draton, run real commands, and understand the current preview boundaries without reading the whole architecture first.
Current product state
Draton is past the syntax-stabilization phase and into the tooling phase.
What is already in place:
- canonical syntax and strict mode
- Rust compiler/tooling path as the source of truth
- self-host executable/compiler path migration completed
- early tooling suite under
drat - GitHub release packages for supported preview targets
What is intentionally still limited:
- the release line is still called an early preview
- the docs are strict about canonical syntax and anti-drift policy
- full-tree strict self-host CI is still limited by deferred dump/printer cleanup
The shortest path to a working project
- Install Draton from a release archive or installer.
- Run
drat --version. - Run
drat run examples/hello.dt. - Read the quickstart.
- Read the language syntax overview.
What to expect from the language
Draton code aims to stay explicit:
let name = input("Name: ")
println(f"Hello {name}")
The canonical surface is built around:
let- explicit
return import { ... } from ...@type { ... }classlayer
If you come from a language with many equally blessed styles, Draton will feel narrower by design.