-
C programm for frequency distribution.
C programm for frequency distribution.
- 2022-07-16 03:01:06下载
- 积分:1
-
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系...
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系,最后只得把扫描器中已做好的相关的数组部分删去。 对于float数据类型的支持,直到语义分析都是正常的,也能生成相应的汇编代码,但由于我们对8086/8088指令系统本身了解不足,这样的汇编代码将只能做到含义上完全忠实于源程序,但不能运行。 对于局部变量的支持,则于时间紧迫,所有的局部变量全被处理成静态变量。使递归函数不能得到正确的结果。 对于函数调用语句,不进行参数匹配检查,如果参数数量不对,也将能通过编译,但运行时将产生非法操作。 对&& !等逻辑操作在最后生成代码时处理比较粗燥,生成的代码在逻辑复杂时将不能保证运行正常。 接下来有一些,不能说是缺陷,但必须说明的问题: 对于main函数,没有参数表,通回类型也必须为void,但如果写上参数表及其他返回类型也能编译通过,生成代码时将简单地忽略,不影响最后的代码的运行。 对于while,for,if语句,其语句体不管是一句还是多句,必须都有{}围起来。这跟C语言中若是一句则可省略{}不同。-Due to the time constraints and lack of preparation in advance, the compiler finalized when exposed numerous problems and shortcomings, mainly in the following aspects : no support for array data type, which is grammar analyzer design of an omission, because of the time, the final could only have scanners do phase customs array deleted. For float data types of support until semantic analysis is normal, and can generate the corresponding assembly code, but because of our 808
- 2022-01-26 16:03:11下载
- 积分:1
-
c语言编译器完正版
c语言编译器完正版-c language compiler legal copy
- 2022-04-25 17:47:22下载
- 积分:1
-
基于pascal的词法分析程序
基于pascal的词法分析程序-based on the lexical analysis procedure
- 2022-04-29 03:31:06下载
- 积分:1
-
我做的不好呀,请大家指教。
我做的不好呀,请大家指教。- I do am not good, asks everybody to advise.
- 2023-06-19 15:05:04下载
- 积分:1
-
The realization of a compiler is the compiler of the principle of the course at...
一个编译器的实现,是编译原理这门课的期末一个大作业-The realization of a compiler is the compiler of the principle of the course at the end of a big operation
- 2022-08-26 09:41:17下载
- 积分:1
-
C programm for simple Calculator.
C programm for simple Calculator.
- 2023-06-20 19:30:03下载
- 积分:1
-
本程序用于语法分析
本程序用于语法分析-procedures for the analysis of syntax
- 2022-01-26 05:42:54下载
- 积分: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
-
一个flex和bison用法入门的很好的例子。 按照词法分析,语法分析,语义分析的顺序来熟悉flex和bison这两个有力的工具。最后给出了一个用flex做词法...
一个flex和bison用法入门的很好的例子。 按照词法分析,语法分析,语义分析的顺序来熟悉flex和bison这两个有力的工具。最后给出了一个用flex做词法分析用bison做语法分析设计的科学计算器(不同于一般程序设计中的入门级计算器),是学习编译原理的很好的例子。-a flex and bison portal usage of a very good example. According lexical analysis, parsing, Semantic analysis of the sequence to flex and bison familiar with these two powerful tool. Finally, a use flex do lexical analysis bison do syntax analysis and design of scientific calculators (unlike General Program Design"s entry-level calculators), compiler theory is the study of good examples.
- 2022-02-28 21:54:31下载
- 积分:1