Location:
Search - LL(1)
Search list
Description: LL(1)语法分析器
Platform: |
Size: 968530 |
Author: ligen@ |
Hits:
Description: 【实验名称】LL(1)分析总控程序的设计与实现
【实验目的和要求】
设计、编制,调试一个典型的语法分析程序,实现对语法分析程序所提供的单词序列进行语法分析检查和结构分析,进一步掌握常用的语法分析方法。
要求:
① 程序具有通用性。即所编写的LL(1)语法分析程序能够适用于不同文法以及各种输入单词串(为简单起见,可讲单词串是为字符串),并能够判断文法是否为LL(1)文法。
② 有运行实例。对于输入的一个文和一个单词串,所编制的语法分析程序应能正确的判断,此单词是否为该文法的句子,并要求输出分析过程。
Platform: |
Size: 35712 |
Author: 洪成前 |
Hits:
Description: 此程序是语法分析,判断是否为LL(1)文法,如果是则构造first集,follow集,select集,并输出分析表。程序用java编写。
Platform: |
Size: 150016 |
Author: skeqiang@yahoo.com.cn |
Hits:
Description: LL(1)法对布尔表达式的语法分析
Platform: |
Size: 762 |
Author: jason88129 |
Hits:
Description: 对一个LL(1)文法的句型进行分析看其是不是属于该文法的产生句型-a pair of LL (1) grammar Sentence for its analysis is not belong to the grammar have Sentence
Platform: |
Size: 189440 |
Author: 杨鼎新 |
Hits:
Description: 编译原理—LL(1)文法分析器(1.0) 求LL(1)文法的FOLLOW集合工具: 软件读入一个LL(1)文法,生成其FOLLOW集合。-compiler theory-LL (1) grammar analyzer (1.0) for LL (1) grammar FOLLOW Set tools : software read an LL (1) grammar, generating its FOLLOW pool.
Platform: |
Size: 185344 |
Author: 林丰 |
Hits:
Description: 此为ll(1)文法的源代码,适应于学习过编译原理的同学,在做课程设计时可以参考-this as (a) the source code for grammar, learning to adapt to the students of compiler theory, the courses do when reference design
Platform: |
Size: 3072 |
Author: 林肯 |
Hits:
Description: LL(1)文法判定(C#)
SimpleLL1目录下为源程序
EXE目录下为编译好的可执行文件
Product1.txt~Product4.txt为测试用产生式(可直接在程序中加载)
Symbols.txt为测试用符号集(可直接在程序中加载)
转载或引用请注明出处:www.shootsoft.net
-LL (1) grammar found (C#) SimpleLL1 directory of the source of EXE directory compiled executable file Product1.txt ~ Product4.txt to test production (direct loading in the proceedings) to test Symbols.txt symbol sets (direct way in load sequence) reproduced or quoted please reference : www.shootsoft.net
Platform: |
Size: 297984 |
Author: 尹君 |
Hits:
Description: 做的很不错的LL(1)文法分析程序,可以作为学习编译原理课程的参考或课设-do very good LL (1) grammar analysis procedures can be compiled as a learning theory courses or courses based reference
Platform: |
Size: 202752 |
Author: 胤 |
Hits:
Description: 语法分析是编译程序的核心部分。语法分析的作用是识别由词法分析给出的单词符号序列是否是给定的文法的正确句子。目前语法分析常用的方法右自顶向下分析和自底向上分析两大类。
确定的自顶向下方法,是从文法的开始符号,考虑如何根据当前的输入符号(单词)唯一的确定选用哪个产生式替换相应非终结符往下推导。 LL(1)文法是一种确定的自顶向下的分析方法。
LL(1)的含义是:第一个L表明自顶向下分析从左向右扫描输入串,第二个L表明分析过程中将用最左推导,1表明只需向右看一个符号便可以决定如何推导即选择哪个产生式(即规则)进行推导。-Syntax analysis is the core of the compiler. The role of grammatical analysis is to identify the word given by the lexical analysis of whether a given sequence of symbols of the grammar correct sentences. At present the right syntax analysis method commonly used top-down analysis and bottom-up analysis of two categories.
Determined by top-down approach, starting from the grammar symbols, consider how the current input symbol (word) only determine the choice of productions which replace the corresponding non-terminal symbol derived down. LL (1) grammar is a sure top-down analysis.
LL (1) the meaning is: the first one shows that top-down analysis of L from left to right scanning input string, the second L showed that the analysis process will be the most left-derivation, a show that just the right look can be a symbol deduced that the choice to decide how to produce what type (ie, rules) for derivation.
Platform: |
Size: 4062208 |
Author: 孔小亮 |
Hits:
Description: 通过一个简单程序体现编译原理中的LL(1)算法,帮助理解与学习。-Compiled by a simple program reflects the principles of the LL (1) algorithm, to help understanding and learning.
Platform: |
Size: 8192 |
Author: MT |
Hits:
Description: LL(1)语法分析器,本程序是按照固定语句进行LL(1)语法进行分析,对初学者具有良好的参考价值。-LL (1) parser, this procedure is carried out according to a fixed statement, LL (1) syntax analysis, a good reference for beginners.
Platform: |
Size: 190464 |
Author: 小黑 |
Hits:
Description: 编译原理LL(1)分析过程模拟 设计一个给定LL(1)分析表,输入一个句子,能由依据LL(1)分析表输出与句子
对应的语法树。能对语法树生成过程进行模
拟-for LL(1)
Platform: |
Size: 1657856 |
Author: 冰 |
Hits:
Description: 编译原理之语法分析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
Platform: |
Size: 66560 |
Author: |
Hits:
Description: 编译原理实验源程序-ll(1)文法C语言版,大三实验课作品,原创代码-Compile the source principle experiment-ll (1) C language version of the grammar, junior class experiment works, the original code
Platform: |
Size: 348160 |
Author: 赵明建 |
Hits:
Description: 根据某一LL(1)文法编制调试预测分析程序,以便对任意输入的符号串进行分析。
本次实验的LL(1)文法为表达式文法:
E→E+T | T
T→T*F | F
F→i | (E)
编写识别表达式文法的合法句子的预测分析程序,对输入的任意符号串,给出分析过程及分析结果。分析过程要求输出步骤、分析栈、剩余输入串和所用产生式。如果该符号串不是表达式文法的合法句子,要给出尽量详细的错误提示。-According to an LL (1) grammar analysis of the preparation of commissioning procedures for forecasting , in order to enter any string of symbols to analyze .
The experimental LL (1) grammar for the expression grammar :
E → E+ T | T
T → T* F | F
F → i | (E)
Write a recognition of the legitimate expression grammar sentence prediction analysis program , for any input string of symbols , given the results of the analysis process and analysis . Analysis requires that the output step , analysis of the stack , with the remaining input string and the production . If the string is not an expression grammar symbol lawful sentence , try to give a detailed error message.
Platform: |
Size: 7168 |
Author: suhuhu |
Hits:
Description: 编译原理,LL(1)型分析程序,C语言编写。-Compiler theory, the LL (1) analysis program, C language.
Platform: |
Size: 869376 |
Author: 何大王 |
Hits:
Description: 是用c++程序设计语言编写的,关于编译原理的LL(1)分析文法-Is written in the c++ programming language, compiler theory analysis of LL (1) grammar
Platform: |
Size: 113664 |
Author: huangxiaodan |
Hits:
Description:
编译原理上机实验:LL(1)语法分析。包含测试文本,本语法分析器可以实现对文本的语法分析。-Compiler theory on experiments: LL (1) parsing. Contains test text, the parser can parse the text.
Platform: |
Size: 1925120 |
Author: weiyi |
Hits:
«
1
2
34
5
6
7
8
9
10
...
50
»