- reference/air-features.md: normative feature registry (arrays, atomics, capabilities, channels, effects, islands, ownership, regions, sync, tasks; all reserved), dependency closures, reasons for E0006 - spec 07 §8.1/§8.5/§8.7: features are mandatory, validated before the body, full dependency closure declared, sorted canonically; every extension belongs to a feature; published feature semantics immutable - spec 05 §8: features vs effects vs capabilities - src/air/features.zig: registry, validation, sync test with the docs - parser validates features first; E0006 carries `reason` - `aji features` prints supported AIR format, language and features - conformance: unknown, reserved and duplicate feature tests - plan: feature publication tasks in phases 1-5
41 lines
1.2 KiB
Zig
41 lines
1.2 KiB
Zig
//! AIR — Aji Intermediate Representation (spec 07, spec 07a, RFC 0004).
|
|
//!
|
|
//! Text AIR is the canonical interchange until opcode numbering freezes
|
|
//! (RFC 0004 "Binary stability").
|
|
|
|
const module = @import("air/module.zig");
|
|
|
|
pub const format_version = module.format_version;
|
|
pub const lang_version = module.lang_version;
|
|
|
|
pub const Module = module.Module;
|
|
pub const Function = module.Function;
|
|
pub const Block = module.Block;
|
|
pub const Inst = module.Inst;
|
|
pub const Op = module.Op;
|
|
pub const Type = module.Type;
|
|
pub const IntType = module.IntType;
|
|
pub const TypeDecl = module.TypeDecl;
|
|
pub const ValueId = module.ValueId;
|
|
pub const Span = module.Span;
|
|
pub const Param = module.Param;
|
|
pub const Target = module.Target;
|
|
pub const ArithOp = module.ArithOp;
|
|
pub const ArithMode = module.ArithMode;
|
|
pub const BitOp = module.BitOp;
|
|
pub const CmpOp = module.CmpOp;
|
|
pub const CastMode = module.CastMode;
|
|
pub const forEachUse = module.forEachUse;
|
|
pub const successors = module.successors;
|
|
|
|
pub const parse = @import("air/parse.zig");
|
|
pub const print = @import("air/print.zig");
|
|
pub const features = @import("air/features.zig");
|
|
|
|
test {
|
|
_ = module;
|
|
_ = parse;
|
|
_ = print;
|
|
_ = features;
|
|
}
|