Description: LL(1)分析 写的语法分析程序,但是不能实现消除左递归,提取公因子-LL (1) analysis of written grammar analysis program, but can not eliminate the left recursion, extracting common factor Platform: |
Size: 194560 |
Author:季 |
Hits:
Description: 编译原理消除间接左递归。将结果存于文件中-Compiler to eliminate the principle of indirect left recursion. The results stored in the document Platform: |
Size: 137216 |
Author:林臻 |
Hits:
Description: 用于消除左递归的一个用C++语言实现的小程序。里面包含有详细的报告和源代码。-Used to eliminate the left recursion in a C++ language implementation with a small program. Which contains detailed reports and source code. Platform: |
Size: 726016 |
Author:曾冬梅 |
Hits:
Description: 编译原理词法分析器的功能是利用函数之间的递归调用模拟语法树自上而下的构造过程。
改造文法:消除二义性、消除左递归、提取左因子,判断是否为LL(1)文法
-Compiler theory lexical analyzer function is to use recursive function calls between the simulation process of constructing the syntax tree from the top down. Transformation grammar: to eliminate ambiguity, to eliminate left recursion, left-factor extraction to determine whether the LL (1) grammar Platform: |
Size: 11264 |
Author:happyjack |
Hits:
Description: LL1通用语法分析器,有消除左递归,FIRST集合、FFOLLOW集合、分析表生成等功能,已通过测试。
-LL1 general parser, to eliminate left recursion, FIRST collection FFOLLOW collection, analysis, table generation, has been tested. Platform: |
Size: 506880 |
Author:tyjx |
Hits:
Description: LL(1)文法的实现,主要包括文法的读取、消除左递归、求First集、Follow集、Select集,生成预测分析表,对给定句子分析是否符合文法。-LL (1) grammar implementations, read mainly include grammar to eliminate left recursion, seeking First set, Follow Set Select set generate predictive analysis table, analysis meets the grammar of a given sentence. Platform: |
Size: 2284544 |
Author:czl |
Hits:
Description: 输入已经消除左递归的以及提取公共左因子的LL(1)文法,再输入相应的表达式,若分析成功,则在递归输出过程中输出"acc",若不成功,则有相应的报错以及位置指名。注意,要把同一个非终结符的产生式分成单个输入。它会自动计算first,follow,预测分析表的构造,但并不输出。-Input has to eliminate left recursion and extract the public left factor of LL (1) grammar, then input the corresponding expression, if the analysis is successful, the output in the process of recursive output "acc", if you don t succeed, have the corresponding error and position name. Note that will divide the same non-terminal production into a single input. It will automatically calculate first, follow, forecast analysis of table structure, but not the output.
Platform: |
Size: 3357696 |
Author:何玉林 |
Hits: