-
这是一份实验报告,目的是掌握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
-
本代码为根据老师的课程设计要求做的小编译器的词法分析部分和语法分析部分,附件中有老师的要求文档,还有语法分析时使用到的分析表...
本代码为根据老师的课程设计要求做的小编译器的词法分析部分和语法分析部分,附件中有老师的要求文档,还有语法分析时使用到的分析表-This code is based on the teacher" s curriculum design requirements to do a small part of the compiler" s lexical analysis and syntax analysis section, in the annex to the request of the teacher documents, as well as the use of grammatical analysis to the analysis table
- 2022-03-21 23:02:52下载
- 积分:1
-
C programm for Poissionous probability distribtion
C programm for Poissionous probability distribtion
- 2022-02-25 05:32:18下载
- 积分:1
-
Compilation Principle lesson plans. Xidian University Press
编译原理教案。西安电子科技大学出版-Compilation Principle lesson plans. Xidian University Press
- 2022-09-24 18:10:03下载
- 积分:1
-
VC实现对word文档的操作,在6.0下编译通过
VC实现对word文档的操作,在6.0下编译通过-VC realize the operation of the word document, in the 6.0 compiler through
- 2022-01-24 16:33:11下载
- 积分: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
-
it can complier in VC6.0,glossary is disc,inputting phrase is expression
VC 6.0 下编译通过 disc 为辞典 expression 为输入的短语-it can complier in VC6.0,glossary is disc,inputting phrase is expression
- 2023-05-29 00:30:04下载
- 积分:1
-
- 2022-08-20 12:54:47下载
- 积分:1
-
一个用LISP语言编写的语法分析器。底部的使用
一个用LISP语言编写的语法分析器。使用Bottom-up Chart Parsing算法,程序非常的简单高效,只有二百多行。另外可以自己定义文法和字典。 源代码公开,主要供对语法分析算法和LISP编程感兴趣的人学习使用,也可以使用在自然语言处理的各种实际研究当中。-A language with LISP parser. The use of Bottom-up Chart Parsing algorithm, the procedure very simple and efficient, and only more than 200 lines. In addition to its own grammar and dictionary definition. Open source code, mainly for syntax analysis of the LISP programming algorithms and people interested in learning to use, you can also use natural language processing in a variety of actual studies.
- 2022-06-26 05:28:01下载
- 积分:1
-
完美反编译各种版本的CHM文件
把所有内容以完整结构(目录路径)反编译出来,100 还原,详细计算各种文件的数量:图片、网页、多媒体等;
支持所有版...
完美反编译各种版本的CHM文件
把所有内容以完整结构(目录路径)反编译出来,100 还原,详细计算各种文件的数量:图片、网页、多媒体等;
支持所有版本的CHM,支持所有编码;
允许有选择性地导出不同类型的文件,包括仅导出所有图片、仅导出所有网页文件、仅导出所有多媒体文件、仅导出列表等;
特有树形结构预览;
支持快速批量反编译,如果导出目标文件夹存在,则会自动生成新的序列文件夹;
智能操作,无所不在的快捷方式与体贴的操作与提示;
自动识别文件类型,判断有潜在威胁的文件类型自动提示! -Perfect Anti-compiled versions of CHM files
Put all the contents of a complete structure (directory path) anti-compiled, 100 reduction, detailed calculation of the number of various documents: images, web pages, multimedia, etc.
Supports all versions of the CHM, to support all coding
Allow selective export of different types of documents, including the only export all the pictures, only to export all pages of documents, only to export all the multimedia files, only to export the list and so on
Special preview of tree structure
Support for fast batch decompile, if the export destination folder exists, it will automatically generate a new sequence of folders
Intelligence operation, the ubiquitous shortcu
- 2023-01-31 18:45:03下载
- 积分:1