charsでL
構成される言語の EBNF 仕様を指定し、言語の文が次の形式を持つようにします。a
b
c
L : sqsR
-s is a string of any combination of the characters a and b
-sR is that same string s reversed
-q is an odd number of c's followed by either an odd number of b's
or an even number of a’s.
私がこれまでに持っているもの:
L -> S
S -> {a}{b}Q
Q ->
これが正しければ、どのように生成するか、またどのように逆Q
に表現するかはまだよくわかりません。S