9/15/17 1
CSCI 2320 Syntax
MOHAMMAD T. IRFAN
Review of defini@ons (see classnote)
§ Syntax (form): expressed by grammar § CFG/BNF: (1) terminal (2) nonterminal (3) producEon § SentenEal form § Sentence § Language § LeG-recursive vs. right-recursive producEon § DerivaEon & parse tree
§ LeG-most vs. right-most derivaEon
§ Ambiguous grammar: 2 parse trees for the same sentence