Re: cfg for this language



In article <1140620446.587574.96310@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"kool_guy" <yjaplomb@xxxxxxxxx> writes:
Can someone give a cfg for

L = {xcy | x!=(reverse of y), (x, y in {a, b}*) }

S = aSa | bSb | C
C = aBcBb | bBcBa | ABc | cBA
B = | AB
A = a | b

--
Heiner Marxen http://www.drb.insel.de/~heiner/
.