Cú pháp của PL/0 mở rộng
Block
;
Program
CONST
VAR
Ident
,
;
PROCEDURE
Block
Statement END BEGIN
Ident
Block
Number
;
,
;
;
Trang 2Statement
CALL
WHILE
THEN
FOR
DO
IF
Ident
TO
Expression
DO
BEGIN
;
Statement
,
:=
Expression
Statement
ELSE
Term
Expression
Term
+
-
+
-
Trang 3Factor Term
Factor
*
/
Term
Expression
Term
+
-
+
-
Condition
<
=
>
>=
<=
<>
Expression Expression
Expression
ODD