0
642views
Converting context-free grammar to chomsky normal form and ait greibach normal form

I am sorry , my English is not good.

My question is:

S->aAc|aSc A->aAb|ab

I found this as CNF:

S0->DB|DC S->DB|DC A->DF|DH B->AN C->AN D->a F->b H->AF N->c

İs this correct answer for CNF ? I am not sure about this.

And I cannot find the GNF, can you solve for me (:

Please log in to add an answer.