Location:
Search - LL 1
Search list
Description: 此程序是语法分析,判断是否为LL(1)文法,如果是则构造first集,follow集,select集,并输出分析表。程序用C语言编写。
Platform: |
Size: 22909 |
Author: skeqiang@yahoo.com.cn |
Hits:
Description: 求一个文法的first,follow,select集判断该文法是不是LL(1)文法,生成该文法的预测分析表,输入字符串的分析表,以及相应的语法树。
Platform: |
Size: 49471 |
Author: gudanping |
Hits:
Description: 包括一个LR(1)的语法分析程序和一个LL(1)的语法分析程序的例子- Including LR (1) grammar analysis program and LL (1) grammar
analysis program example
Platform: |
Size: 239616 |
Author: 杨军 |
Hits:
Description: LL(1)语法分析系统-LL (1) grammar analysis system
Platform: |
Size: 13312 |
Author: 严丽平 |
Hits:
Description: 编译原理LL(1)文法分析器 录入合法的LL(1)文法,将输出LL(1)预测分析表,并可以对输入的句子进行语法分析输出相应语法树。- Translation principle LL (1) grammar analyzer input legitimate
LL (1) the grammar, will output LL (1) to forecast the analytical
table, and will be allowed to carry on the grammar analysis output
corresponding grammar tree to the input sentence.
Platform: |
Size: 33792 |
Author: 刘远兴 |
Hits:
Description: 录入合法的LL(1)文法,将输出LL(1)预测分析表- Inputs legitimate LL (1) the grammar, will output LL (1) to
forecast the analytical table
Platform: |
Size: 48128 |
Author: 吴斌 |
Hits:
Description: LL(1)文法源代码-LL (1) grammar source code
Platform: |
Size: 2048 |
Author: 小西 |
Hits:
Description: 这是编译原理的一个 LL(1)文法预测分析表构造程序-This is the principle of a compiler LL (1) grammar Forecast and Analysis Table tectonic process
Platform: |
Size: 34816 |
Author: 罗刚 |
Hits:
Description: 编译原理LL(1)文法分析器 录入合法的LL(1)文法,将输出LL(1)预测分析表,并可以对输入的句子进行语法分析输出相应语法树。-compiler theory LL (1) grammar analyzer input legitimate LL (1) grammar, will output LL (1) Table Forecast and Analysis, and can import sentence for syntax analysis syntax tree corresponding output.
Platform: |
Size: 49152 |
Author: 徐强 |
Hits:
Description: 执行程序,输入文法,与需要分析的语句执行ll(1)分析,很方便-implementation procedures, the importation of grammar, and the need to analyze the implementation of the phrase ll (1) analysis, is a convenient
Platform: |
Size: 206848 |
Author: Wandy_1234 |
Hits:
Description: 这是一个LL(1)的分析器,针对文法E->TG , T->FU , G->+TG|^ , U->*FU|^ , F->(E)|i,是对编译原理初学者的一个帮助。-This is an LL (1) analyzers, the grammar-E-
Platform: |
Size: 193536 |
Author: 飞翔 |
Hits:
Description: LL(1)文法,消除隐藏左递归,提取共因子,然后求First,Follow,Select集,以及预测分析表,最后进行预测分析-LL (1) grammar, the elimination of hidden left recursive, extracting a total factor, and then seek First, Follow, Select set, and the forecast analysis table, the final analysis of forecast
Platform: |
Size: 52224 |
Author: swb |
Hits:
Description: 编译原理全套实验源代码。包括词法分析,递归下降语法分析,LL(1)语法分析,简单优先语法分析和算符优先语法分析-compile a full set of experimental principle source code. Including lexical analysis, recursive grammar decline, LL (1) syntax analysis, priority simple syntax analysis and operator precedence syntax analysis
Platform: |
Size: 832512 |
Author: chuchao |
Hits:
Description: 用LL(1)方法分析四则运算,包括一个词法分析的头文件。-with LL (1) Analysis of four operations, including a lexical analysis of the headers.
Platform: |
Size: 3072 |
Author: 田甜 |
Hits:
Description: 本文件主要是针对编译原理的语法分析和语义分析,用的是LL(1)文法。-This document is mainly directed against the principle of compiler syntax analysis and semantic analysis, using a LL (1) grammar.
Platform: |
Size: 1391616 |
Author: Mace |
Hits:
Description: LL(1)文法分析过程的可视化及教学应用研究-LL (1) grammar analysis and visualization applications in teaching and learning research
Platform: |
Size: 3794944 |
Author: taigongxiaowang |
Hits:
Description: 实现根据LL(1)文法生成First集和Follow集的算法。
【基本要求】
(1) 输入一个文法G;
(2) 实现由文法G构造FIRST集的算法;
(3) 输出First集;
(4) 实现由文法G构造FOLLOW集的算法;
(5) 输出FOLLOW集。
【测试数据】
输入文法:
E->TE’
E’->+TE’|ε
T->FT’
T’->*FT’|ε
F->(E)|i -ll(1).rar
Platform: |
Size: 1391616 |
Author: 卢显灯 |
Hits:
Description: 编译原理课上的一个LL(1)语法分析器的实现-Compilation Principle of a class of LL (1) the realization of parser
Platform: |
Size: 59392 |
Author: Charles |
Hits:
Description: 这是编译原理中的实验:LL(1)文法的程序,里面包含三个程序,是我珍藏的。-This is a compilation of the experimental principle: LL (1) grammar of the program, which includes three programs that I treasured.
Platform: |
Size: 708608 |
Author: 高城 |
Hits:
Description: LL(1)语法分析器设计
1.如下为给定的LL(1)文法。
G[<P>]:
1) <P>->program <D> : <T> begin <S> end {program}
2) D->i D’ {i}
3) D’->, i D’ {,}
4) D’->ε {:}
5) S->s S’ {s}
6) S’-> s S’ { }
7) S’->ε {end}
8) T->real {real}
9) T->integer {integer}
其中右侧{}内为产生的可选集。
2.调试并完善如下给出的文法的LL(1)分析器示例程序,并设输入的文法的句子为:
program
i , i , i : integer
begin
s s s
end
给出输出结果并进行分析说明。
-1. Below for a given LL (1) grammar.
G [<P>]:
1) <P>-> program <D>: <T> begin <S> end {program}
2) D-> i D {i}
3) D ->, i D {,}
4) D -> ε {:}
5) S-> s S {s}
6) S -> s S { }
7) S -> ε {end}
8) T-> real {real}
9) T-> integer {integer}
{} within which the right to produce an optional set.
2. Debug and improve the grammar given in the following LL (1) analyzer sample program, and set the input sentence is the grammar:
program
i, i, i: integer
begin
s s s
end
Output and analysis are given instructions.
Platform: |
Size: 190464 |
Author: 浮云 |
Hits:
« 12
3
4
5
6
7
8
9
10
...
50
»