Expand description
One .fi program, typed. Its data, its locals, in the
TyEnv. Its code, its Body in Bodies: each
event’s and process’s signature beside its variables and term, typed,
and its entry points. And the foreign functions the programs call, each
typed once (type_ffis).
A parameter or carrier takes its signature’s type, a receive binder
its channel’s payload type (only a buffered channel has one, so only
its receives bind), every other variable its declared type.
Terms are typed by expr.rs and body.rs.
Structs§
- Body
- A program’s code, typed: its events and processes, each its signature beside its body, and its entry points.
- Event
Body - An event: its signature as written, its variables and statements.
- Proc
Body - A process: its signature as written, its variables and term.