资 源 简 介
构造实验一所给文法(应考虑改造)的FIRST集合和FOLLOW集合;构造LL(1)分析表;构造预测分析的总控程序;利用分析表、分析栈和总控程序对源程序进行自上而下的语法分输出整个语法分析过程中栈的变化过程及分析结果,如符合语法规则输出“正确”,否则输出“错误”。
-Experiment to construct a grammar (should consider the transformation) of FIRST and FOLLOW set of the collection construct LL (1) analysis table structural prediction analysis of the master control procedures the use of analytical tables, analyze the stack and the total source code control procedures carried out since the last sub output down syntax parsing process of the whole stack and analysis of the results of the change process, such as the grammatical rules out the " right" , otherwise output " error."