-
目标代码生成,从四元式到汇编语言的翻译
目标代码生成,从四元式到汇编语言的翻译-object code generation, from four yuan to the compilation-language translation.
- 2022-08-12 11:59:41下载
- 积分:1
-
程序查找给定图像的图像统计。
Program to find the Image Statistics of the given Image.
- 2022-05-19 14:41:04下载
- 积分:1
-
用栈实现算术运算
用栈实现算术运算- Operates with the stack realization arithmetic
- 2022-03-21 09:41:05下载
- 积分:1
-
#包括<;fstream & gt;
#include
- 2022-02-03 06:24:20下载
- 积分:1
-
LL(1)文法源代码
LL(1)文法源代码-LL (1) grammar source code
- 2023-02-01 06:55:03下载
- 积分:1
-
1.1 引言
1.1.1 设计目的
本次课程设计是在完成一个学期的编译原理课程之后,为了进一步加深对编译原理相关知识的理解,培养实际解决问题的能力而进...
1.1 引言
1.1.1 设计目的
本次课程设计是在完成一个学期的编译原理课程之后,为了进一步加深对编译原理相关知识的理解,培养实际解决问题的能力而进行的。结合本学期所开设的软件工程课程,本次课程设计实验过程要求按照软件工程的思想来组织开发过程,按照软件生命周期的阶段划分来进行。由于课程设计规模较小,所以对软件生命周期进行适当的合并,简化为五个阶段,即需求分析、总体设计、详细设计、编码实现和测试。
1.1.2 设计任务
针对本次课程设计我们设计了一个简化的pascal语言,称为mini-pascal。设计的任务就是开发出针对mini-pascal语言的编译程序。标准的编译程序结构分为五部分,分别是词法分析、语法分析、语义分析和中间代码生成、优化和目标代码生成。由于时间和能力所限,我们的编译程序只包括前三个部分,最后生成四元式形式的中间代码。
-1.1 Introduction 1.1.1 design purpose of this course is designed to complete a semester of compiler theory courses , in order to further deepen the knowledge of compiler theory understanding, develop practical problem-solving skills into practice. In light of the semester created software engineering courses The experimental curriculum design process requirements in the software engineering idea to organize the development process. in the software life cycle stages to. Due to the smaller size of the curriculum design, the software life cycle appropriate to consolidate, streamline and five stages that the
- 2022-05-22 18:39:40下载
- 积分:1
-
C_minus BNF language syntax definition of procedures from the list of statement...
C_minus语言的BNF语法定义 程序由声明的列表(或序列)组成,声明可以是函数或变量声明,顺序是任意的。至少必须有一个声明。接下来是语义限制(这些在C中不会出现)。所有的变量和函数在使用前必须声明(这避免了向后backpatching引用)。程序中最后的声明必须是一个函数声明,名字为main。注意,C-缺乏原型,因此声明和定义之间没有区别(像C一样)。-C_minus BNF language syntax definition of procedures from the list of statement (or sequence), with a statement can be variable or function statement, the order is arbitrary. There must be at least one statement. Next is the semantic constraints (these will not arise C). All the variables and functions to be used in the statement (which avoids the use Backpatching backwards). Procedures must be the last statement is a function declaration, the name of the main. Attention C- lack of a prototype, and the definition of a statement is no difference between (the same as C).
- 2022-03-04 15:33:26下载
- 积分:1
-
C编写自己的语义的编译器,你可以用它给你homew…
自己用纯C语言做的词法编译器,可能大家作业能用的上吧,-A semantics compiler in c programed by myself,maybe you can use it foe you homework
- 2022-01-25 14:43:05下载
- 积分:1
-
这是我同学做得编译原理――词法分析器,有读源文件,和写目标文件...
这是我同学做得编译原理――词法分析器,有读源文件,和写目标文件-This is the principle of my classmates to do the compiler- lexical analyzer source file has read, and write the destination file
- 2022-08-20 08:44:55下载
- 积分:1
-
seg数据的各种转换代码,比较全,总共四个,为了凑5个,能下载原吗,忍痛3啊...
seg数据的各种转换代码,比较全,总共四个,为了凑5个,能下载原吗,忍痛3啊-seg code conversion of data to compare the whole, a total of four, five in order to put together, you can download the original, and in pain 3 ah
- 2022-01-25 16:10:28下载
- 积分:1