2 votes 2 votes Remove all unit-productions, all useless productions, and all λ-productions from the grammar $S\rightarrow aA|aBB,$ $A\rightarrow aaA|\lambda,$ $B\rightarrow bB|bbC,$ $C\rightarrow B.$ What language does this grammar generate? Theory of Computation peter-linz peter-linz-edition4 theory-of-computation context-free-grammar context-free-language + – Naveen Kumar 3 asked Apr 15, 2019 Naveen Kumar 3 2.5k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes After removing Epsilon production S ->aA/a/aBB A->aaA/aa B->bB/bbC C->B -------------------------------------------------------------------------- After removing Unit production S->aA/a/aBB A->aaA/aa B->bB/bbB -------------------------------------------------------------------------- After removing Useless symbol S->aA/a/aBB A->aaA/aa PRANAB NANDY answered Apr 17, 2019 PRANAB NANDY comment Share Follow See all 0 reply Please log in or register to add a comment.