Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - first and follow algorithm
Search - first and follow algorithm - List
LL(1)文法判定算法,LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只需向右看一个符号便可决定如何推导,即选择哪个产生式(规则)进行推导。 LL(1)文法的判别需要依次计算FIRST集、FOLLOW集和SELLECT集,然后判断是否为LL(1)文法,最后再进行句子分析。 -LL (1) grammar algorithm to determine, LL (1) grammar is used to determine the top-down analysis techniques. LL (1) the meaning is: the first L showed that top-down analysis is scanned from left to right input strings, the first two L analysis will show that the use of the most left-derived, 1 shows that only a symbol to the right to see it can decide how derived, namely, to choose which production (rule) for derivation. LL (1) determine the needs of grammar followed by calculating the FIRST set, FOLLOW sets and SELLECT set, and then determine whether to LL (1) grammar, sentence analysis of the final again.
Date : 2025-12-26 Size : 32kb User :

大学里First集和Follow集生成算法 希望对大家有点用-University First Set and Follow Set Generation Algorithm hope all of you a bit with
Date : 2025-12-26 Size : 54kb User :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.