-
这是一份实验报告,目的是掌握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
-
汉语原代码,具有词法分析,句法分析功能 很好的程序
汉语原代码,具有词法分析,句法分析功能 很好的程序-Chinese source with lexical analysis and parsing functions good procedures
- 2023-04-24 09:05:03下载
- 积分:1
-
LDPC码在AWGN信道下的MATLAB仿真程序
LDPC码在AWGN信道下的MATLAB仿真程序-LDPC code in AWGN channel under the MATLAB simulation program
- 2023-01-22 19:35:04下载
- 积分:1
-
这是一个非常经典的二叉平衡树,希望大家能够喜欢
这是一个非常经典的二叉平衡树,希望大家能够喜欢-This is a very classic balance of the two forks tree and I hope we can like
- 2022-03-21 08:12:41下载
- 积分:1
-
一个类C语言解释器,由他的外交C高手,喜欢剧本方案。
一个类c++语言解释器,由一位国外c++大师所作,喜欢脚本脚本语言的可以-a Class C language interpreter, by a master of his foreign c, like the script scripting language can s
- 2022-03-03 11:45:02下载
- 积分:1
-
编译原理的VC实现,最近做编译作业,下载的.
编译原理的VC实现,最近做编译作业,下载的.-compile VC tenets of a recent compiler operations, the downloaded.
- 2022-06-16 15:17:43下载
- 积分:1
-
token 词法分析 C++写成,就是一个词法分析的一个实验报告,比较方便需要的同事...
token 词法分析 C++写成,就是一个词法分析的一个实验报告,比较方便需要的同事-token Lexical Analysis C++ languages, is a lexical analysis of an experimental report, more convenient to the needs of colleagues
- 2022-09-10 11:35:03下载
- 积分:1
-
YACC和Lex集成开发环境,现在要找到它还真不容易,加上自己收集的一些例子,希望对大家有帮助....
YACC和Lex集成开发环境,现在要找到它还真不容易,加上自己收集的一些例子,希望对大家有帮助.-integrated development environment, now find it really is not easy, with its own collection of some examples, and I hope to be helpful.
- 2022-01-28 14:51:27下载
- 积分:1
-
gc6.7 一个适用于CC++的内存垃圾回收器,可以像Java中那样随意的分配内存而不用释放,也不必担心内存泄漏了...
gc6.7 一个适用于CC++的内存垃圾回收器,可以像Java中那样随意的分配内存而不用释放,也不必担心内存泄漏了-gc6.7 an application to the C C memory for the garbage collector. Java can be as arbitrary as the allocation of memory instead of the release, there is no need to worry about a memory leak
- 2023-07-17 12:50:04下载
- 积分:1
-
This is a level set method using segmentation method is currently used by more a...
这是一个利用水平集方法进行分割的方法,是目前使用越来越多的方法,并且有严格的数学依据-This is a level set method using segmentation method is currently used by more and more ways, and has a strict mathematical basis for
- 2023-08-27 17:15:03下载
- 积分:1