BNF Structure and Conventions BNF grammar follows the following general structure: nonterminal_symbol terminal_and/or_nonterminal_ symbols For example: write_expression numeric_expression |string_expression Symbols are delimited by spaces; underscores are frequently used for longer names.
BNF grammar follows the following general structure:
For example:
Symbols are delimited by spaces; underscores are frequently used for longer names.