Skip to main content

Module codegen

Module codegen 

Source
Expand description

§34: endpoint codegen — aclc gen agent py <file.aclp> <out_dir>.

Emits a RUNNABLE Python skeleton per role: the projected handlers as data, the dispatch loop, guard evaluation, and timer ticking. The generated agent has no ACL-specific dependencies — it speaks the protocol the program declares, exactly as compiled.

Functions§

gen_agent_py
Generate the Python agent skeleton for one role’s endpoint.