如何为以下语言生成正式的上下文无关语法:
{ai bjck | i != j or j != k}
我有以下作品,但无法理解:
S->AX | YC unequal b’s c’s or a’s b’s
A-> aA | e 0 or more A’s
C -> cC |e 0 or more c’s
B -> bB | e 0 or more B’s
X -> bXc | bB | cC equal b’s, c’s then 1+ b’s,
1+C’s (i.e. unequal b’s and c’s)
Y -> aYb | bB | aA unequal a’s b’s
谁能帮我理解和解决这个问题?