1
, Grammars
Grammars express languages
Example: the English language
sentence noun _ phrase predicate
noun _ phrase article noun
predicate verb
2
,article a
article the
noun cat
noun dog
verb runs
verb walks
3
, A derivation of “the dog walks”:
sentence noun _ phrase predicate
noun _ phrase verb
article noun verb
the noun verb
the dog verb
the dog walks
4