-
the inverse process can be converted to Poland expression C language program.
该程序可将逆波兰表达式转换为C语言程序。-the inverse process can be converted to Poland expression C language program.
- 2022-03-06 21:14:58下载
- 积分: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
-
一个简单的编译器,可以实现简单的画图语句的解析,最终画出简单的图形。涉及程序编译器的实现几个步骤,词法分析,语法分析,语义分析,等等。...
一个简单的编译器,可以实现简单的画图语句的解析,最终画出简单的图形。涉及程序编译器的实现几个步骤,词法分析,语法分析,语义分析,等等。-a simple compiler can achieve a simple drawing of analytic statement, the final draw simple graphics. The procedures compiler in several steps, lexical analysis, grammar analysis, semantic analysis, and so on.
- 2022-04-14 21:30:32下载
- 积分:1
-
这个是我编译原理课程设计的 内容,呵呵 我遍的是词法分析,基本的功能都能够实现,如词法分析,词法查错,删除无实质意义的字符等,不懂编译的就不用看了,编译真的很难...
这个是我编译原理课程设计的 内容,呵呵 我遍的是词法分析,基本的功能都能够实现,如词法分析,词法查错,删除无实质意义的字符等,不懂编译的就不用看了,编译真的很难!!!不过好象没什么用-this my compiler theory of curriculum design, Oh my times of lexical analysis, the basic functions are to achieve, such as lexical analysis, lexical troubleshoot, remove no real significance of the characters, do not know the compiler would not have to read, compile it really hard! ! ! But it seems usele
- 2022-02-06 06:28:34下载
- 积分:1
-
c―语言的词法分析器。将一个C
c―语言的词法分析器。将一个C--语言程序分割成token串的序列。处理C--语言的所有token类型。程序要做成命令行程序,带两个参数,分别表示输入和输出文件名。
-c-language lexical analyzer. A C language program is separated into token strings of sequences. C-treatment of all token types. Procedures to create command line process, with two parameters, respectively, express the input and output file names.
- 2022-10-07 07:50:04下载
- 积分:1
-
针对java语言的最简词法分析器 输入原文件输出目标文件。txt
针对java语言的最简词法分析器 输入原文件输出目标文件。txt
- 2022-04-21 03:15:00下载
- 积分:1
-
语法分析,编译原理,是Pascal子集C ..
编译原理中的语法分析,是对以PASCAL的一个子集编写的编译程序,功能还行,自己看着用吧-Compiler Construction Principles of grammar analysis, is to a subset of PASCAL compiler preparation procedures, functions also visit with your own watch
- 2023-02-15 04:00:04下载
- 积分:1
-
读取BNF表达式和终结符文件,然后生成相应文法的First、Follow集、文法分析表以及冲突表。...
读取BNF表达式和终结符文件,然后生成相应文法的First、Follow集、文法分析表以及冲突表。-BNF expressions and terminator read the file, and then generates the appropriate grammar First, Follow sets, grammar analysis table, as well as conflict table
- 2022-05-31 03:17:31下载
- 积分:1
-
- 2022-04-29 09:14:27下载
- 积分:1
-
符合编译原理的词法分析器
符合编译原理的词法分析器- Conforms to the translation principle morphology analyzer
- 2022-08-23 11:51:28下载
- 积分:1