-
现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中,词法是按LEX格式编辑,形式文法是按YACC格式书写,大家可直接用LEX和YACC工具编译生成各...
现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中,词法是按LEX格式编辑,形式文法是按YACC格式书写,大家可直接用LEX和YACC工具编译生成各类程序设计语言的分析器。-commonly used programming language syntax and grammar forms to the public. Among them, morphology is based on LEX format editing, grammar form is written by YACC format, we can use the LEX and YACC tools various compiler generation programming language analyzer.
- 2023-02-14 16:15:03下载
- 积分:1
-
c语言编译器源代码,small c for dos源代码,对学习c语言本质很有好处。...
c语言编译器源代码,small c for dos源代码,对学习c语言本质很有好处。-c language compiler source code, small c for dos source code, the nature of learning c language is very good.
- 2022-05-26 14:31:08下载
- 积分: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
-
small c source code for Z80
small c for z80 源代码-small c source code for Z80
- 2022-01-21 19:42:47下载
- 积分:1
-
一个词法分析程序,可以实现输入C源程序,输出二元式
一个词法分析程序,可以实现输入C源程序,输出二元式-a lexical analysis procedures, can achieve the importation of C source files, binary output-
- 2023-04-25 04:20:03下载
- 积分:1
-
用C#做的《编译原理》的PROJECT
用C#做的《编译原理》的PROJECT--语法分析器(算符优先法)
文法,句子均支持从TXT文件输入或者手工键入,分析结果可保存为RTF文件-With C# To do the
- 2022-09-12 13:50:03下载
- 积分:1
-
51单片机汇编代码 10kHz正弦波信号发生器
51单片机汇编代码 10kHz正弦波信号发生器-51 Single-chip assembly code 10kHz sine wave signal generator
- 2023-02-19 09:25:03下载
- 积分:1
-
编译器
compiler
- 2022-01-25 18:35:14下载
- 积分:1
-
Reorganizes unix v7 ya
整理 unix v7 的 ya- Reorganizes unix v7 ya
- 2022-03-04 16:01:54下载
- 积分:1
-
LL parser, compiler of learning theory is an example.
LL语法分析器,对学习编译原理是一个示例。-LL parser, compiler of learning theory is an example.
- 2022-07-21 21:51:47下载
- 积分:1