登录
首页 » Compiler program » 1.1 引言 1.1.1 设计目的 本次课程设计是在完成一个学期的编译原理课程之后,为了进一步加深对编译原理相关知识的理解,培养实际解决问题的能力而进...

1.1 引言 1.1.1 设计目的 本次课程设计是在完成一个学期的编译原理课程之后,为了进一步加深对编译原理相关知识的理解,培养实际解决问题的能力而进...

于 2022-05-22 发布 文件大小:174.20 kB
0 217
下载积分: 2 下载次数: 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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 一般的FOrtran程序编译器只能检查一般的错误,而这个软件可以起到一般编译器不能起到的错误检查、程序优化作用。...
    一般的FOrtran程序编译器只能检查一般的错误,而这个软件可以起到一般编译器不能起到的错误检查、程序优化作用。-Ftnchek (short for Fortran checker) is designed to detect certain errors in a Fortran program that a compiler usually does not. Ftnchek is not primarily intended to detect syntax errors. Its purpose is to assist the user in finding semantic errors. Semantic errors are legal in the Fortran language but are wasteful or may cause incorrect operation. For example, variables which are never used may indicate some omission in the program uninitialized variables contain garbage which may cause incorrect results to be calculated and variables which are not declared may not have the intended type. Ftnchek is written in C. To build ftnchek, you must have a C compiler for the machine on which you wish to build it. The URL for ftnchek s home page is http://www.dsm.fordham.edu/~ftnchek. Source code, binary executables for some platforms, and other information are available there.
    2022-10-03 22:40:03下载
    积分:1
  • LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只...
    LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只需向右看一个符号便可决定如何推导,即选择哪个产生式(规则)进行推导。 LL(1)文法的判别需要依次计算FIRST集、FOLLOW集和SELLECT集,然后判断是否为LL(1)文法,最后再进行句子分析。 -LL (1) grammar using a set top-down analysis techniques. LL (1) the meaning is: the first one L shows a top-down analysis is a scan input string from left to right, the first two L shows the analysis process will be the most left-derivation, one that will be just right to see a sign can decide how to derive, choose what Production (rules) for derivation. LL (1) grammar, followed by calculation of the discriminant needs FIRST sets, FOLLOW sets and SELLECT set, and then determine whether to LL (1) grammar, the last sentence further analysis.
    2023-02-02 20:20:03下载
    积分:1
  • 突出真实
    HIGHLIGHT TRUE #define NOHIGHLIGHT FALSE #define UPDATE TRUE #define NOUPDATE FALSE #define FORMAT TRUE #define NOFORMAT FALSE #define LEFT 0-HIGHLIGHT# define NOHIGHLIGHT TRUE FALSE UPDATE# define TRUE## define FALSE de NOUPDATE fine FORMAT# define TRUE FALSE# defin NOFORMAT e LEFT 0
    2022-06-02 08:45:33下载
    积分:1
  • a LALR(1) grammar for C
    a LALR(1) grammar for C
    2022-05-14 15:42:34下载
    积分:1
  • Communication System PCM codec mode. matlab achieve.
    通信传输系统中的PCM编码解码方式。matlab实现。-Communication System PCM codec mode. matlab achieve.
    2022-08-06 01:34:08下载
    积分:1
  • lr分析过程,编译原理课本上的例子
    lr分析过程,编译原理课本上的例子-lr analysis, compiler theory textbook examples! ! !
    2022-05-19 21:11:17下载
    积分:1
  • VC++编的一个词法分析器
    VC++编的一个词法分析器-VC series a lexical analyzer
    2023-05-11 21:50:02下载
    积分:1
  • 用户输入一个文法,然后再输入,要被分析的字符串,自动进行语法分析,把每一不的分析过程都一一打印出来。直到分析成功或失败。...
    用户输入一个文法,然后再输入,要被分析的字符串,自动进行语法分析,把每一不的分析过程都一一打印出来。直到分析成功或失败。-a user input grammar, and then imported to the string were analyzed automatically syntax analysis, the analysis of each process does not have to print out on January 1. Until the analysis of success or failure.
    2023-07-23 13:45:02下载
    积分:1
  • C++编写的C++词法分析器,比较全
    C++编写的C++词法分析器,比较全-C compilation C morphology analyzer, compared with entire
    2022-04-27 04:02:08下载
    积分:1
  • A header file for the compile
    一种用于编译时头文件的缓存处理缓存源代码,使用起来就像C/C++编译器的缓存预处理器,简化该功能相应的环境改变时对内核的影响。-A header file for the compile-time cache handle cache source code, to use as C/C++ Compiler pre-processor cache, to streamline the functions of the corresponding environmental changes impact on the kernel.
    2022-07-01 10:13:10下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载