搜索资源列表
myjava
- 开发的一个用java语言实现的编译器,内含词法分析器,语法分析器,而且可以实现中间代码生成.用到了SLR算法和LR算法 -I developed a java language compiler, containing the lexical analyzer, parser, and code generation can be achieved in the middle. Algorithm used in the SLR and LR algorithm
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