Local variable names.
Equations
Instances For
Array names: numbers, so that distinct arrays are told apart by arithmetic.
Equations
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Boolean negation and most-significant-bit primitives.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
RAM instructions with bounded loops, guarded failure and framed procedure calls.
- skip : Stmt
- assign (x : Reg) (e : Expr) : Stmt
- store (a : Arr) (i e : Expr) : Stmt
- alloc
(a : Arr)
(n : Expr)
: Stmt
Give array
acapacityn(the value of the expression), all cells reading 0. One step: constant-time-initializable arrays. - seq (s t : Stmt) : Stmt
- ite (c : Expr) (s t : Stmt) : Stmt
- loop (x : Reg) (n : Expr) (body : Stmt) : Stmt
- call (name : String) (params : List Reg) (body : Stmt) (rets : List Reg) (args : List Expr) (dsts : List Reg) : Stmt
- fail : Stmt
A failed algorithmic guard: aborts up to the nearest
catch. - catch (s h : Stmt) : Stmt
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
A procedure declaration; Proc.invoke turns it into a call statement.
- name : String
Diagnostic name carried by a procedure call.
Local registers receiving the argument values.
Local registers whose final values are returned.
- body : Stmt
Statement executed in the procedure’s local frame.
Instances For
Concrete syntax #
Equations
Equations
Shift left: a <<< b is a * 2^b.
Shift right: a >>> b is a / 2^b.
Comparisons return 1 or 0.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Non-strict comparison of two machine expressions.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equality comparison of two machine expressions.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Boolean conjunction of two machine expressions.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Boolean disjunction of two machine expressions.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Boolean negation of a machine expression.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Read an indexed cell of a named machine array.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Sequential composition of two machine statements.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Assignment of a machine expression to a local register.
Equations
- One or more equations did not get rendered due to their size.