搜索资源列表
LL(1)_LR(0)_Demo.rar
- 包括一个LR(1)的语法分析程序和一个LL(1)的语法分析程序的例子
LL(1)语法分析器
- LL(1)语法分析器
判断是否为ll(1)文法程序
- 一个程序,用于判定给定的文法是否为LL(1)文法。 实现了:1.文法的机内表示;2. FIRST集和FOLLOW集的计算; 3. LL(1)预测分析表的构造。-a procedure for the determination of grammar to whether LL (1) grammar. Realized : 1. Grammar said the machines; 2. FIRST FOLLOW sets and set computing; 3. LL (1) Forecas
LL(1)分析的实现
- 编译中的LL(1)分析方法的实现。对于输入的文法,判断其有效性,用LL(1)方法进行语法分析,并可判别输入的符号串是否为该文法的句型。 -compiler of LL (1) Method of analysis. The importation of the grammar, to judge its effectiveness, with LL (1) methods for syntax analysis, discriminant can input strings of symbols
ll(1)词法分析
- LL(1)语法分析程序,编译原理课用得到哦,可以作到词法分析表吧(idle)-LL (1) syntax analysis program, compile Principle used to be, oh, Lexical analysis can be done table it (idle)
LL(1)wenfaa
- LL(1)文法的实现方法,有需要的可以-LL (1) grammar method, it is necessary to look at the
LL(1)_syntax
- LL(1)语法分析程序 (1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止; (2)输入已知文法,由程序自动生成它的LL(1)分析表; (3)对于给定的输入串,应能判断识别该串是否为给定文法的句型。 -LL (1) syntax analysis program (1) on the importation of grammar, it can determine whether to LL (1) grammar, and if so, in
判断是否为LL(1)文法 java编写
- 此程序是语法分析,判断是否为LL(1)文法,如果是则构造first集,follow集,select集,并输出分析表。程序用java编写。
判断是否为LL(1)文法 C语言
- 此程序是语法分析,判断是否为LL(1)文法,如果是则构造first集,follow集,select集,并输出分析表。程序用C语言编写。
LL(1)_LR(0)_Demo
- 包括一个LR(1)的语法分析程序和一个LL(1)的语法分析程序的例子- Including LR (1) grammar analysis program and LL (1) grammar analysis program example
ll(1)YUFAPANDUAN
- 学编译原理时写的一个语法分析程序 分类:C/C++技术交流 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符
LL(1)
- 本文件主要是针对编译原理的语法分析和语义分析,用的是LL(1)文法。-This document is mainly directed against the principle of compiler syntax analysis and semantic analysis, using a LL (1) grammar.
1
- LL(1)文法分析过程的可视化及教学应用研究-LL (1) grammar analysis and visualization applications in teaching and learning research
LL(1)
- 编译原理课上的一个LL(1)语法分析器的实现-Compilation Principle of a class of LL (1) the realization of parser
ll(1)fenxi
- 本程序是采用的LL(1)方法进行的语法分析,而LL(1)的分析方法是属于自上而下的方法。 自上而下分析的基本思想是:对任意输入串,试图用一切可能的方法,从文法开始符号(根结点)出发,自上而下为输入串建立一棵语法树。从推导的角度看,它是从文法的开始符号出发,反复使用各种产生式,寻找与输入串匹配的推导。 在输入之前必须要进行该文法是不是LL(1)文法的判断,然后再构造相应的LL(1)分析表来用预测分析方法进行语法分析,依据下面的文法及分析表来设计程序实现预测分析的分析过程。
LL(1)Parser.C
- 一个简单的LL(1)带预测的语法分析器源代码-A simple LL (1) with a predictable source code parser
ll(1)
- 这是编译原理中的实验:LL(1)文法的程序,里面包含三个程序,是我珍藏的。-This is a compilation of the experimental principle: LL (1) grammar of the program, which includes three programs that I treasured.
Syntax_Analysis-LL(1)-LCC
- 编译原理之语法分析LL(1) (1)消除左递归 (2)求First集 (3)求Follow集 (4)预测分析表 (5)预测分析过程-Compiler theory of parsing LL (1) (1) elimination of left recursion (2) Find First Set (3) Find Follow set (4) prediction of sheet (5) prediction analysis
LL-(1)-parser
- 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
实验二-LL(1)预测分析
- LL(1)预测分析,分析表和分析过程的界面友好(LL (1) forecast analysis, analysis table and analysis process friendly interface.)