If B is an expression of type BOOLEAN and S is a statement:
B
BOOLEAN
S
WHILE B DO S END
LOOP IF B THEN S ELSE EXIT END END