- air: types local/ref/mut/array/slice/slice_mut, from-returns, multi-result binding, 18 new instructions; feature gating reports E0006 feature_not_declared; borrow-typed block parameters gated by borrow_joins; printer and round-trip tests for all new forms - verifier: second-class and zeroable type rules (E1001); local.alloc only in entry (E5002); frame size accounting (E5101); stages init (E1010), borrow (E2101, E2102, E2105-E2108) and bounds facts (E2103); value types shared between stages - interp: frame cells, places, slices, deep copies between storage and SSA values, T0008 bounds traps - features arrays and ownership supported; implemented_phase = 1 - conformance: 5 accept, 18 reject, 11 run tests for Phase 1, including the file-copy core exit program; 6000 mutants without a crash
22 lines
719 B
Zig
22 lines
719 B
Zig
//! Aji reference implementation.
|
|
//!
|
|
//! Trusted computing base (AGENTS.md): verifier, AIR interpreter semantics,
|
|
//! backend, unsafe runtime modules, ABI/platform descriptions. Keep modules
|
|
//! small and keep the verifier free of heuristics.
|
|
|
|
pub const version = "0.0.0-dev";
|
|
|
|
/// Highest plan phase (docs/plan/README.md) whose features are implemented.
|
|
/// Conformance tests for later phases are reported as PENDING.
|
|
pub const implemented_phase: u8 = 1;
|
|
|
|
pub const diag = @import("diag.zig");
|
|
pub const air = @import("air.zig");
|
|
pub const verifier = @import("verifier.zig");
|
|
pub const interp = @import("interp.zig");
|
|
pub const check = @import("check.zig");
|
|
|
|
test {
|
|
@import("std").testing.refAllDecls(@This());
|
|
}
|