- machine
- A state machine with explicit inputs, an optional return type, and a declared service ceiling (
reaches). Entry points, helpers, and loops are all machines; there is no implicit self receiver.
- state
- A named internal control point inside a machine with its own parameter frontier. Jumping to a state transfers control without pushing a call frame.
- transition
- The control-transfer statement that ends a setup block or state body. Arms test a subject or guard list and jump to a state or return a value.
- guard
- A boolean condition or pattern on a
transition arm. Guard facts propagate into the target state, and all arms together must be exhaustive.
- data
- A nominal record or sum-type declaration with a fixed compile-time layout and no hidden fields or default initializers.
- case
- One named variant of a
data sum type (case Red; or case Hit(value: i32)). Inspected exhaustively through transition dispatch.
- payload
- The fields carried by a
case variant, optionally constrained by a case-local where clause (case Hit(value: i32) where value in 0..=255;).
- [copy]
- Marks a pure value type as unrestricted so passing or assigning it duplicates the bits instead of consuming the binding.
- affine
- The default ownership multiplicity for
data: an owned value may move at most once, after which the old binding holds no value.
- reaches
- A machine's conservative external-service ceiling, written
reaches StandardOutput + ProcessExit. Calling a service outside that ceiling is rejected.
- boundary trait
- A portable external interface declared by machine signatures (
public boundary trait Clock). Each member states its own reaches row and any suspends, blocks, or crashes envelope.
- provider
- A stateless type whose
satisfies machines implement a boundary trait for a target or test harness (FakeClock::now satisfies Clock::now).
- static boundary call
- Calling a boundary requirement directly by trait path (
Console::write_line(...)); the build selects the concrete provider for each target.
- domain
- A zero-cost static theory or policy attached to a value (
i32 in Wrapping, Player::Alive), checked at compile time with no runtime tag.
- arithmetic policy
- The overflow contract on an integer type. Plain integers are Exact (every operation must be proven in range);
in Wrapping, in Saturating, and in Trapping select defined overflow behavior.
- proof obligation
- A static requirement the compiler must discharge — array bounds, exact arithmetic range, exhaustive dispatch, or precondition entailment — before accepting the program.
- requires / ensures
- Machine contract clauses:
requires states preconditions the caller must establish; ensures states postconditions guaranteed about result on normal return.
- build machine
machine build(builder: @mutable Build) in build.omg: ordinary checked Omega code that declares the package kind, dependencies (Build::dependency), and per-target ProgramEntry bindings (Build::bind).
- ProcessExit
- The core boundary service (
ProcessExit::exit_process(code: i32)) that ends the process domain with an explicit status code. Standard input and standard output have their own reach identities.