Question: undefined Consider the grammar: 5+ 'I do not' Verbl 'I do not' Verb Link Verb Link> 'or' l'nor Verb+ 'cheat' | 'lie' 2) Is this
undefined
Consider the grammar: 5+ 'I do not' Verbl 'I do not' Verb Link Verb Link> 'or' l'nor Verb+ 'cheat' | 'lie' 2) Is this a regular grammar? D) Is this a context free grammar? =) How many production rules it has? d) Is it recursive? If yes on what side? 2) Is it ambiguous? Why? F) Produce the parse tree and leftmost derivations for the following inputs: I do not cheat I do not cheat nor lie or cheat Consider the grammar: 5+ 'I do not' Verbl 'I do not' Verb Link Verb Link> 'or' l'nor Verb+ 'cheat' | 'lie' 2) Is this a regular grammar? D) Is this a context free grammar? =) How many production rules it has? d) Is it recursive? If yes on what side? 2) Is it ambiguous? Why? F) Produce the parse tree and leftmost derivations for the following inputs: I do not cheat I do not cheat nor lie or cheat
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
