-
编译原理实验之词法分析器,实现对输入的字符或语句进行词法分析器。...
编译原理实验之词法分析器,实现对输入的字符或语句进行词法分析器。-Compiler lexical analyzer of principle experiment, the realization of the input of characters or words for lexical analyzer.
- 2022-03-17 23:56:41下载
- 积分: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
-
编译原理 实现多个表达式的识别和判断出错
编译原理 实现多个表达式的识别和判断出错-Compilation Principle of multiple expressions of recognition and assessment of error
- 2022-03-26 03:32:58下载
- 积分:1
-
一个经典的词法分析器,可解析各种复杂的SQL语句
一个经典的词法分析器,可解析各种复杂的SQL语句- A classical morphology analyzer, may analyze each kind of
complex SQL sentence
- 2022-02-03 12:03:49下载
- 积分:1
-
pl0修改后的源程序和报告
(1) 修改后的PL/0语言文本。包含词法分析(正规式),语法分析(BNF)。
(2) 有关修改后的PL/0编译/解释器的说...
pl0修改后的源程序和报告
(1) 修改后的PL/0语言文本。包含词法分析(正规式),语法分析(BNF)。
(2) 有关修改后的PL/0编译/解释器的说明。详细说明你的编译器是如何编译新的PL/0语言程序的。指出你的程序中最精彩的部分,以及你为什么这样做,你是如何控制和恢复语义错误的。
(3) 给出你所改动后的编译器源程序清单,并标记出你所修改的部分。比较你的编译器和原来的编译器之间的差别。
(4) 说明你的编译器中可能存在的错误。
(5) 总结经验与教训,如果重做一遍,你会有哪些新的改进?
-err
- 2022-01-21 20:50:44下载
- 积分:1
-
全功能c#编译器,很小但功能不弱于vs2003
全功能c#编译器,很小但功能不弱于vs2003-fully functional c# compiler, a small but functional is not weaker than vs2003
- 2023-06-12 07:30:04下载
- 积分:1
-
The Guangzhou public transportation vehicle line inquires
广州公交车线路查询- The Guangzhou public transportation vehicle line inquires
- 2022-04-07 12:20:44下载
- 积分:1
-
一个flex和bison用法入门的很好的例子。 按照词法分析,语法分析,语义分析的顺序来熟悉flex和bison这两个有力的工具。最后给出了一个用flex做词法...
一个flex和bison用法入门的很好的例子。 按照词法分析,语法分析,语义分析的顺序来熟悉flex和bison这两个有力的工具。最后给出了一个用flex做词法分析用bison做语法分析设计的科学计算器(不同于一般程序设计中的入门级计算器),是学习编译原理的很好的例子。-a flex and bison portal usage of a very good example. According lexical analysis, parsing, Semantic analysis of the sequence to flex and bison familiar with these two powerful tool. Finally, a use flex do lexical analysis bison do syntax analysis and design of scientific calculators (unlike General Program Design"s entry-level calculators), compiler theory is the study of good examples.
- 2022-02-28 21:54:31下载
- 积分:1
-
The use of C/C++ language as the implementation language, to achieve a simple PL...
使用C/C++语言作为实现语言,实现一个简单PL/0语言的编译器。手工编码实现编译器的组成部分。语法分析程序采用递归下降分析法。-The use of C/C++ language as the implementation language, to achieve a simple PL/0 language compiler. Hand-coding part of the compiler. Parser uses recursive descent analysis.
- 2023-03-06 02:05:03下载
- 积分:1
-
快速基本的编译器
Quick Basic DOS Compilers
- 2022-01-31 15:36:52下载
- 积分:1