-
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
-
一个句子识别程序(预测分析法)原程序,是用vc++编写的,很不错哦...
一个句子识别程序(预测分析法)原程序,是用vc++编写的,很不错哦-a sentence identification procedures (Prediction) program, is prepared by the vc, oh very good
- 2023-02-11 11:40:04下载
- 积分:1
-
Translation principle small language compiler
编译原理small语言的编译程序- Translation principle small language compiler
- 2022-04-16 23:30:06下载
- 积分:1
-
The translation principle
编译原理--词法扫描- The translation principle-- morphology scans
- 2022-02-15 19:23:32下载
- 积分:1
-
PL/0语言可以看成PASCAL语言的子集,它的编译程序是一个编译解释执行系统。PL/0的目标程序为假想栈式计算机的汇编语言,与具体计算机无关。...
PL/0语言可以看成PASCAL语言的子集,它的编译程序是一个编译解释执行系统。PL/0的目标程序为假想栈式计算机的汇编语言,与具体计算机无关。-PLO
- 2022-06-27 02:22:10下载
- 积分:1
-
JC1.0。本编译器包含完整的文档与程序。借助 Lex & Bison, masm 开发。语句5个,支持混合运算。输入输出作为两个 IO 语句(函数调用),由汇...
JC1.0。本编译器包含完整的文档与程序。借助 Lex & Bison, masm 开发。语句5个,支持混合运算。输入输出作为两个 IO 语句(函数调用),由汇编实现并编译为 io.obj,将由 Link 链接。生成 EXE。整个流程完整清晰,代码易读。-JC1.0. The compiler includes complete documentation and procedures. With Lex Bison, can develop. Statement 5, support mixed computing. Input and output as two IO statement (function call), compiled by the compiler to achieve and io.obj will link Link. EXE generation. The entire process, complete and clear, legible code.
- 2022-03-02 14:29:23下载
- 积分:1
-
语义分析器,将语义分析程序编制成子程序,在语法分析器分析出各语法单位后,分析其含义,并将可执行语句或表达式翻译为四元式输出,并将错误信息输出。...
语义分析器,将语义分析程序编制成子程序,在语法分析器分析出各语法单位后,分析其含义,并将可执行语句或表达式翻译为四元式输出,并将错误信息输出。-Semantic analyzer, semantic analysis program compiled subroutines, in the parser analyzes the syntax of the unit, analyze its meaning, and translated into an executable statement or expression quaternary-output, and error information output.
- 2022-01-25 18:46:19下载
- 积分:1
-
Reverse Polish Notation notation generation process, quite good! Realized the tr...
逆波兰式表示法的生成程序,挺好的!实现了从中缀向后缀的转变-Reverse Polish Notation notation generation process, quite good! Realized the transformation from infix to suffix
- 2022-03-03 13:13:05下载
- 积分:1
-
用C#做的《编译原理》的PROJECT
用C#做的《编译原理》的PROJECT--语法分析器(算符优先法)
文法,句子均支持从TXT文件输入或者手工键入,分析结果可保存为RTF文件-With C# To do the
- 2022-09-12 13:50:03下载
- 积分:1
-
用递归下降法分析算术表达式的框图,主要完成:
⑴ 通知外界键入算术表达式;
⑵ 控制E过程分析算术表达式;
⑶ 根据分析结果之正误,分别通知外界不同...
用递归下降法分析算术表达式的框图,主要完成:
⑴ 通知外界键入算术表达式;
⑵ 控制E过程分析算术表达式;
⑶ 根据分析结果之正误,分别通知外界不同的信息。
-Analysis of recursive descent method with arithmetic expressions diagram, mainly to complete: ⑴ notice outside type arithmetic expressions ⑵ control process analysis arithmetic expression E ⑶ results are based on an analysis of error, respectively, different information to inform the outside world.
- 2022-03-22 17:28:55下载
- 积分:1