当前栈顶符号 当前输入词素 字符栈 动作
**********************************************************************************
<Program> <PROCEDURE> <Program> $
<Program> <PROCEDURE> <Block> <DOT> $ 产生式
<Block> <PROCEDURE> <Const_decl> <Var_decl> <Proc_decl> <Statement> <DOT> $ 产生式
<Const_decl> <PROCEDURE> <Var_decl> <Proc_decl> <Statement> <DOT> $ 产生式
<Var_decl> <PROCEDURE> <Proc_decl> <Statement> <DOT> $ 产生式
<Proc_decl> <PROCEDURE> <PROCEDURE> <IDENT> <SEMECOLON> <Block> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<PROCEDURE> <PROCEDURE> <IDENT> <SEMECOLON> <Block> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<IDENT> <IDENT> <SEMECOLON> <Block> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<SEMECOLON> <SEMECOLON> <Block> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<Block> <BEGIN> <Const_decl> <Var_decl> <Proc_decl> <Statement> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Const_decl> <BEGIN> <Var_decl> <Proc_decl> <Statement> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Var_decl> <BEGIN> <Proc_decl> <Statement> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Proc_decl> <BEGIN> <Statement> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Statement> <BEGIN> <BEGIN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<BEGIN> <BEGIN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<Statement> <IF> <IF> <Condition> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<IF> <IF> <Condition> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<Condition> <IDENT> <Expression> <RELATION> <Expression> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Expression> <IDENT> <Term> <Expression2> <RELATION> <Expression> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Term> <IDENT> <Factor> <Term2> <Expression2> <RELATION> <Expression> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Factor> <IDENT> <IDENT> <Term2> <Expression2> <RELATION> <Expression> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<IDENT> <IDENT> <Term2> <Expression2> <RELATION> <Expression> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<Term2> <RELATION> <Expression2> <RELATION> <Expression> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Expression2> <RELATION> <RELATION> <Expression> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<RELATION> <RELATION> <Expression> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<Expression> <NUM> <Term> <Expression2> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Term> <NUM> <Factor> <Term2> <Expression2> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Factor> <NUM> <NUM> <Term2> <Expression2> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<NUM> <NUM> <Term2> <Expression2> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<Term2> <THEN> <Expression2> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Expression2> <THEN> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<THEN> <THEN> <Statement> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<Statement> <IDENT> <IDENT> <ASSIGN> <Expression> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<IDENT> <IDENT> <ASSIGN> <Expression> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<ASSIGN> <ASSIGN> <Expression> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 匹配
<Expression> <NUM> <Term> <Expression2> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $ 产生式
<Term> <NUM> <Factor> <Term2> <Expression2> <END> <SEMECOLON> <Proc_decl> <Statement> <DOT> $
- 1
- 2
- 3
- 4
- 5
- 6
前往页