User guide

226 APPENDIX A. BCPL SYNTAX DIAGRAMS
and not
{ IF i>10 DO i := i/2 } REPEATUNTIL i<5
A useful property of these diagrams is that, once a test box has been successfully
traversed, previous branching decisions need not be reconsidered and so the parser
need never backtrack.
eof
.
section
program
section
SECTION string ;
NEEDS string ;
name = E0 ; } ;
{
MANIFEST
STATIC
GLOBAL
C
E0
}
;
E0:name
{
AND
=
BE
)name
,
(nameLET
Figure A.1: Program, Section