Draft specification, RFCs, reference registries and examples, plus the reference-implementation skeleton: build.zig, diagnostic envelope with error-code registry synced to docs, aji CLI, conformance runner with seed tests, CI and contributor docs.
1.3 KiB
1.3 KiB
Aji Specification 0.1 — Entry Point
This repository intentionally splits the language specification by semantic domain.
Normative specification: docs/spec/INDEX.md.
The most important documents are:
03-memory-model.md04-concurrency-and-atomics.md05-effects-and-capabilities.md07-air.md08-verifier.md11-determinism-and-replay.md13-contracts-and-unsafe.md
Major rationale documents are under docs/rfcs/.
The current draft's central semantic model is:
local value
│
├── ref<T> / mut<T> borrows
│
├── Own<T> per-object ownership
│
├── Region bulk lifetime
│ │
│ └── Island<T> closed movable mutable graph
│ │
│ └── freeze → Frozen<T>
│
└── synchronized sharing → Mutex/RwLock/Atomic/Channel
Concurrency is deliberately ordered by preference:
ownership transfer
→ shared immutable data
→ synchronized shared state
→ atomics
→ unsafe raw concurrency