1 Compiling Parser ( Parser.hs, interpreted )
2 state: 0, token: 1, action: shift, enter state 2
3 state: 2, token: 2, action: reduce (rule 1), goto state 3
4 state: 3, token: 2, action: shift, enter state 4
5 state: 4, token: 1, action: shift, enter state 2
6 state: 2, token: 4, action: reduce (rule 1), goto state 7
7 state: 7, token: 4, action: reduce (rule 2), goto state 3
8 state: 3, token: 4, action: accept.