-
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系...
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系,最后只得把扫描器中已做好的相关的数组部分删去。 对于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
-
5509开发板测试程序,通过观测XF引脚是否有方波来初步估计试验板硬件是否有问题...
5509开发板测试程序,通过观测XF引脚是否有方波来初步估计试验板硬件是否有问题-5509 development board testing procedures by observing whether XF pin-square test to preliminary estimates plate hardware is there a problem
- 2022-08-17 06:16:40下载
- 积分:1
-
CFront1.0的源代码,第一代C++编译器的思想
CFront1.0的源代码,第一代C++编译器的思想-CFront1.0 the source code, the first generation of C++ compiler of thinking ...
- 2022-10-10 04:25:03下载
- 积分:1
-
OH, a c variable target language compiler source code, the compiler can use vc.n...
lcc,一个可变目标c语言编译器的源码,可以用vc.net编译-OH, a c variable target language compiler source code, the compiler can use vc.net
- 2022-10-23 11:50:03下载
- 积分:1
-
该程序能够实现简单的c语言词法,语法,语义分析。
该程序能够实现简单的c语言词法,语法,语义分析。- This procedure can realize the simple c language morphology,
the grammar, the semantic analysis.
- 2022-01-25 20:08:31下载
- 积分:1
-
c compiler full page, but I do not have the translation to pass,
everybody excha...
c编译器的较完整版,可是我没编译通过,大家一起来交流哦-c compiler full page, but I do not have the translation to pass,
everybody exchanges together oh
- 2022-03-10 21:44:45下载
- 积分:1
-
C/C++的解释器源代码,很漂亮的,我使用过
C/C++的解释器源代码,很漂亮的,我使用过-C/C interpreter source code, a very nice, I used
- 2022-02-24 12:10:03下载
- 积分:1
-
A realization of graphic drawing commands compiler can use the command to achiev...
一个实现图形绘画命令的编译程序,可利用命令来实现简单绘图.-A realization of graphic drawing commands compiler can use the command to achieve a simple drawing.
- 2022-05-25 11:05:00下载
- 积分:1
-
编译原理PLO语言的功能扩展C语言源程序
编译原理PLO语言的功能扩展C语言源程序-Compilation Principle PLO language extensions C language source code
- 2022-07-19 20:47:30下载
- 积分:1
-
这是程序是一种脚本语言
this about neko program which is a script langugage
- 2023-08-01 01:50:03下载
- 积分:1