文件名称:Parser
介绍说明--下载内容均来自于网络,请自行研究使用
(1)本分析程序所分析的文法如下:
G[E]:
E→eBaA
A→a|bAcB
B→dEd|aC
C→e|dC
(2)针对上述文法编写一递归子程序分析程序,该程序的输入是任意符号串,输出是本次输入的符号串是否是该文法的句子的结论。
-(1) The analysis procedure grammar analysis as follows:
G[E]:
E→eBaA
A→a|bAcB
B→dEd|aC
C→e|dC
(2) for the above grammar write a recursive routine analysis program, enter the program is arbitrary string of symbols, this output is a string of symbols whether the input is the grammar of the sentence conclusion.
G[E]:
E→eBaA
A→a|bAcB
B→dEd|aC
C→e|dC
(2)针对上述文法编写一递归子程序分析程序,该程序的输入是任意符号串,输出是本次输入的符号串是否是该文法的句子的结论。
-(1) The analysis procedure grammar analysis as follows:
G[E]:
E→eBaA
A→a|bAcB
B→dEd|aC
C→e|dC
(2) for the above grammar write a recursive routine analysis program, enter the program is arbitrary string of symbols, this output is a string of symbols whether the input is the grammar of the sentence conclusion.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
语法分析\语法分析程序.cpp
语法分析