已知文法G[Z],其产生规则P为: Z→Be|AB|ZC A→Ae|e B →Ce|Af C→Cf D→f,其压缩过文法为:
A、Z→Be|ABA∷=Ae|eB∷=Af;
B、Z→Be|ABA∷=Ae|eB→Ce|Af;
C、Z→Be|ABA∷=Ae|e;
D、Z→Be|AB|ZCZ→Be|ABA∷=Ae|eB→Ce|Af
发布时间:2024-09-20 07:19:23
A、Z→Be|ABA∷=Ae|eB∷=Af;
B、Z→Be|ABA∷=Ae|eB→Ce|Af;
C、Z→Be|ABA∷=Ae|e;
D、Z→Be|AB|ZCZ→Be|ABA∷=Ae|eB→Ce|Af