录入合法的LL(1)文法,将输出ll(1)预测分析表,并可以对输入的句子进行语法分析输出相应语法树。
Entry legitimate LL (1) grammar, the output LL (1) prediction analysis table, and can enter the grammar of the sentence carried out analysis of the output corresponding syntax tree.
句子的语法意义指的是它的语法性,即语法合法性。
The grammatical meaning of a sentence refers to its grammaticality, that is its grammatical well-formedness.
其次,对输入句子进行预处理,包括句法分析树的建立,合法片段的抽取及片段组合形式的转换;
This process includes the establishment of the parse tree, the extraction of the legal fragments and the transformation of the fragment combination forms. Finally, according to the set …
应用推荐