文件名称:2
介绍说明--下载内容均来自于网络,请自行研究使用
设计并实现C语言的语分析程序,实现对算术表达式的语法分析。要求所分析算术表达式由如下的文法G产生:
EE+T|E-T|T
TT*F|T/F|F
Fid|(E)|num
实验要求:在对输入表示进行分析的过程中,输出所采用的产生式。-Design and implement C language, language analysis program to realize the arithmetic expression parsing. Requirements of arithmetic expressions generated by the following grammar G: EE+ T | ET | T TT* F | T/F | F Fid | (E) | num test requirements: that the analysis of the input process, output used in production.
EE+T|E-T|T
TT*F|T/F|F
Fid|(E)|num
实验要求:在对输入表示进行分析的过程中,输出所采用的产生式。-Design and implement C language, language analysis program to realize the arithmetic expression parsing. Requirements of arithmetic expressions generated by the following grammar G: EE+ T | ET | T TT* F | T/F | F Fid | (E) | num test requirements: that the analysis of the input process, output used in production.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
语法分析.c