CS450 Compiler Design
13
Syntax Specification
•A CFG defines a set of strings. This is called the language of the CFG.
•
•Example:
•Start ::= Letter
•        | Start Letter
•        | Start Digit
•Letter ::= a | b | c | d | ... | z
•Digit  ::= 0 | 1 | 2 | ... | 9
•
•Q: What is the “language” defined by this grammar?