] >
[next][prev][up][toc]
X is nonterminal and the parse table provides the production rule X → α at entry (X,a)
replace X on top of the stack with the reverse of α
X = a and a≠ $
pop X and scan a new lookahead token a
X = $ and a = $
declare success and halt
otherwise
declare error
⇒ table(F,a) = 8
⇒ table(T′,+) = 6
⇒
⇒ table(T′,∗) = 5
⇒ table(T′,$) = 6