搜索资源列表
yuyifenxi
- 采用递归下降语法制导翻译法,对算法表达式、赋值语句进行语义分析且生成四元式序列-Decline in the use of recursive grammar-translation method guided the algorithm expression, assignment and semantic analysis to generate quaternary sequence
intermediate-code-generation
- 实现语法制导翻译功能,输出翻译后所得四元式序列-Syntax-translation output translation from quaternion type sequence
SyntaxAnalysis
- 对如下文法E -> E+T | E-T | T T -> T*F | T/F | F F -> id | (E) | num 用自底向上的语法制导翻译技术实现分析和翻译 -For the following grammar E-> E+T | ET | TT-> T* F | T/F | FF-> id | (E) | num implementation analysis and translation with the bottom-up
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
postfix-notation
- 1、给出文法如下: G[E] E->T|E+T T->F|T*F F->i(E) 对应的转化为逆波兰式的语义动作如下: E-> E(1)op E(2) {E.CODE:= E(1).CODE||E(2).CODE||op} E->(E(1)) { E.CODE := E(1).CODE} E->id { E.CODE := id} 2、利用实验5中的算符优先分析算法,结合上面给出的语义动作实现逆波兰式的构造
程序设计语言编译原理
- 高级语言程序编译原理 内容包括词法分析、语法分析、属性文法与语法制导翻译、语义分析与中间代码产生、符号表与运行时存储空间组织、优化与目标代码生成、并行编译技术。(Compiler design principles)
编译原理(龙书)+第二版
- 计算机专业的一门重要专业课,旨在介绍编译程序构造的一般原理和基本方法。内容包括语言和文法、词法分析、语法分析、语法制导翻译、中间代码生成、存储管理、代码优化和目标代码生成。(An important professional course of computer science, the purpose of this paper is to introduce the general principles and basic methods of compiler construction.