-
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系...
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系,最后只得把扫描器中已做好的相关的数组部分删去。 对于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
-
反编译最新工具 反编译最新工具 反编译最新工具
反编译最新工具 反编译最新工具 反编译最新工具-TOOS
- 2022-07-08 22:42:40下载
- 积分:1
-
目标代码生成(C++)源代码+详细的课程设计报告
源程序的中间代码变换成依赖于具体机器的等价的目标代码...
目标代码生成(C++)源代码+详细的课程设计报告
源程序的中间代码变换成依赖于具体机器的等价的目标代码-Target code generation (C++) Source code a detailed report of the curriculum design of the intermediate source code converted into machine dependent on the specific object code equivalent
- 2022-01-25 23:37:57下载
- 积分:1
-
adaboost code in matlab
adaboost code in matlab
- 2022-01-26 06:23:19下载
- 积分:1
-
词法分析的程序设计
词法分析的程序设计- Lexical analysis programming
- 2023-01-01 21:20:03下载
- 积分:1
-
星子行V2.0(源码)公开星子行V3.0以上版本,都是由星子行V1.0和星子行V2.0的核心结合而开发成的!
星子行V1.0是单反接正法,星子行V2....
星子行V2.0(源码)公开星子行V3.0以上版本,都是由星子行V1.0和星子行V2.0的核心结合而开发成的!
星子行V1.0是单反接正法,星子行V2.0是多反接法,星子行V3.0以上版本都是多反接反正双法连接核心. -Xingzi line V2.0 (source) line open Xingzi V3.0 or later, Xingzi line by line Xingzi V1.0 and V2.0 of the core-binding developed into! Xingzi line V1.0 is the next actual SLR , Xingzi V2.0 is a multi-line reverse law, Xingzi line version V3.0 and above are more than double reverse method to connect the core anyway.
- 2022-08-11 23:03:11下载
- 积分:1
-
编译原理的课程设计,if
编译原理的课程设计,if-else条件语句的翻译,包括语法分析和词法分析。-compiler theory of curriculum design, if-else statements for the translation, grammatical analysis and lexical analysis.
- 2022-01-26 15:25:08下载
- 积分:1
-
一个好东东,大家狂下哈!编译原理的,
一个好东东,大家狂下哈!编译原理的,- Good east east under, everybody is crazy breathes out!
Translation principle,
- 2022-01-27 18:43:18下载
- 积分:1
-
Experiment to construct a grammar (should consider the transformation) of FIRST...
构造实验一所给文法(应考虑改造)的FIRST集合和FOLLOW集合;构造LL(1)分析表;构造预测分析的总控程序;利用分析表、分析栈和总控程序对源程序进行自上而下的语法分输出整个语法分析过程中栈的变化过程及分析结果,如符合语法规则输出“正确”,否则输出“错误”。
-Experiment to construct a grammar (should consider the transformation) of FIRST and FOLLOW set of the collection construct LL (1) analysis table structural prediction analysis of the master control procedures the use of analytical tables, analyze the stack and the total source code control procedures carried out since the last sub output down syntax parsing process of the whole stack and analysis of the results of the change process, such as the grammatical rules out the " right" , otherwise output " error."
- 2022-08-19 02:16:53下载
- 积分:1
-
timer for pool on ATTiny 2313
timer for pool on ATTiny 2313
- 2022-08-26 05:04:51下载
- 积分:1