Question: 1 Using DCG notation, write a grammar for a language that is just like E , except that it enforces agreement between the subject and
1 Using DCG notation, write a grammar for a language that is just like E , 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.”
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
