Structs§
- Agent
Def - Top-level agent definition:
agent Name { fn handle(msg: trit) -> trit { ... } }v0.1: agents have a singlehandlemethod that processes each incoming message. - Function
- Import
Spec - A
from <source> import <names>statement. - Program
- Struct
Def - Top-level struct definition:
struct Name { field: type, ... }
Enums§
- BinOp
- Expr
- Import
Names - What to pull out of the import source.
- Import
Source - Source of a
from ... importstatement. - Stmt
- Type
- UnOp