Consider the production of the grammar S->AA A->aa A->bb Describe the language specified by the production grammar.
Consider the production of the grammar S->AA A->aa A->bb Describe the language specified by the production grammar. Correct Answer L = {aaaa,aabb,bbaa,bbbb}
S->AA (substitute A->aa) S->aaaa S->AA (substitute A->aa ) S->aaA (substitute A->bb) S->aabb S->AA (substitute A->bb the A->aa) S->bbaa S->AA (substitute A->bb) S->bbbb.