登录
首页 » Compiler program » 中山大学编译原理课程的一个实验,根据OPP(算符优先)做的一个表达式计算器。 内有实验的设计文档。 实验要求支持sin,cos,max,min,powe...

中山大学编译原理课程的一个实验,根据OPP(算符优先)做的一个表达式计算器。 内有实验的设计文档。 实验要求支持sin,cos,max,min,powe...

于 2023-02-13 发布 文件大小:862.26 kB
0 177
下载积分: 2 下载次数: 1

代码说明:

中山大学编译原理课程的一个实验,根据OPP(算符优先)做的一个表达式计算器。 内有实验的设计文档。 实验要求支持sin,cos,max,min,power,mod,boolean,?:,等运算。 这个代码可以为学习编译原理的同学参考。-Principles of Sun Yat-sen University to compile an experimental course, according to OPP (operator priority) to do an expression calculator. There are experimental design documents. Experimental requirements to support the sin, cos, max, min, power, mod, boolean,?:, Such as computing. This code can be compiled for study and reference principles classmates.

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

发表评论

0 个回复

  • 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
  • 语法分析的好的vc程序
    语法分析的好的vc程序- Grammar analysis good vc procedure
    2022-03-16 01:07:25下载
    积分:1
  • 词法分析程序,是一个词法分析程序,可以分析单词,指出错误。...
    词法分析程序,是一个词法分析程序,可以分析单词,指出错误。-lexical analysis procedure is a lexical analysis procedures can be analyzed word that mistake.
    2023-06-20 15:10:04下载
    积分:1
  • 一个GNU的C语言编译器源代码,源代码过万行.
    一个GNU的C语言编译器源代码,源代码过万行.- A GNU C language compiler source code, source code ten thousand lines
    2022-01-21 18:09:31下载
    积分: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
  • 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
  • 编译原理课程设计 SLR(1)语法分析!我做的,就是没有运行结果,大家先用着...
    编译原理课程设计 SLR(1)语法分析!我做的,就是没有运行结果,大家先用着-Course Design Compiler Principle SLR (1) syntax analysis! I do, is not running, we used to first
    2022-03-25 10:45:18下载
    积分:1
  • 小型的词法分析代码
    小型的词法分析代码- Small lexical analysis code
    2022-07-27 02:25:15下载
    积分:1
  • 1.词法分析 设计、编制并调试该C语言子集的词法分析程序,要求结果以二元组形式保存在文件中。...
    1.词法分析 设计、编制并调试该C语言子集的词法分析程序,要求结果以二元组形式保存在文件中。-1. Lexical analysis design, develop and debug the C language subset of the lexical analysis procedure that requires results to binary form group to preserve the documents.
    2022-08-25 14:59:56下载
    积分:1
  • 能够生成exe执行文件的vc++源代码程序,多多指教~
    能够生成exe执行文件的vc++源代码程序,多多指教~-capable of producing documents vc implementation of the source code procedures, exhibitions ~
    2022-03-11 07:01:47下载
    积分:1
  • 696516资源总数
  • 106668会员总数
  • 21今日下载