Files
aji/tools/eval/languages/aji_source.json
T
dev 3e2d9b63a7 P6A-8: Source Reference Bundle and harness profile aji_source
- source bundle: a /docs directory with QUICK.md (Quick Reference plus a
  where-to-read table), language/*.md, diagnostics/errors.md and the AIR
  bundle only under air/; built from docs/agent/source-bundle.txt
  (> output files, @manifest includes) by zig build agent-reference
- Quick Reference examples are checked: every aji block must be an
  excerpt of a conformance program in tests/conformance/source/quickref
  (zig build test fails otherwise); QR fixes found by the check
  (mut d = data, region not auto-borrowed, statement/borrow blocks that
  could not verify, io_error match)
- frontend: task.*/channel.*/mutex.* are not-yet-implemented, not E7006
- aji lower --stats: mechanical_air_eliminated_raw and _normalized (each
  byte-string materialization counted as one constant; spec 15 §11)
- harness: profile aji_source (doc_groups), per-file and per-group docs
  metrics on distinctive lines, profile columns (tool calls, lowered AIR
  raw/normalized, docs files read, IR-form and type-mismatch counts),
  dev-echo aji_source variant, scripted run and test, source token report
- plan: P6A-8 done, P6A-9 criteria; Q-021/Q-022 resolved; unsafe block
  deferred
2026-10-05 13:16:51 +03:00

39 lines
1.3 KiB
JSON

{
"name": "aji_source",
"display": "Aji (condition Aji/source: .aji source language 0.1)",
"toolchain": {
"binaries": [
"${REPO}/zig-out/bin/aji"
],
"version": [
[
"${REPO}/zig-out/bin/aji",
"features"
]
]
},
"docs": {
"env": "AJI_EVAL_AJI_SOURCE_DOCS",
"default": "${REPO}/zig-out/agent/source"
},
"doc_groups": {
"quick_reference": ["QUICK.md"],
"source_docs": ["language/", "diagnostics/"],
"air_docs": ["air/"]
},
"source_extensions": [
".aji"
],
"instructions": "Language: Aji, written as `.aji` source (Aji source language 0.1).\nToolchain: `aji check FILE.aji` verifies a module and prints diagnostics as JSON lines that point at your source; `aji run [--grant P=KIND[:SCOPE]]... [--stdin TEXT] FILE.aji` verifies and runs `main` in the deterministic profile and prints one JSON run record; `aji --help` lists all commands.\nDocumentation: /docs (read-only). Start with /docs/QUICK.md: it covers most programs and says which file under /docs/language or /docs/diagnostics to open for details. /docs/air is the reference for AIR, the language `.aji` lowers to; you do not need it to write `.aji`.",
"classify": {
"check": [
"aji check"
],
"build": [],
"test": [
"aji run"
]
},
"diagnostic_pattern": "\"severity\":\"error\""
}