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