CS 3304: Comparative Languages
Syntax
[
Course Documents
] : [
Syntax
]
Previous
Contents
Next
Keyword Index
BNF Nonterminals
In BNF,
abstractions
are used to represent classes of syntactic structures--they act like syntactic variables (also called
nonterminal symbols
)
<while_stmt> -> while <logic_expr> do <stmt>
This is a
rule
; it describes the structure of a while statement