搜索资源列表
1
- 编写语义分析程序,实现对算术表达式的类型检查和求值。要求所分析的算术表达式由如下文法产生: E->E+T | E-T | T T->T*F | T/F | F F-> id | (E) | num -Write semantic analysis procedures, to achieve the type checking and arithmetic expressions are evaluated. Requirements analysis a
compiler
- 类C语言编译器,基本上实现了主要功能的C语言语法,词法分析使用状态转移,语法使用LR(1)方法,自动生成ACTION和GOTO转移表。自顶向下的语法制导翻译,可以生成各种类型的表达式(包括布尔,算术,逻辑等等),循环中的while,选择中的if else 和if等,功能比较强大-Class C language compiler, basically realized the C language syntax, lexical analysis of the main features of