-
编译课程设计,自己编的一个词法分析器,功能还算强大,只要自己再在上面加些代码可以构成语法分析,(包括与处理程序)....
编译课程设计,自己编的一个词法分析器,功能还算强大,只要自己再在上面加些代码可以构成语法分析,(包括与处理程序).-compiler curriculum design, own a series of the lexical analyzer, functions fairly strong, as long as the above again add some code may constitute syntax analysis, (including processing).
- 2022-10-21 12:20:03下载
- 积分:1
-
ll1语法分析的c语言实现代码 需要输入词法分析的txt结果文件
ll1语法分析的c语言实现代码 需要输入词法分析的txt结果文件-ll1 the grammar analysis c language realization code needs to
input the lexical analysis the txt result document
- 2023-03-31 09:25:03下载
- 积分:1
-
编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式...
编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式-compiler theory of curriculum design, the importation of Boolean expressions, and then the system automatically converted to reverse Poland four yuan-
- 2022-02-26 06:19:56下载
- 积分:1
-
在多道程序设计系统编辑器
System Editor for multiprogramming
- 2022-01-25 21:42:01下载
- 积分: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
-
该程序能够实现简单的c语言词法,语法,语义分析。
该程序能够实现简单的c语言词法,语法,语义分析。- This procedure can realize the simple c language morphology,
the grammar, the semantic analysis.
- 2022-01-25 20:08:31下载
- 积分:1
-
算符优先分析过程模拟 希望给大家帮助
算符优先分析过程模拟 希望给大家帮助-算符优先分析过程模拟
- 2022-08-09 22:00:45下载
- 积分:1
-
一个小语言的词法分析程序
一个小语言的词法分析程序- A small language lexical analyaer
- 2022-01-20 22:52:25下载
- 积分:1
-
一个句子识别程序(预测分析法)原程序,是用vc++编写的,很不错哦...
一个句子识别程序(预测分析法)原程序,是用vc++编写的,很不错哦-a sentence identification procedures (Prediction) program, is prepared by the vc, oh very good
- 2023-02-11 11:40:04下载
- 积分:1
-
语法分析 语法分析
语法分析 语法分析- The grammar analysis grammar analysis grammar analyzes
- 2022-06-01 16:03:08下载
- 积分:1