-
本程序用于语法分析
本程序用于语法分析-procedures for the analysis of syntax
- 2022-01-26 05:42:54下载
- 积分:1
-
一个简单的解析器,可以对四则运算和if语句进行解析,利用简单扫描的方式词法解析,和压栈方式解释运算,可以帮助学习编译原理...
一个简单的解析器,可以对四则运算和if语句进行解析,利用简单扫描的方式词法解析,和压栈方式解释运算,可以帮助学习编译原理-a simple parser can be four operators and if statements for the analysis, simple scanning the lexical analysis, and interpretation Yazhan Operators can help compiler theory
- 2022-05-10 17:20:56下载
- 积分:1
-
陈火旺的程序设计语言编译原理,里面是pdf格式的
陈火旺的程序设计语言编译原理,里面是pdf格式的-Chen Huowang the principle of programming language compilers, which are pdf format
- 2022-04-18 10:36:14下载
- 积分:1
-
是用flex分析pl0源代码的程序,统计处其中所有的关键字和变量名称,这个rar文件中有readme,具体见其中的说明。另外还有2个测试文件ceshi1.pl0...
是用flex分析pl0源代码的程序,统计处其中所有的关键字和变量名称,这个rar文件中有readme,具体见其中的说明。另外还有2个测试文件ceshi1.pl0和ceshi2.pl0-is flex pl0 source code analysis procedures, the Census and Statistics Department in which all the keywords and variable names, the rar a readme file, as shown in the note. Another two tests and documents ceshi1.pl0 ceshi2.pl0
- 2022-06-20 00:44:12下载
- 积分:1
-
一个小型C语言编译器,支持多架构,包括i386,ARM,mips等
一个小型C语言编译器,支持多架构,包括i386,ARM,mips等-A small C language compiler, support multi-architecture, including the i386, ARM, mips, etc.
- 2022-03-07 18:11:19下载
- 积分: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
-
专门用来包装virtools文件的另一款工具,很好用的
专门用来包装virtools文件的另一款工具,很好用的-Dedicated to packaging virtools file another tool, a very good use
- 2022-01-29 00:37:51下载
- 积分:1
-
词法分析程序,可对以下的C源程序进行分析
词法分析程序,可对以下的C源程序进行分析:main() {int a[12] ,sum for(i=1 i=1 j--){ if(i==j&&i+j==13)sum+=a[i][j] } } printf("%c",sum) }-lexical analysis procedures, right below the C source code analysis : main () (int a [12] [12], the sum for (i = 1 ilt; I = 12) (for (j = 1 JLT; J = 12) Scanf ( "% d", a [i] [j])) for (i = 12 IGT; a = i--) (for (j = 12 IGT; = 1 j--) (if (i == ji j == 13) sum = a [i] [j])) printf ( "% c", sum
- 2022-07-19 15:44:58下载
- 积分:1
-
Communication System PCM codec mode. matlab achieve.
通信传输系统中的PCM编码解码方式。matlab实现。-Communication System PCM codec mode. matlab achieve.
- 2022-08-06 01:34:08下载
- 积分:1
-
关于c++的词法分析,语法分析,运行成功。对大家希望有帮助...
关于c++的词法分析,语法分析,运行成功。对大家希望有帮助-Accidence analyse and parsing about C++,which run succeed.wish it can help you.
- 2022-07-23 09:40:08下载
- 积分:1