-
这是一份实验报告,目的是掌握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
-
一个进行整数计算的C语言词法分析器
一个进行整数计算的C语言词法分析器- Carries on the integer computation the C language morphology
analyzer
- 2022-01-21 01:13:21下载
- 积分:1
-
这是一个用来调试驱动开发的一个调试器,可以编译和调试基于NDIS机制的驱动开发。...
这是一个用来调试驱动开发的一个调试器,可以编译和调试基于NDIS机制的驱动开发。-This is a debugger to drive the development of a debugger, Compiling and Debugging can be based on the NDIS driver development mechanism.
- 2023-08-14 00:25:02下载
- 积分:1
-
JC1.0。本编译器包含完整的文档与程序。借助 Lex & Bison, masm 开发。语句5个,支持混合运算。输入输出作为两个 IO 语句(函数调用),由汇...
JC1.0。本编译器包含完整的文档与程序。借助 Lex & Bison, masm 开发。语句5个,支持混合运算。输入输出作为两个 IO 语句(函数调用),由汇编实现并编译为 io.obj,将由 Link 链接。生成 EXE。整个流程完整清晰,代码易读。-JC1.0. The compiler includes complete documentation and procedures. With Lex Bison, can develop. Statement 5, support mixed computing. Input and output as two IO statement (function call), compiled by the compiler to achieve and io.obj will link Link. EXE generation. The entire process, complete and clear, legible code.
- 2022-03-02 14:29:23下载
- 积分:1
-
编译原理PLO语言的功能扩展C语言源程序
编译原理PLO语言的功能扩展C语言源程序-Compilation Principle PLO language extensions C language source code
- 2022-07-19 20:47:30下载
- 积分:1
-
一个SQL解析器
一个SQL解析器- A SQL analysis
- 2022-02-14 01:03:49下载
- 积分:1
-
计算所汉语词法分析系统ICTCLAS.分词正确率高达97.58%(973专家组评测),未登录词识别召回率均高于90%,其中中国人名的识别召回率接近98%处理速度...
计算所汉语词法分析系统ICTCLAS.分词正确率高达97.58%(973专家组评测),未登录词识别召回率均高于90%,其中中国人名的识别召回率接近98%处理速度为31.5Kbytes/s。ICTCLAS的特色还在于:可以根据需要输出多个高概率结果,有多种输出格式,支持北大词性标注集,973专家组给出的词性标注集合。-Calculate the Chinese Lexical Analysis System ICTCLAS. Segmentation correct rate of 97.58 percent (973 Expert Group on Evaluation), the recall rate of identification of unknown words were higher than 90 percent, of which China s name to identify the recall rate of nearly 98 percent processing speed for 31.5Kbytes/s. Also features ICTCLAS is: can output a number of high probability that there are a variety of output formats, to support the North-of-speech tagging sets, 973 expert group is given a collection of-speech tagging.
- 2022-11-30 21:35:04下载
- 积分:1
-
陈火旺的程序设计语言编译原理,里面是pdf格式的
陈火旺的程序设计语言编译原理,里面是pdf格式的-Chen Huowang the principle of programming language compilers, which are pdf format
- 2022-04-18 10:36:14下载
- 积分:1
-
编译原理实验之词法分析器,实现对输入的字符或语句进行词法分析器。...
编译原理实验之词法分析器,实现对输入的字符或语句进行词法分析器。-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
-
TCM编码的调制端,采用8PSK,2/3码率的卷积码的matlab程序
TCM编码的调制端,采用8PSK,2/3码率的卷积码的matlab程序-TCM coded modulation client, using 8PSK, 2/3 code rate of convolutional codes of matlab program
- 2023-08-31 17:00:03下载
- 积分:1