Question: Let us have a language L = { anbncn : n > = 0 } over alphabet = { a , b , c }
Let us have a language Lanbncn : n over alphabet abc which is a typical contextsensitive language that is not contextfree.
Create a grammar generating this language, ie create a grammar G such that LGL This grammar does not have to be contextsensitive
If your grammar is not context sensitive find all production rules that violate the conditions of contextsensitive grammars.
With your grammar, show a sequence of derivations that generates string "aaabbbccc".
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
