-
c语言写的VB编译器
c语言写的VB编译器-c write VB language compiler
- 2022-03-24 00:32:57下载
- 积分: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
-
一个面向对像语言的编译器,输出标准的汇编代码
一个面向对像语言的编译器,输出标准的汇编代码-as a right-oriented language compiler output code compilation of standards
- 2022-11-22 09:00:04下载
- 积分:1
-
LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只...
LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只需向右看一个符号便可决定如何推导,即选择哪个产生式(规则)进行推导。
LL(1)文法的判别需要依次计算FIRST集、FOLLOW集和SELLECT集,然后判断是否为LL(1)文法,最后再进行句子分析。
-LL (1) grammar using a set top-down analysis techniques. LL (1) the meaning is: the first one L shows a top-down analysis is a scan input string from left to right, the first two L shows the analysis process will be the most left-derivation, one that will be just right to see a sign can decide how to derive, choose what Production (rules) for derivation. LL (1) grammar, followed by calculation of the discriminant needs FIRST sets, FOLLOW sets and SELLECT set, and then determine whether to LL (1) grammar, the last sentence further analysis.
- 2023-02-02 20:20:03下载
- 积分:1
-
Programa em Pascal usado em Aulas
Programa em Pascal usado em Aulas
- 2022-07-03 07:04:34下载
- 积分:1
-
PL/0语言可以看成PASCAL语言的子集,它的编译程序是一个编译解释执行系统。PL/0的目标程序为假想栈式计算机的汇编语言,与具体计算机无关。 文件说明: P
PL/0语言可以看成PASCAL语言的子集,它的编译程序是一个编译解释执行系统。PL/0的目标程序为假想栈式计算机的汇编语言,与具体计算机无关。 文件说明: PL.htm---PL/0语言基本原理 pl0.h---定义 PL0.cpp---实现 testPl0.cpp---使用方法举例 testPas.txt---一个LP/0语言源程序-PL/0 language may regard as the PASCAL language the subset,
its compiler is a translation explanation execution system. The PL/0
target program for the imaginary stack type computer assembly
language, has nothing to do with with the concrete computer. Document
explanation that, PL.htm---PL/0 language basic principle pl0.h---
defines PL0.cpp--- to realize the testPl0.cpp--- application method to
give an example testPas.txt--- a LP/0 language source program
- 2022-03-07 06:16:43下载
- 积分:1
-
商店销售电脑,ASP.NET写的C代码#
shop sales computer, write asp.net code c#
- 2022-02-04 21:14:45下载
- 积分:1
-
Delphi编的pl0编译器
delphi编的pl0编译器-delphi arranges pl0 compiler
- 2022-12-02 06:40:03下载
- 积分:1
-
我的词法分析程序,是编译原理要做的一个,放上来大家
我的词法分析程序,是编译原理要做的一个,放上来大家-my lexical analysis procedure to be done is to compile a principle, we see Fangshanglai
- 2023-04-08 04:55:03下载
- 积分:1
-
可能产生的java代码的语法生产
一个可以生成java代码的语法生成器- May produce the java code the grammar production
- 2022-03-05 02:55:35下载
- 积分:1