Description: top down parsing which is a simulation of predictive parser which checks the inout for a given string is acceptable or not Platform: |
Size: 1024 |
Author:Rasenganram |
Hits:
Description: 编译原理中用c++实现的用预测分析表实现语法分析器 -Principles of using c++ compiler implementation to achieve with predictive analysis table parser Platform: |
Size: 2048 |
Author:wen |
Hits:
Description: 设计、编制、调试一个典型的语法分析程序,实现对词法分析程序所提供的单词序列进行语法检查和结构分析,进一步掌握常用的语法分析中预测分析方法。-Design, preparation, debugging a typical parser, lexical analysis program to realize the word sequence provided by the grammar checking and structural analysis, to further understand the syntax of the analysis of commonly used predictive analysis method Platform: |
Size: 51200 |
Author:chenxi |
Hits:
Description: LL1语法分析器,FIRST集合的构造,FOLLOW集合的构造,消除左递归,预测分析表 C++语言开发,工具VS2010-LL1 parser, FIRST set of the structure, FOLLOW set of the structure, elimination of left recursion, predictive analysis table C++ language development tools for VS2010 Platform: |
Size: 273408 |
Author:jianren2hao |
Hits:
Description: 通过完成预测分析法的语法分析程序,了解预测分析法和递归子程序法的区别和联系。使了解语法分析的功能,掌握语法分析程序设计的原理和构造方法,训练掌握开发应用程序的基本方法。-Prediction Analysis by completing the parser to understand the analysis and prediction of difference between the recursive subprogram and contact. To understand the function of syntax analysis, syntax analysis program designed to master the principles and construction methods, training to master the basic method of developing applications. Platform: |
Size: 246784 |
Author:wangbluer |
Hits:
Description: 语法分析器:递归下降子程序的编写
通过本实验,了解递归下降预测分析的原理和过程以及可能存在的回溯问题,探讨解决方法,为预测分析表方法的学习奠定基础。分析递归下降子程序的优缺点。-Parser: recursive descent routines written by this study to understand the principle of recursive descent and the process of predictive analysis, and possible back problems, explore solutions, methods for the prediction of the table lay the foundation for learning. The advantages and disadvantages of recursive descent subprogram. Platform: |
Size: 224256 |
Author:李鹏飞 |
Hits:
Description: 语法分析程序的设计与实现 方法2:编写LL(1)语法分析程序,要求如下:
(1)编程实现算法4.2,为给定文法自动构造预测分析表;
(2)编程实现算法4.1,构造LL(1)预测分析程序。
2. 方法3:编写语法分析程序实现自底向上的分析,要求如下:
构造识别所有活前缀的DFA。
构造LR分析表。
编程实现算法4.3,构造LR分析程序。
-Parser design and implementation of Method 2: preparation of LL (1) parser, the following: (1) programming algorithm 4.2, for a given automatic structure prediction analysis grammar table (2) 4.1 programming algorithm to construct LL (1) predictive analysis program. 2 Method 3: write the parser to achieve bottom-up analysis, the following: identify the structure of all living prefix DFA. Construct LR analysis table. 4.3 programming algorithm to construct LR parser. Platform: |
Size: 422912 |
Author:Eric |
Hits:
Description: However, grammars that are not left recursive and are left factored may still not be LL(1).
To see if a grammar is LL(1), try to build the parse table for the predictive parser by the
method we are about to describe. If any element in the table contains more than one
grammar rule right-hand side, then the grammar is not LL(1).
To build the table, we must must compute FIRST and FOLLOW sets for the grammar. Platform: |
Size: 40960 |
Author:payal |
Hits:
Description: 构造LL(1)语法分析程序,任意输入一个文法符号串,并判断它是否为文法的一个句子。程序要求为该文法构造预测分析表,并按照预测分析算法对输入串进行语法分析,判别程序是否符合已知的语法规则,如果不符合(编译出错),则输出错误信息-Construct LL (1) parser, enter an arbitrary string of grammar symbols, and determine if it is a sentence grammar. Procedural requirements for the grammar structure prediction analysis table, and in accordance with predictive analysis algorithms to parse input string, determine whether the program is consistent with the known rules of grammar, if you do not comply (compiler error), the error message is output Platform: |
Size: 203776 |
Author:张丽 |
Hits: