-
1.词法分析 设计、编制并调试该C语言子集的词法分析程序,要求结果以二元组形式保存在文件中。...
1.词法分析 设计、编制并调试该C语言子集的词法分析程序,要求结果以二元组形式保存在文件中。-1. Lexical analysis design, develop and debug the C language subset of the lexical analysis procedure that requires results to binary form group to preserve the documents.
- 2022-08-25 14:59:56下载
- 积分:1
-
求正规表达式到NFA(不确定的有限自动机),NFA到DFA及DFA(有限自动机)的最小化 有注释。...
求正规表达式到NFA(不确定的有限自动机),NFA到DFA及DFA(有限自动机)的最小化 有注释。-seek formal expressions of the NFA (uncertain Finite Automata), the NFA to the DFA and DFA (finite state machine) is the smallest of the Notes.
- 2022-08-26 04:32:07下载
- 积分: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
-
编译词法分析程序
编译词法分析程序- Translation lexical analyaer
- 2022-03-15 18:19:48下载
- 积分:1
-
C++编写的词法分析器,分析器的操作结构。
C++编写的词法分析器,解释器构造作业。-C++ Prepared lexical analyzer, parser operating structure.
- 2022-02-01 22:11:27下载
- 积分:1
-
语法分析.h,对一个文法给以判断所给的句子是不是文法所生成的。...
语法分析.h,对一个文法给以判断所给的句子是不是文法所生成的。- The grammar analysis h, gives the sentence to a grammar which
the judgement gives is the grammar produces.
- 2022-01-25 22:19:44下载
- 积分:1
-
用SLR(1)的类C语言的编译器实现的语义分析…
用SLR(1)方法实现的类C语言的编译器的语义分析程序。-with SLR (1) Realization of the Class C language compiler is the semantic analysis procedures.
- 2023-05-13 03:15:02下载
- 积分:1
-
一个简单的编译器,有词法分析,语言分析代码生成。对毕业生有用。...
一个简单的编译器,有词法分析,语言分析代码生成。对毕业生有用。-a simple compiler, lexical analysis, linguistic analysis code generator. Right graduates useful.
- 2022-02-04 20:36:15下载
- 积分:1
-
bochs完整的虚拟机,编译通过哦
bochs完整的虚拟机,编译通过哦-bochs integrity hypothesized machine, the translation passes oh
- 2022-08-22 22:31:07下载
- 积分:1
-
1.The content is too simple
2.Is not a sourcecode or document
3.lost some fi...
1.The content is too simple
2.Is not a sourcecode or document
3.lost some files
4.Description is not detailed or not correct
5.Compressed file has password
6.Sourcecode duplicate or already exist
po
- 2022-10-30 23:15:03下载
- 积分:1