Repository navigation
v0.10.0 — The Programming-Language Layer
ACL v0.10.0 — the programming-language layer
.aclp programs now branch, match content, run on time, and are
checked for deadlock at compile time. 8 additions (spec §34):
Guards (§34.1)
on accept when quoted -> begin; on accept when not quoted -> send error — dispatch gated on session state, compile-checked (not/and/or, bool states only).
Typed session states (§34.2)
state n: int; — runtime-checked assignments; guards require bool states at compile time.
Content patterns (§34.3)
on request {"task": "deploy*"} from buyer — JSON subset matching with prefix wildcards.
Time-driven handlers (§34.4)
every 60s while active as seller -> send progress to buyer — host injects tick(elapsed_ms); the runtime stays clock-free and deterministic (re-ticking never double-fires).
Linearity — deadlock prevention at COMPILE time (§34.5)
Every send must have a receiver: an orphan send is a compile error. n>2 protocols must be fully attributed.
Liveness (§34.6)
Static reachability analysis: handlers that cannot reach a terminal action warn as possible deadlocks.
Endpoint codegen (§34.7)
aclc gen agent py file.aclp out_dir — runnable Python agent skeletons per role. Validated end-to-end: generated agents complete the commitment lifecycle (tested with the actual generated code).
Transcript verification (§34.8)
verify_transcript(prog, events) replays recorded exchanges — off-policy messages are errors, unhandled deliveries are warnings.
Also
byelegal after every performative (session termination is always available)- 101/101 tests
See SPEC.md §34.