Draton 12-Month Roadmap
This roadmap describes the next year of development for Draton based on the repository's current state and its locked language philosophy.
It is a planning document, not a syntax proposal. It assumes the canonical syntax rules, anti-drift policies, and language manifesto remain in force.
Project status summary
Draton has completed its syntax-stabilization phase for the executable/compiler path:
- canonical syntax is defined and documented
- deprecated inline type syntax is in compatibility mode, with strict enforcement available
- the Rust frontend/tooling path is authoritative
- the self-host compiler is operational for the executable/compiler path
- strict-canonical CI guardrails are active for the migrated self-host subset
- only two non-executable dump/printer modules remain excluded from full-tree strict self-host coverage:
src/ast/dump.dtsrc/typeck/dump.dt
This means Draton is no longer primarily in a syntax-definition phase. It is entering a tooling, ecosystem, and performance phase.
Strategic direction
Over the next year, Draton should focus on becoming a strong tooling-first language and compiler platform.
The intended direction is:
- make the existing language surface easier to use through strong tooling
- improve diagnostics, formatting, editing support, and bootstrap confidence
- build ecosystem foundations that reinforce, rather than dilute, the canonical language design
- invest in compiler speed and stability so self-host and external tooling work becomes practical
- evolve carefully only where changes preserve readability-first design and the
@typecontract model
The language should grow by making the current design more usable and more reliable, not by reopening settled syntax questions.
Phase 1: 0-3 months
Focus: developer tooling fundamentals and stabilization.
Priority work:
- stabilize
drat fmtso canonical syntax has one predictable formatter - improve parser/typechecker/codegen diagnostics for common user mistakes
- harden
drat lsparound diagnostics, hover, and definition lookup - tighten bootstrap stability and make self-host verification less noisy
- finish contributor-facing docs for install, syntax, self-host status, and workflow expectations
Concrete engineering steps:
- add formatter regression coverage for canonical syntax forms
- improve deprecation diagnostics so compatibility-mode warnings stay actionable and concise
- add more LSP smoke and integration tests around canonical syntax constructs
- reduce friction in self-host bootstrap verification and keep CI subset fast and trustworthy
- make docs/examples consistently runnable from the repository root
Expected outcome:
- new contributors can format, build, and inspect Draton code with low friction
- canonical syntax becomes easier to maintain because tooling enforces it by default
Phase 2: 3-6 months
Focus: ecosystem infrastructure and workflow ergonomics.
Priority work:
- define a practical package/dependency story around
drat - improve CLI ergonomics for common project workflows
- add plugin or extension points for tooling integration where this can be done without weakening core language rules
- build small task/build automation utilities in Draton itself
Concrete engineering steps:
- make dependency management commands predictable and well-documented
- improve project layout conventions, templates, and lockfile behavior
- expose stable hooks for tooling-oriented extensions such as format/lint/doc/test workflows
- add example projects showing how Draton can drive structured automation without inventing new syntax
Expected outcome:
- Draton becomes easier to adopt for small real projects
- the ecosystem story becomes concrete enough for external contributors to build on
Phase 3: 6-9 months
Focus: compiler performance and maturity.
Priority work:
- improve type inference performance on larger programs
- improve code generation performance and backend throughput
- reduce self-host bootstrap time
- introduce incremental or cache-aware build capabilities where technically justified
Concrete engineering steps:
- profile the Rust frontend and self-host bootstrap path with representative workloads
- remove obvious hot paths in inference, monomorphization, and code generation
- make build outputs and intermediate artifacts easier to reuse safely
- measure strict-canonical checks and self-host bootstrap cost in CI over time
Expected outcome:
- Draton feels materially faster in normal edit-build-run cycles
- self-host workflows become more practical for day-to-day compiler work
Phase 4: 9-12 months
Focus: ecosystem adoption and flagship tooling.
Priority work:
- ship at least one production-quality official tool written in Draton
- grow a small official library set that supports real usage without bloating the language surface
- improve tutorials, reference docs, and onboarding for outside contributors
- strengthen release quality and user-facing install/verification flows
Concrete engineering steps:
- select one flagship tool that demonstrates Draton's tooling-first value
- identify a narrow set of official libraries with clear maintenance value
- add end-to-end tutorials that reflect canonical syntax and real repository workflows
- make contribution guides and issue triage easier for external engineers
Expected outcome:
- Draton demonstrates value through working tools, not just compiler internals
- external contributors can onboard without relearning hidden repository rules
Non-goals
The roadmap explicitly does not prioritize the following unless a strong repository-specific justification emerges:
- large syntax redesign
- undoing or weakening canonical syntax rules
- treating compatibility syntax as a second supported philosophy
- feature bloat for its own sake
- broad language-surface expansion without strong tooling or ecosystem need
- speculative syntax additions just to match other languages
- reopening settled questions around
let, explicitreturn, brace imports,@type, or class/layer structure
Success indicators
Signals that the roadmap is working:
drat fmtis stable enough to be trusted in normal development and CIdrat lspprovides reliable diagnostics and basic navigation in real Draton files- bootstrap and self-host verification are repeatable and less noisy
- at least one official production-quality tool is built in Draton
- package/dependency workflows are usable enough for small real projects
- bootstrap and compile performance are measurably improved over current baselines
- external contributors submit PRs for tooling, docs, or ecosystem work without needing syntax clarification first
Alignment with repository philosophy
This roadmap preserves the repository's design commitments:
- canonical syntax remains stable rather than being reopened for experimentation
- readability-first code remains the default expectation
@typestays a contract layer, not mandatory inline syntax- strict mode and CI remain anti-drift mechanisms, not optional polish
- tooling maturity reinforces the language philosophy by making the canonical style easier to use correctly
In short:
- code continues to express behavior
@typecontinues to express contracts- tooling, docs, and CI make that split easier to maintain over time