Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 258 Bytes

File metadata and controls

6 lines (4 loc) · 258 Bytes

Using DCG notation, write a grammar for a language that is just like $\large \varepsilon_1$, except that it enforces agreement between the subject and verb of a sentence and thus does not generate ungrammatical sentences such as “I smells the wumpus.”