-
c language program, some of the commonly used algorithms, and from the network t...
c语言程序,一些常用的算法,来源于网络收集,希望大家指教。-c language program, some of the commonly used algorithms, and from the network to collect, we hope the exhibitions.
- 2022-04-01 21:32:37下载
- 积分:1
-
使用Eclipse开发的词法分析器和语法分析器,其中词法分析器用的自己设计的算法~...
使用Eclipse开发的词法分析器和语法分析器,其中词法分析器用的自己设计的算法~-use Eclipse development of the lexical analyzer and parser, with the lexical analyzer designed algorithm ~
- 2022-03-12 07:00:07下载
- 积分:1
-
Small C compiler source code to learn a good source.
Small C 编译器的源代码 学习好的源码。 -Small C compiler source code to learn a good source.
- 2022-01-22 15:45:43下载
- 积分:1
-
武汉理工大学编译原理课程实验源代码之词法分析器
武汉理工大学编译原理课程实验源代码之词法分析器-Wuhan Polytechnic University Experimental compiler theory"s source code lexical analyzer
- 2023-05-17 23:00:03下载
- 积分:1
-
使用C/C++语言作为实现语言,实现一个简单PL/0语言的编译器。手工编码实现编译器的组成部分。语法分析程序采用递归下降分析法。...
使用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-05-12 05:10:02下载
- 积分:1
-
nVidia graphics development of the Cg language, used for pixel and vertex exagge...
nVidia开发的图形语言 Cg,用于进行顶点渲染和象素渲染,语法类似于 C。-nVidia graphics development of the Cg language, used for pixel and vertex exaggerated exaggerated, similar to the C syntax.
- 2022-07-04 14:18:06下载
- 积分: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
-
武汉理工大学计算机学院编译原理课程设计之DO
武汉理工大学计算机学院编译原理课程设计之DO-WHILE语句的翻译程序设计-Wuhan Polytechnic University computer science theory courses compiler design DO-WHILE statement to the translation program design
- 2023-08-08 03:55:03下载
- 积分:1
-
A java compiler, function very entire
一个java编译器,功能很全的- A java compiler, function very entire
- 2022-02-15 16:52:46下载
- 积分:1
-
解法:对原文法消除左递归,根据消除左递归后的等价文法建立语法树,而后对此语法树 进行后根遍历,即可得到后缀式....
解法:对原文法消除左递归,根据消除左递归后的等价文法建立语法树,而后对此语法树 进行后根遍历,即可得到后缀式.- Solution: Eliminates the left recursion to the original
grammar, after equal in value grammar establishment grammar tree which
eliminates the left recursion, after but the grammar tree carries on
the root to spread the calendar regarding this, after then obtains
decorates the type
- 2022-01-22 17:47:18下载
- 积分:1