-
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系...
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系,最后只得把扫描器中已做好的相关的数组部分删去。 对于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
-
achieve a compact but complete Java Virtual Machine
一个小巧而且实现很完整的JAVA虚拟机-achieve a compact but complete Java Virtual Machine
- 2022-03-01 07:03:36下载
- 积分:1
-
这是一个文法分析器,很方便,只要输入句子,程序会自动分析,如果错误也会提示...
这是一个文法分析器,很方便,只要输入句子,程序会自动分析,如果错误也会提示-It s a grammer analyzer,which is convenience,if you input sentence,program will automatic analyse and clue to if it is error.
- 2023-02-26 14:45:03下载
- 积分:1
-
这是我课程设计的时候编的一个simple 语言的词法分析器,可以运行,希望大家支持...
这是我课程设计的时候编的一个simple 语言的词法分析器,可以运行,希望大家支持-This is my time courses designed a series of simple language the lexical analyzer, can run, we hope that the support
- 2022-04-25 01:09:58下载
- 积分:1
-
Shorthand是一个强大的脚本语言,是专门为基于Web的应用程序设计的。它的语法简单直观易于学习。它的引擎可在所有的 Linux 和Windows平台的流行
Shorthand是一个强大的脚本语言,是专门为基于Web的应用程序设计的。它的语法简单直观易于学习。它的引擎可在所有的 Linux 和Windows平台的流行Web服务器上运行。它支持 MySQL 和ODBC,以便用最普通的数据格式化。-Shorthand is a powerful scripting language that is specifically for Web-based application design. Its syntax is simple and intuitive and easy to learn. The engine in all the Linux and Windows platforms popular Web servers. It supports ODBC and MySQL to use the most common data format.
- 2022-03-20 21:39:04下载
- 积分:1
-
PLO编译器 vc++编写界面美观 人性化 可用与分析研究
PLO编译器 vc++编写界面美观 人性化 可用与分析研究 -PLO compiler vc prepared beautiful interface can be humanized and analysis
- 2022-06-11 12:07:48下载
- 积分:1
-
exe转换为com
exe转换为com-exe transformation is com
- 2022-05-29 03:54:26下载
- 积分:1
-
- 2022-02-02 17:15:04下载
- 积分:1
-
NEC upd78f0300的自编程序样例,对78K0系列有都可以调用
NEC upd78f0300的自编程序样例,对78K0系列有都可以调用-NEC upd78f0300 sample of self-compiled program on the 78K0 series can be called
- 2022-03-25 06:03:31下载
- 积分:1
-
itis a program to solve the lexical expressions .its efficeincy is very good in...
itis a program to solve the lexical expressions .its efficeincy is very good in solving the expressions-itis a program to solve the lexical expressions .its efficeincy is very good in solving the expressions...
- 2023-07-20 13:40:03下载
- 积分:1