# A simple english grammar. # Note that we can have an empty string as a RHS, as in the 3rd rule # which says that Adjs can be rewritten as zero or more Adj. S -> NP VP NP -> Art Adjs N Adjs -> Adj Adjs | VP -> V | V NP Art -> the | a | some | no N -> man | ball | woman | table | penguin | garden gnome | ghost | apple V -> hit | took | saw | liked | loved | painted | wanted Adj -> large | funny | weird | crazy | green | grotesque | creepy