1 votes 1 votes 14.Show that the grammar S → aSb |SS| e is ambiguous, but that the language denoted by it is not. Can someone share the approach for second part. Theory of Computation context-free-language context-free-grammar ambiguous + – mk_007 asked Oct 2, 2021 mk_007 271 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes there is no specific approach for solving these kind of questions. question ask that, show that there exist one unambiguous Grammar which is equivalent to the given grammar. check this : S -> epsilon | ab | AB B -> AB| A A -> aAb | ab | aABb Shaik Masthan answered Oct 11, 2021 • edited Oct 11, 2021 by Shaik Masthan Shaik Masthan comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes S ->∈ | ab | AB B -> AB| A A -> aAb | ab | aABb virusbug answered Nov 13, 2021 virusbug comment Share Follow See all 0 reply Please log in or register to add a comment.