-
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系...
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系,最后只得把扫描器中已做好的相关的数组部分删去。 对于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的词法分析程序- A C lexical analyaer
- 2023-01-13 02:40:04下载
- 积分:1
-
LDPC码在AWGN信道下的MATLAB仿真程序
LDPC码在AWGN信道下的MATLAB仿真程序-LDPC code in AWGN channel under the MATLAB simulation program
- 2023-01-22 19:35:04下载
- 积分:1
-
一般的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
-
语法分析,编译原理,是Pascal子集C ..
编译原理中的语法分析,是对以PASCAL的一个子集编写的编译程序,功能还行,自己看着用吧-Compiler Construction Principles of grammar analysis, is to a subset of PASCAL compiler preparation procedures, functions also visit with your own watch
- 2023-02-15 04:00:04下载
- 积分:1
-
这是一个编译原理的语法分析器
这是一个编译原理的语法分析器- This is a translation principle grammar analyzer
- 2022-03-14 20:31:00下载
- 积分:1
-
Willing to devote themselves willing to devote themselves willing to devote them...
乐于奉献 乐于奉献 乐于奉献 乐于奉献 乐于奉献-Willing to devote themselves willing to devote themselves willing to devote themselves willing to devote themselves willing to devote themselves willing to devote themselves willing to devote themselves willing to devote themselves
- 2022-07-16 19:58:32下载
- 积分:1
-
从形式化的仪式到有限自动机和有限自动机…
从正规式到有限自动机及确定的有限自动机的化简。-from the formal ceremony to Finite Automata and the limited automatic machine simplification.
- 2023-02-19 01:30:04下载
- 积分:1
-
good to evaluate program equations data and embedd the code directly into data b...
good to evaluate program equations data and embedd the code directly into data base
- 2022-06-13 12:19:44下载
- 积分:1
-
用c寓言编写的一个词法分析程序! 很不错
用c寓言编写的一个词法分析程序! 很不错-c fable with the preparation of a lexical analysis procedure! Very good
- 2022-01-21 19:18:45下载
- 积分:1