Chapter 4:Syntax Analysis

LR parsing

. Input contains the input string.
. Stack contains a string of the form S 0 X 1 S1 X2 ..X n Sn
where each Xi is a grammar symbol and each S i is a state.
. Tables contain action and goto parts.
. action table is indexed by state and terminal symbols.
. goto table is indexed by state and non terminal symbols.