0

Give a context-free grammar that generates the language

A = {a^i b^j c^k | i=j or j=k where i,j,k >= 0}

Is the grammar ambiguous? Why or why not?

Intro. to TOC Sipser 2.10 (international edition) 3.10 (US ed.)

flag
7 
This looks like a homework problem. – Robin Chapman Jul 31 2010 at 17:35
2 
Please see the FAQ mathoverflow.net/faq ; -- textbook exercises are not what MO is for, and there are several good alternatives listed there. – JBL Jul 31 2010 at 18:54

closed as too localized by Robin Chapman, Qiaochu Yuan, José Figueroa-O'Farrill, S. Carnahan Aug 2 2010 at 23:30

Browse other questions tagged or ask your own question.