AIR: linear atomic<T> (AtomicScalar), atomic.new/take/load/store/RMW/ cmpxchg (two results)/fence with explicit orderings; feature atomics published. Verifier: ordering tables (E4201), ordinary access (E4202), effects [atomic] / [atomic, atomic.weak], linearity, take while lent (E4101, also for mutex.take). Interpreter: timestamped message machine (src/interp/weak.zig); views travel through spawn/join, channels, mutexes, close and cancel; seq_cst reads the latest message and programs without weak reads make no extra draw (existing records unchanged). aji explore: exhaustive exploration that branches only before visible operations. Litmus: 20/20 tests give exactly the oracle's sets; differential test (1500 random programs) found no unsound outcome. .aji layer 10, Quick Reference atomics, source coverage 67/67, audit report atomic_operations. AIR bundle +5.9 %, QUICK.md +0.5k.
131 lines
2.5 KiB
JSON
131 lines
2.5 KiB
JSON
[
|
|
{
|
|
"label": "phase-2 baseline (AIR format 0)",
|
|
"language": "aji",
|
|
"air": 0,
|
|
"phase": 2,
|
|
"files": 18,
|
|
"sections": 29,
|
|
"bytes": 104250,
|
|
"lines": 1630,
|
|
"words": 16197,
|
|
"tokens": {
|
|
"cl100k_base": 27347,
|
|
"o200k_base": 27445,
|
|
"qwen2.5": 28230
|
|
}
|
|
},
|
|
{
|
|
"label": "rfc-0011 tasks (Phase 3, part 1)",
|
|
"language": "aji",
|
|
"air": 0,
|
|
"phase": 2,
|
|
"files": 19,
|
|
"sections": 33,
|
|
"bytes": 116126,
|
|
"lines": 1777,
|
|
"words": 18082,
|
|
"tokens": {
|
|
"cl100k_base": 30333,
|
|
"o200k_base": 30433,
|
|
"qwen2.5": 31316
|
|
}
|
|
},
|
|
{
|
|
"label": "rfc-0012 waits, channels, select, mutex (spec)",
|
|
"language": "aji",
|
|
"air": 0,
|
|
"phase": 2,
|
|
"files": 19,
|
|
"sections": 38,
|
|
"bytes": 133781,
|
|
"lines": 2000,
|
|
"words": 20748,
|
|
"tokens": {
|
|
"cl100k_base": 35119,
|
|
"o200k_base": 35219,
|
|
"qwen2.5": 36238
|
|
}
|
|
},
|
|
{
|
|
"label": "Phase 3 (implementation, before exit)",
|
|
"language": "aji",
|
|
"air": 0,
|
|
"phase": 2,
|
|
"files": 19,
|
|
"sections": 38,
|
|
"bytes": 134576,
|
|
"lines": 2002,
|
|
"words": 20884,
|
|
"tokens": {
|
|
"cl100k_base": 35324,
|
|
"o200k_base": 35424,
|
|
"qwen2.5": 36453
|
|
}
|
|
},
|
|
{
|
|
"label": "RFC 0014 islands, frozen graphs, arc (Phase 4)",
|
|
"language": "aji",
|
|
"air": 0,
|
|
"phase": 3,
|
|
"files": 19,
|
|
"sections": 41,
|
|
"bytes": 142918,
|
|
"lines": 2118,
|
|
"words": 22212,
|
|
"tokens": {
|
|
"cl100k_base": 37785,
|
|
"o200k_base": 37888,
|
|
"qwen2.5": 38988
|
|
}
|
|
},
|
|
{
|
|
"label": "P4-11 AIR text grammar for Phases 2\u20134",
|
|
"language": "aji",
|
|
"air": 0,
|
|
"phase": 3,
|
|
"files": 19,
|
|
"sections": 41,
|
|
"bytes": 149279,
|
|
"lines": 2218,
|
|
"words": 22945,
|
|
"tokens": {
|
|
"cl100k_base": 39154,
|
|
"o200k_base": 39306,
|
|
"qwen2.5": 40382
|
|
}
|
|
},
|
|
{
|
|
"label": "RFC 0015 spec integration (atomics reserved)",
|
|
"language": "aji",
|
|
"air": 0,
|
|
"phase": 3,
|
|
"files": 19,
|
|
"sections": 41,
|
|
"bytes": 151929,
|
|
"lines": 2256,
|
|
"words": 23311,
|
|
"tokens": {
|
|
"cl100k_base": 39904,
|
|
"o200k_base": 40049,
|
|
"qwen2.5": 41186
|
|
}
|
|
},
|
|
{
|
|
"label": "Phase 5 atomics implemented (layer 10)",
|
|
"language": "aji",
|
|
"air": 0,
|
|
"phase": 3,
|
|
"files": 19,
|
|
"sections": 48,
|
|
"bytes": 160428,
|
|
"lines": 2413,
|
|
"words": 24607,
|
|
"tokens": {
|
|
"cl100k_base": 42275,
|
|
"o200k_base": 42422,
|
|
"qwen2.5": 43644
|
|
}
|
|
}
|
|
]
|