Description: 实现编译原理中 通过已知的文法来产生First集和FOLLOW集 以及SLR分析表-Compilation Principle realize through grammar known to generate First Set and FOLLOW sets, as well as SLR analysis table Platform: |
Size: 11264 |
Author:陈波 |
Hits:
Description: LL1通用语法分析器,有消除左递归,FIRST集合、FOLLOW集合、分析表生成等功能-Universal grammar LL1 parser, has the elimination of left recursion, FIRST collection, FOLLOW collection, analysis and other functions to generate Table Platform: |
Size: 647168 |
Author:Wang Xinxi |
Hits:
Description: 预测分析法基本要求:1) 任意输入一个文法G; 2) 处理文法中可能存在的左递归和公共左因子问题;3) 对文法中的每个非终结符自动生成并打印输出:① FIRST集;② FOLLOW集;4)判断处理后的文法是否为LL(1)文法,如果是,自动生成并打印输出其预测分析表;5) 模拟分析过程。如输入一个句子,如果该句子合法则输出与句子对应的语法树;能够输出分析过程中每一步符号栈的变化情况。如果该句子非法则进行相应的报错处理。
-Prediction analysis of basic requirements: 1) any input a grammar G 2) dealing with the grammar that may exist in the left factor of left recursion and public issues 3) grammar, each nonterminal in the automatically generated and printed out: ① FIRST sets ② FOLLOW set 4) to determine whether treatment of the grammar LL (1) grammar, if it is to automatically generate and print out their predictive analysis table 5) simulation analysis. As input a sentence, if the sentence is lawful sentence corresponding output syntax tree to the output of the process every step of the sign changes in the stack. If the sentence is illegal corresponding error processing. Platform: |
Size: 240640 |
Author:王喜春 |
Hits:
Description: 1、任意输入一个文法G;
2、处理文法中可能存在的左递归和公共左因子问题;
3、对文法中的每个非终结符自动生成并打印输出:
① FIRST集;
② FOLLOW集;
4、判断处理后的文法是否为LL(1)文法,如果是,自动生成并打印输出其预测分析表;
5、模拟分析过程。
如输入一个句子,如果该句子合法则输出与句子对应的语法树;能够输出分析过程中每一步符号栈的变化情况。如果该句子非法则进行相应的报错处理。
-An arbitrary input to a grammar G
2, handle left recursive grammar and public left factor
3, for each nonterminal in the grammar automatically generate and print the output:
① the FIRST set
② FOLLOW sets
4, the judge after the grammar is LL (1) grammar, if yes, to automatically generate and print the output of the prediction table
5, the simulation analysis.
Enter a sentence if the sentence is legitimate output corresponding with the sentence syntax tree able to output analysis process every step of the symbols in the stack changes. If the sentence is illegal is the appropriate error handling.
Platform: |
Size: 1485824 |
Author:chenlu |
Hits:
Description: LL1文法分析器,可以识别LL1文法,求出first集与follow集,生成分析表。(LL1 grammar analyzer, you can identify the LL1 grammar, find the first set and follow set, generate an analysis table.) Platform: |
Size: 415744 |
Author:UUUsb
|
Hits: