-
这是LL(1)的一个文法和 分析表 很好的
这是LL(1)的一个文法和 分析表 很好的 - This LL (1) a grammar and the analytical table are very good
- 2022-03-21 16:30:24下载
- 积分:1
-
希望可以帮助同学在编译原理上有有更多的理解!
希望可以帮助同学在编译原理上有有更多的理解!- The hope may help the schoolmate in the translation principle
has more understanding!
- 2022-09-29 14:05:03下载
- 积分:1
-
词法分析器,这是一个编译原理的作业!给出具体的思路
词法分析器,这是一个编译原理的作业!给出具体的思路-Lexical analyzer, which is the operating principle of a compiler! Give specific ideas
- 2022-09-03 00:55:02下载
- 积分: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
-
NASM是一个开源跨平台的汇编器。里面的源码有linux下和dos下的。包含一个NASM汇编教程,源码非常清晰,含少量汇编代码。...
NASM是一个开源跨平台的汇编器。里面的源码有linux下和dos下的。包含一个NASM汇编教程,源码非常清晰,含少量汇编代码。-NASM is an open source cross-platform assembler. Inside the source code under linux and dos are under. NASM contains a compilation of tutorials, source code is very clear, with a small amount of assembly code.
- 2022-03-30 13:18:34下载
- 积分:1
-
词法分析器,将输入的字符串识别成c语言的关键字等
词法分析器,将输入的字符串识别成c语言的关键字等-lexical analyzer, the input string as c identification of keywords, such as language
- 2022-12-21 19:15:03下载
- 积分:1
-
单独分离出来的C
单独分离出来的C-手工词法分析器,需要自己建立一个工程来运行本程序。为《编译原理与实践》一书之后的实验题的代码。-Single isolated C-hand lexical analyzer, needs its own to establish a project to run this program. For " Compiler Construction Principles and Practice," a book after the experiment of the code.
- 2023-09-08 19:30:08下载
- 积分:1
-
设计、编制并调式一个词法分析程序,加深对词法分析原理的理解,对字符串型单词符号(if,then,while,do...
设计、编制并调式一个词法分析程序,加深对词法分析原理的理解,对字符串型单词符号(if,then,while,do----)等等用函数int reserve(char* p)来处理,对单词符号(+,-,*,/,=-----)等等用switch()来处理。-cifafenxi
- 2023-03-11 22:50:04下载
- 积分:1
-
16进制文件编辑与磁盘编辑软件。类似 ultraedit 的文本编辑工具,支持二进制编辑,支持比较和调整 bitwise 顺序。功能强大,支持文件在二进制级进行...
16进制文件编辑与磁盘编辑软件。类似 ultraedit 的文本编辑工具,支持二进制编辑,支持比较和调整 bitwise 顺序。功能强大,支持文件在二进制级进行比较。-16 hexadecimal file editor and disk-editing software. UltraEdit similar text editing tool that supports the binary editing, support for bitwise comparison and adjustment of the order. Powerful, supporting documents in the binary-level comparison.
- 2023-03-26 10:45:03下载
- 积分:1
-
The use of C/C++ language as the implementation language, to achieve a simple PL...
使用C/C++语言作为实现语言,实现一个简单PL/0语言的编译器。手工编码实现编译器的组成部分。语法分析程序采用递归下降分析法。-The use of C/C++ language as the implementation language, to achieve a simple PL/0 language compiler. Hand-coding part of the compiler. Parser uses recursive descent analysis.
- 2023-03-06 02:05:03下载
- 积分:1