-
实现编译,对编译的文件察看
实现编译,对编译的文件察看-achieve compiler to compile the documents inspected
- 2022-11-09 22:25:04下载
- 积分:1
-
一个c语言写的词法分析器和语法分析器的简单算法,适用于编译原理的初学者...
一个c语言写的词法分析器和语法分析器的简单算法,适用于编译原理的初学者-a written language lexical analyzer and parser simple algorithms, compiler theory applies to the beginners
- 2023-08-06 16:00:03下载
- 积分:1
-
(1)构造文法G的LR(0)项目
(2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA
(3)证明文法G不是LR(0)文法而是SLR(1)文法,...
(1)构造文法G的LR(0)项目
(2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA
(3)证明文法G不是LR(0)文法而是SLR(1)文法,并构造SLR(1)分析表
(4)设计LR语法分析程序,且能输出分析过程
(5)列举两个例子测试语法分析程序(识别失败一例,识别成功一例,后者推导步骤不得少于10步)
-(1) construct grammar G of the LR (0) item (2) construct grammar G of the LR (0) item sets standards and identification of family living prefix DFA (3) prove that the grammar G is not LR (0) grammar, but the SLR (1 ) grammar, and constructs SLR (1) analysis table (4) design LR parser, and can output analysis process (5) cited two examples of parsing test procedures (identification fails an example, identify the success of a case, the latter shall not be derived step Less than 10 steps)
- 2022-05-16 14:03:06下载
- 积分:1
-
实现登录,可以自由相应的登录方式接受编码
实现登录,可以自由相应的登录方式接受编码-To achieve log free to log on to receive treatment the corresponding coding
- 2022-04-07 07:18:22下载
- 积分: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
-
算符优先语法分析器.
算符优先语法分析器.-operator priority parser.
- 2022-03-22 07:03:53下载
- 积分:1
-
请你们使用一下!可能你们喜欢这个.我在我的电脑上使用过.
请你们使用一下!可能你们喜欢这个.我在我的电脑上使用过.-you use! You may like this. In my computer use.
- 2022-07-18 18:42:54下载
- 积分: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
-
I did not know is good ha
我也不知道好不好的- I did not know is good ha-ha
- 2022-03-01 19:59:52下载
- 积分:1
-
this program can build on the principle of uncertainty to determine finite autom...
此程序可以把编译原理中的不确定的有限自动机确定化,是编译中课程设计的内容-this program can build on the principle of uncertainty to determine finite automata, which is to compile the contents of the curriculum design
- 2022-03-12 05:37:43下载
- 积分:1