2

How this language is Context free?

$\mathcal{L2}=\{a^ib^jc^i \;|\;i,j\geq 1\}$ Please explain me.

rschwieb
  • 153,510
Sudhir
  • 131

1 Answers1

7

$$S\to a A c$$ $$A\to a A c$$ $$A\to bB$$ $$B\to bB$$ $$B\to \epsilon$$