-
一个经典的词法分析器,可解析各种复杂的SQL语句
一个经典的词法分析器,可解析各种复杂的SQL语句- A classical morphology analyzer, may analyze each kind of
complex SQL sentence
- 2022-02-03 12:03:49下载
- 积分:1
-
test for character recognition sofware
test for character recognition sofware
- 2023-03-30 12:05:04下载
- 积分:1
-
一个有用的演示程序,供学习单片机的朋友很有用的。
一个很有用的demo程序,对于学习单片机的朋友很有用的。-A useful demo program for learning Singlechip Friend very useful.
- 2023-03-28 13:30:03下载
- 积分: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
-
编译原理实践教程PL0语言编译程序源代码。参考书:清华大学出版社的《编译原理》作者吕映芝、张素琴等。
实现主要功能有:对使用PL0语言编写的程序进行词法分析...
编译原理实践教程PL0语言编译程序源代码。参考书:清华大学出版社的《编译原理》作者吕映芝、张素琴等。
实现主要功能有:对使用PL0语言编写的程序进行词法分析,查看词法分析的结果,语法分析, 生成中间代码并可供查看,以及解释执行。
压缩包中含有实验报告文本,其中有程序中各功能模块及主要功能的详细说明。-Compilation Principle Practice Guide PL0 source language compiler. Reference: Tsinghua University Press, Compiler Construction Principles author Lu Ying-chi, such as Su-Qin Zhang. The realization of the main functions are: the use of language PL0 lexical analysis procedure to see the results of lexical analysis, syntax analysis, intermediate code generation and will also be available to view and explain the implementation. Experimental package contains the text of the report, including detailed description of every functional process modules and main functions.
- 2022-07-02 04:07:16下载
- 积分:1
-
现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中,词法是按LEX格式编辑,形式文法是按YACC格式书写,大家可直接用LEX和YACC工具编译生成各...
现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中,词法是按LEX格式编辑,形式文法是按YACC格式书写,大家可直接用LEX和YACC工具编译生成各类程序设计语言的分析器。-commonly used programming language syntax and grammar forms to the public. Among them, morphology is based on LEX format editing, grammar form is written by YACC format, we can use the LEX and YACC tools various compiler generation programming language analyzer.
- 2022-02-03 05:00:36下载
- 积分:1
-
用C++实现编译原理的递归下降语法分析
用C++实现编译原理的递归下降语法分析...
用C++实现编译原理的递归下降语法分析
用C++实现编译原理的递归下降语法分析-C compiler to achieve the principle of recursive grammar analysis dropped C compiler to achieve the principle of recursive grammar analysis drop
- 2022-07-09 16:22:30下载
- 积分:1
-
语法分析器 java版 编译课程综合训练
语法分析器 java版 编译课程综合训练-Java version of the compiler parser comprehensive training courses
- 2023-07-25 23:50:04下载
- 积分:1
-
-
- 2022-06-13 21:40:01下载
- 积分:1
-
编译原理豪华版的编写程序,用的是用!
编译原理豪华版程序用VC++编写-compiler theory luxury version of the preparation procedures with VC!
- 2022-01-24 16:45:01下载
- 积分:1