Phase 2: manifest grants (P2-9) and exit review (P2-12)
- src/manifest.zig: strict aji.toml subset ([package], [capabilities], [metadata]); errors with line numbers - aji run --manifest: entry relative to the manifest, manifest grants replaced per parameter by --grant; usage error on manifest problems - examples/packages/hello as a runnable package, checked in CI - implemented_phase = 2; Phase 2 exit review; README and AGENTS updated
This commit is contained in:
1 parent
0948eb7347
commit
778d563182
10 files changed
+332
-15
No files matched your search
@@ -70,11 +70,12 @@ zig build test # unit tests
|
||||
zig build conformance # conformance suite
|
||||
```
|
||||
|
||||
Current state: Phases 0 and 1 are complete. `aji check` parses and verifies text AIR format 0 with the features `ownership` (frame storage, second-class borrows) and `arrays` (arrays, slices, bounds proofs); `aji run` executes it deterministically. Phase 2 (effects, capabilities, heap, regions) is next; see [`docs/plan/README.md`](docs/plan/README.md).
|
||||
Current state: Phases 0–2 are complete. AIR format 0 has frame storage and second-class borrows, arrays and slices with bounds proofs, flat effects and unforgeable capabilities, linear I/O resources (files, TCP), heap owners and regions with allocation budgets, and explicit unsafe boundaries. `aji run` executes programs in a reproducible deterministic world by default and against the real OS with `--profile hosted`. Phase 3 (structured concurrency) is next; see [`docs/plan/README.md`](docs/plan/README.md).
|
||||
|
||||
```sh
|
||||
zig build run -- run tests/conformance/phase0/run/fibonacci.air
|
||||
# {"status":"returned","value":2880067194370816120}
|
||||
zig build
|
||||
zig-out/bin/aji run --manifest examples/packages/hello/aji.toml
|
||||
# {"status":"returned","value":null,"stdout":"hello, aji\n","stderr":"","files":{}}
|
||||
```
|
||||
|
||||
## Where to start
|
||||
|
||||
Reference in new issue
Block a user