Primitive Recursive Functions
The assignments x:=c, x:=x+c and x:=x-c are LOOP-Programs (x a variable, c a constant)
If P and Q are LOOP-Programs, then the sequence P ; Q is a LOOP-Program.
If P is a LOOP-Program, then LOOP x DO P END is a LOOP-Program.
x:=0
LOOP y DO
LOOP z DO
x:=x+1
END
END