Commit Graph
3 Commits
Author SHA1 Message Date
dev 19dff5dd52 air: feature negotiation for AIR format 0 (DD-014)
- 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
2026-10-04 12:49:29 +03:00
dev 8ca93d0fa6 air: fix out-of-bounds on type line without a name
Found by mutation fuzzing of the conformance corpus through `aji check`
and `aji run` (6000 mutants, no remaining crashes). Adds a regression
test.
2026-10-04 12:32:24 +03:00
dev ef6a2c5475 air: data model, text parser and canonical serializer (P0-4, P0-5, P0-6)
- src/air/module.zig: types, values, instructions, blocks, functions
- src/air/parse.zig: lexer and parser for text AIR format 0 with name
  resolution; reports E0001-E0006, E5001 (undefined/double definition),
  E5002 (unknown block label)
- src/air/print.zig: canonical serializer (spec 07 §8.5) with a
  deterministic round-trip fuzz test
- diag registry: E0xxx, E1003, T0xxx
2026-10-04 12:19:38 +03:00