-
词法分析程序,很初级的,我们刚刚开编译原理
词法分析程序,很初级的,我们刚刚开编译原理- Lexical analyaer, very primary, we just opened the translation
principle
- 2023-04-12 08:05:03下载
- 积分:1
-
词法分析的程序设计
词法分析的程序设计- Lexical analysis programming
- 2023-01-01 21:20:03下载
- 积分:1
-
词法分析器实现 c语言
词法分析器实现 c语言 - The morphology analyzer realizes the c language
- 2022-03-09 13:24:04下载
- 积分:1
-
编译原理大作业
编译原理大作业---tiger编译器
包括semant,translate,mipsframe,regalloc等所有phase
懂的人自会知道-Compilation Principle big operation--- tiger compiler including semant, translate, mipsframe, regalloc all those who understand phase will know
- 2022-03-04 15:18:43下载
- 积分:1
-
xml解析器,非常好的一个xml解析器
xml解析器,非常好的一个xml解析器-xml analysis, an extremely good xml analysis
- 2023-02-08 23:35:04下载
- 积分:1
-
C编写自己的语义的编译器,你可以用它给你homew…
自己用纯C语言做的词法编译器,可能大家作业能用的上吧,-A semantics compiler in c programed by myself,maybe you can use it foe you homework
- 2022-01-25 14:43:05下载
- 积分: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
-
输入已经消除左递归的以及提取公共左因子的LL(1)文法,再输入相应的表达式,若分析成功,则在递归输出过程中输出"acc",若不成功,则有相应的报错以及位置指名。...
输入已经消除左递归的以及提取公共左因子的LL(1)文法,再输入相应的表达式,若分析成功,则在递归输出过程中输出"acc",若不成功,则有相应的报错以及位置指名。注意,要把同一个非终结符的产生式分成单个输入。他会自动计算first,follow,预测分析表的构造,但并不输出。-importation has been eliminated and left recursive public from the left-LL (1) grammar, further importation of the corresponding expression, if the analysis is successful, the output of the recursive process output "belongs", if successful, there were errors and the corresponding location named. Attention, we should end with a non-escalation of production into a single input. He will be automatically calculated first, follow, and predicting and analyzing the table structure, but does not export.
- 2022-03-22 06:15:04下载
- 积分:1
-
这是我课程设计的时候编的一个simple 语言的词法分析器,可以运行,希望大家支持...
这是我课程设计的时候编的一个simple 语言的词法分析器,可以运行,希望大家支持-This is my time courses designed a series of simple language the lexical analyzer, can run, we hope that the support
- 2022-04-25 01:09:58下载
- 积分: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