-
用c寓言编写的一个词法分析程序! 很不错
用c寓言编写的一个词法分析程序! 很不错-c fable with the preparation of a lexical analysis procedure! Very good
- 2022-01-21 19:18:45下载
- 积分:1
-
这是一份实验报告,目的是掌握YACC的使用方法,了解YACC处理二义性的方法。
用YACC等工具生成如下文法表示的表达式对应的计算器
exp...
这是一份实验报告,目的是掌握YACC的使用方法,了解YACC处理二义性的方法。
用YACC等工具生成如下文法表示的表达式对应的计算器
exp->exp + exp | exp - exp| exp * exp |exp / exp |exp ^ exp | - exp |(exp) |NUM
对于输入的表达式,能输出结果。比如:
3 +(4 *5)结果应为23
当出现错误时可以进行错误处理。
-This is a test report, the purpose is to master the use YACC to learn YACC handling of the ambiguity approach. Using tools such as YACC grammar that generates the following expression for the corresponding calculator exp-> exp+ exp | exp- exp | exp* exp | exp/exp | exp ^ exp |- exp | (exp) | NUM expression for the input type, can be output. For example: 3+ (4* 5) the result should be 23 when the error can be error-handling.
- 2022-05-23 10:34:44下载
- 积分:1
-
编译原理的词法,语法,分析等
编译原理的词法,语法,分析等,还有劳顿的tiny machine (tm.c)的代码实现,前面还有相应的汇编程序 -compiler principles of morphology, syntax and analysis, there is a tiny machine Lawton (tm.c) the implementation of the code, still ahead of the corresponding assembler
- 2022-02-20 23:02:11下载
- 积分: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
-
这是一个词法分析的小程序,希望大家多多指教
这是一个词法分析的小程序,希望大家多多指教-This is a lexical analysis of small procedures, we hope the exhibitions
- 2022-03-25 21:05:53下载
- 积分:1
-
C compiler, a simple C language compiler.
C编译器 ,简单的一个C语言的编译器。-C compiler, a simple C language compiler.
- 2022-06-28 11:52:22下载
- 积分:1
-
布尔表达式的翻译
布尔表达式的翻译- Boolean expression translation
- 2022-05-07 00:53:13下载
- 积分:1
-
用户输入一个文法,然后再输入,要被分析的字符串,自动进行语法分析,把每一不的分析过程都一一打印出来。直到分析成功或失败。...
用户输入一个文法,然后再输入,要被分析的字符串,自动进行语法分析,把每一不的分析过程都一一打印出来。直到分析成功或失败。-a user input grammar, and then imported to the string were analyzed automatically syntax analysis, the analysis of each process does not have to print out on January 1. Until the analysis of success or failure.
- 2023-07-23 13:45:02下载
- 积分:1
-
本程序实现了简单的编译器功能,是用PL0语言编写的,思路明确...
本程序实现了简单的编译器功能,是用PL0语言编写的,思路明确-This procedure achieved a simple compiler function is PL0 languages, ideas clearly
- 2022-06-02 01:55:43下载
- 积分:1
-
ll(1)语法分析器
ll(1)语法分析器-ll (1) parser
- 2023-04-21 17:00:04下载
- 积分:1