搜索资源列表
用SLR1分析表达式文法
- 用SLR1分析表达式文法,文法的产生式为 E->T|E+T T->F|T*F F->i|(E),Analysis with SLR1 expression grammar, generative grammar for E->T|E+T T->F|T*F F->i|(E)
SLR1
- 该程序为一个手工编码实现的简单SLR语法分析器,其词法分析器调用接口为lex(),语法分析调用接口为SLR1()。-The program is a simple hand-coded implementation SLR parser, the lexical analyzer is called interface lex (), parsing call interface for the SLR1 ().
Compiler1
- 使用C++编写的编译器,里面 包括了词法分析程序scanner.cpp,无符号数识别程序ucon.cpp,算符优先法语法语义处理程序SF.cpp,SLR1语法语义处理程序SLR1.cpp。比较强大。源程序输入有program.txt,输出包括窗口和compiled.txt-Using C++ to write compiler, which includes lexical analysis program scanner.cpp the number of symbols identifica