-
在tc上实现的编译原理词法分析程序,直接在当前目录执行即可。...
在tc上实现的编译原理词法分析程序,直接在当前目录执行即可。-in achieving the compiler theory lexical analysis procedure directly in the current directory to be implemented.
- 2022-11-26 14:25:03下载
- 积分:1
-
实现词法分析,用VB写的对结果进行分类显示
实现词法分析,用VB写的对结果进行分类显示-achieve lexical analysis using VB wrote to the classification results show
- 2022-01-23 10:12:35下载
- 积分: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
-
我实现了一个小编译器,附可执行代码的虚拟机,是的…
这是我自己实现的一个微小的编译程序,附可执行代码的虚拟机,是理解编译原理的绝好材料.-that I realized a small compiler, attached executable code virtual machine, yes understanding of compiler theory excellent material.
- 2022-03-02 13:17:02下载
- 积分:1
-
经典的java语言分析器
经典的java语言分析器-Classic java language analyzer
- 2022-07-18 21:57:54下载
- 积分:1
-
一个很好的文本编辑,实现了文本文件的创建、读入、保存。文件内容的修改:字、词、段的插入、删除、修改。文件内容的查找、替换:词,文件内容的Copy、Paste。不...
一个很好的文本编辑,实现了文本文件的创建、读入、保存。文件内容的修改:字、词、段的插入、删除、修改。文件内容的查找、替换:词,文件内容的Copy、Paste。不使用MFC-a good text editor, the realization of the creation of text files, read, the depositary. The contents of the documents modifications : Words, Phrases and of the insertion, deletion, modification. The content of a document search to replace : word, the contents of the documents Copy, Paste. Do not use MFC
- 2022-04-23 09:16:27下载
- 积分:1
-
卷积码的MATLAB的实现,通过MATLAB的平台轻易地实现卷积码的编译。...
卷积码的MATLAB的实现,通过MATLAB的平台轻易地实现卷积码的编译。-Convolutional codes of the realization of the MATLAB
- 2022-04-10 16:12:19下载
- 积分:1
-
Opens the 2.tab.c translation movement, a.txt is measures the
test the PL/0 proc...
打开2.tab.c编译运行,a.txt为测试用的PL/0程序。 2.output中有所有的产生式和LALR分析表的所有状态。- Opens the 2.tab.c translation movement, a.txt is measures the
test the PL/0 procedure. In 2.output has all production patterns and
LALR analytical table all conditions.
- 2022-02-07 22:42:39下载
- 积分:1
-
构造LR(1)分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子,了解LR(K)分析方法是严格的从左向右扫描,和自底向上的语法分析方法。...
构造LR(1)分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子,了解LR(K)分析方法是严格的从左向右扫描,和自底向上的语法分析方法。-tectonic LR (1) analysis procedure, and use it for syntax analysis, judgment, given the string of symbols to whether the sentence grammar recognition, understanding LR (K) analysis method is strict scan from left to right, and bottom-up syntax analysis.
- 2023-03-26 20:15:04下载
- 积分:1
-
- 2023-07-05 09:45:03下载
- 积分:1