编译原理 推导题 对文法(G)=(Vn,Vr,P,S),Vn={S,A,B} Vr={a,b}开始符为S,P .对文法(G)=(Vn,Vr,P,S),Vn={S,A,B} Vr={a,b}开始符为S,P .S-->aB|bA A-->aS| bAA| a B-->bS| aBB| b给出字符串aaabbabba的最左推导

问题描述:

编译原理 推导题 对文法(G)=(Vn,Vr,P,S),Vn={S,A,B} Vr={a,b}开始符为S,P .
对文法(G)=(Vn,Vr,P,S),Vn={S,A,B} Vr={a,b}开始符为S,P .S-->aB|bA A-->aS| bAA| a B-->bS| aBB| b
给出字符串aaabbabba的最左推导

5