搜索资源列表
bianyic++
- 录入合法的LL(1)文法,将输出LL(1)预测分析表,并可以对输入的句子进行语法分析输出相应语法树。-Input legitimate LL (1) grammar, will output LL (1) Table Forecast and Analysis, and can import sentence for syntax analysis syntax tree corresponding output.
ll1ll1
- 编译原理LL(1)文法分析器 录入合法的LL(1)文法,将输出LL(1)预测分析表,并可以对输入的句子进行语法分析输出相应语法树。 程序中部分算法还很不简洁,有待改进,欢迎朋友与我多多交流。 lifanxi@263.net 2002年5月-compiler theory LL (1) grammar analyzer input legitimate LL (1) grammar, will output LL (1) Table Forecast and An
yufafenxi_ll(1)
- 学编译原理时写的一个语法分析程序 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符号串是否为该文法的句型。
ll1forwin
- 编译原理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 a
jsq
- 。录入合法的LL(1)文法,将输出LL(1)预测分析表,并可以对输入的句子进行语法分析输出相应语法树。 程序中部分算法还很不简洁,有待改进,欢迎朋友与我多多交流。
D
- LL(1)语法分析器。 功能很点单,但是又算法分析。希望对你又用
BYYN
- 用一门面向对象语言建立一个针对LL(1)文法分析构造演示器,输入定义好的文法,进行分析后在内存中建立其存储结构,判断其能用LL(1)文法分析后,建立其分析过程。 为此我们将本任务分解为以下内容: (1)文法的建立; (2)上下文无关文法的判定; (3)消除文法中一切左递归的算法; (4)文法二义性的判定; (5)LL(1)文法的判定; (6)消除直接左递归; (7)消除间接左递归; (8)直接左公因子的改造; (9)间接左公因子的改造; (10
LL_Program
- LL(1)语法分析器,在任何时候,总控程序都是按照栈顶符号X和当前输入符号a行事的。对于任何(X,a),总控程序每次都执行下述三种可能的动作之一: 若X=a=’#’,则宣布分析成功,停止分析过程; 若X=a≠’#’,则把X从栈顶逐出,让a指向下一输入符号; 若X是一个非终结符,则查看分析表M。若M中存放着一条关于X的产生式,那么,首先把X逐出栈顶,然后,把产生式的右部符号按反序一一推进栈,同时做这个产生式相应的语义动作(目前不管)。若M[X,a]中存放着一条出错标志,则调用出错诊查程
语法fx
- 编译原理,语法分析 ll(1),lr (0),slr(1)-compiler theory, syntax analysis ll (1), lr (1), lr (0), slr (1), etc.
分析程序
- 语法分析程序,包括对任意输入LL(1)文法的分析表及字符串,本程序能自动判断所给字符串是\" 否为该文法的句子,并能给出分析过程。-syntax analysis procedures, including the indiscriminate importation of LL (1) grammar analysis table and string, the procedure can automatically determine to a string of "whether
grammatica-0[1].4.tar
- Grammatica是一个C#和Java的语法分析程序生成器(编译器的编译器)。它可以用LL(k)语法创建可读的和带有注释的源代码。它也支持创建一个运行时语法分析器,带不生成源代码。语法产生式用EBNF描述,使用规则表达式的符号-Grammatica is a C# and Java syntax analysis program generator (compiler compiler). It can be used LL (k) to create readable syntax and
LL1ForWin完美版
- 编译原理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 corresp
某小型语言的预测分析器
- 设计一个小型语言,要求有基本的程序语句,给出该小型语言的LL(1)文法,用预测分析法实现对该小型语言的LL(1)文法的语法分析。
yufafenxi
- 语法分析程序 利用C++(或C)编制确定的自顶向下预测分析语法分析程序,并对简单语言进行语法分析。 待分析的简单语言的语法若文法G[ E]为: (1) E –> TE’ (2) E’ –> +TE’ (3) E’ –> e (4) T –> FT’ (5) T’ –> *FT’ (6) T’ –> e (7) F –> (E) (8) F –> i 实验说明 具体要求如下:
LL1
- 消除左递归的文法来使文法满足进行确定自顶向下分析的条件 一个LL(1)分析法的语法分析器-Elimination of left-recursive grammar to make grammar meet to determine the top-down analysis of the conditions for an LL (1) Analysis Parser
newscan
- 词法分析,语法分析器,使用LL(1)算法-Lexical analysis, syntax analyzer, the use of LL (1) algorithm
FS
- 设计一个给定LL(1)分析表,输入一个句子,能由依据LL(1)分析表输出与句子对应的语法树。能对语法树生成过程进行模拟。-Designed a given LL (1) analysis table, type a sentence, can be from the basis of LL (1) analysis of the output table corresponds to the grammar and sentence tree. Syntax tree can simulate
ww
- 多个程序,C++编写的。自己在做编译课设时搜集参考用的,呵呵,都放上来了,有各种语法写的,LL(1),LR的,递归下降的,还有语义分析部分,有四元式,逆波兰式等等,而且每个都能调试运行。(不好的,我可不拿出来现眼)-Number of procedures, C++ prepared. They are doing when compiling the collection of class-based reference, huh, huh, are放上来, and a variety of
1
- 编译原理的语法分析实验,运用LL(1)方法进行分析 ,里面含有一个CPP文件,用VC运行,程序已调通-Compiler parsing principle experiments, the use of LL (1) methods of analysis, which contains a CPP file with VC running, the program has been transferred Qualcomm
语法分析器
- 该程序使用的自上而下的LL(1)分析法,,该文法不允许左递归,首先要消除左递归。(The program uses the top-down LL (1) analysis method, which does not allow left recursion, and the left recursion is first eliminated.)