搜索资源列表
Compiler-theory-experiments
- 通过设计、编制、调试典型的SLR(1)语法分析程序,实现对实验一所得词法分析程序所提供的单词序列进行语法检查和结构分析,进一步掌握常用的语法分析方法。-A typical SLR (1) parser through the design, development, debugging, syntax checking and structural analysis of lexical analysis program, the experimental one obtained by the
shiyan3
- ,熟悉分析过程,注意在构造表2时依据“操作符运算优先级和运算符的结合率”原则解决冲突。(2)思考:如要将程序改成SLR四则运算语法分析器,应如何修改文法3为文法4(文法4应还支持减除运算)。(3)思考:要将程序改成SLR四则运算语法分析器,应如何在该程序的基础上修改、增加代码。-Familiar with the process, analysis, pay attention to in the construction of Table 2 for "with the operator pr
