LOOPit

variables: p q p1 q20 ...a single letter followed by 0-2 digits
assignments: p := q | p := 10
assignments: p := q + r | p := q - 10<var> := <var|int> (+ - *) <var|int>
loop: loop p do ... endloop <var> do <program> end
if: if p <= 4 then ... else ... endif <var> (= <= >= ~= < >) <var|int> then <program> else <program> end
The else-branch is optional
~= denotes inequality
while: while p ~= 0 do ... endwhile <cond> do <program> end
<cond> is a condition -- see the if-statement
goto: goto 10
goto: if p goto 0if <cond> goto <line>
<cond> is a condition (see the if-statement) or a single variable
if <cond> is a single variable, the condition is interpreted as = 0
linenumber 0 can be used to terminate the program

general informationuse p := 10 etc. to initialise the program
semicolons and whitespaces are mostly optional
indentation is optional