Package-level declarations

Types

Link copied to clipboard
data class Branch(val guard: Expression, val body: List<Instruction>, val alternative: List<Instruction> = listOf()) : ControlStructure

Conditional branch Instruction. Executes the Instructions in body if the guard evaluates to True; otherwise, executes the instructions in alternative.

Link copied to clipboard
Link copied to clipboard
data class Iteration(val interval: Interval, val iterator: VariableReference, val body: List<Instruction>) : ControlStructure

Iteration Instruction. Iterates over every integer in interval with an iterator variable, and executes the instructions in body for each iteration.