Grammar:<br/>S→SA|A , A→a|b<br/>For<br/>the sentence aba, the following () is a canonical derivation.
A、S→SA→SAA→AAA→aAA→abA→aba
B、S→SA→SAA→AAA→AAa→Aba→aba
C、S→SA→SAA→SAa→Sba→Aba→aba
D、S→SA→Sa→SAa→Sba→Aba→aba
发布时间:2024-09-27 05:49:16
A、S→SA→SAA→AAA→aAA→abA→aba
B、S→SA→SAA→AAA→AAa→Aba→aba
C、S→SA→SAA→SAa→Sba→Aba→aba
D、S→SA→Sa→SAa→Sba→Aba→aba