Starting parse Entering state 0 Reading a token: Next token is 123 ('{') Shifting token 123 ('{'), Entering state 4 Reading a token: Next token is 259 (WHILE) Shifting token 259 (WHILE), Entering state 2 Reducing via rule 5 (line 59), -> @3 state stack now 0 4 2 Entering state 5 Reading a token: Next token is 260 (COND) Shifting token 260 (COND), Entering state 7 Reading a token: Next token is 261 (DO) Shifting token 261 (DO), Entering state 9 Reading a token: Next token is 259 (WHILE) Shifting token 259 (WHILE), Entering state 2 Reducing via rule 5 (line 59), -> @3 state stack now 0 4 2 5 7 9 2 Entering state 5 Reading a token: Next token is 260 (COND) Shifting token 260 (COND), Entering state 7 Reading a token: Next token is 261 (DO) Shifting token 261 (DO), Entering state 9 Reading a token: Next token is 123 ('{') Shifting token 123 ('{'), Entering state 4 Reading a token: Next token is 262 (GOTO) Shifting token 262 (GOTO), Entering state 3 Reducing via rule 7 (line 63), GOTO -> stat state stack now 0 4 2 5 7 9 2 5 7 9 4 Entering state 6 Reducing via rule 2 (line 53), -> @1 state stack now 0 4 2 5 7 9 2 5 7 9 4 6 Entering state 8 Reading a token: Next token is 59 (';') Shifting token 59 (';'), Entering state 10 Reading a token: Next token is 123 ('{') Shifting token 123 ('{'), Entering state 4 Reading a token: Next token is 123 ('{') Shifting token 123 ('{'), Entering state 4 Reading a token: Next token is 258 (ASS) Shifting token 258 (ASS), Entering state 1 Reducing via rule 1 (line 50), ASS -> stat state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 4 4 Entering state 6 Reducing via rule 2 (line 53), -> @1 state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 4 4 6 Entering state 8 Reading a token: Next token is 59 (';') Shifting token 59 (';'), Entering state 10 Reading a token: Next token is 262 (GOTO) Shifting token 262 (GOTO), Entering state 3 Reducing via rule 7 (line 63), GOTO -> stat state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 4 4 6 8 10 Entering state 12 Reducing via rule 3 (line 55), -> @2 state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 4 4 6 8 10 12 Entering state 13 Reading a token: Next token is 125 ('}') Shifting token 125 ('}'), Entering state 14 Reducing via rule 4 (line 56), '{' stat @1 ';' stat @2 '}' -> stat state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 4 Entering state 6 Reducing via rule 2 (line 53), -> @1 state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 4 6 Entering state 8 Reading a token: Next token is 59 (';') Shifting token 59 (';'), Entering state 10 Reading a token: Next token is 259 (WHILE) Shifting token 259 (WHILE), Entering state 2 Reducing via rule 5 (line 59), -> @3 state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 4 6 8 10 2 Entering state 5 Reading a token: Next token is 260 (COND) Shifting token 260 (COND), Entering state 7 Reading a token: Next token is 261 (DO) Shifting token 261 (DO), Entering state 9 Reading a token: Next token is 262 (GOTO) Shifting token 262 (GOTO), Entering state 3 Reducing via rule 7 (line 63), GOTO -> stat state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 4 6 8 10 2 5 7 9 Entering state 11 Reducing via rule 6 (line 61), WHILE @3 COND DO stat -> stat state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 4 6 8 10 Entering state 12 Reducing via rule 3 (line 55), -> @2 state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 4 6 8 10 12 Entering state 13 Reading a token: Next token is 125 ('}') Shifting token 125 ('}'), Entering state 14 Reducing via rule 4 (line 56), '{' stat @1 ';' stat @2 '}' -> stat state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 Entering state 12 Reducing via rule 3 (line 55), -> @2 state stack now 0 4 2 5 7 9 2 5 7 9 4 6 8 10 12 Entering state 13 Reading a token: Next token is 125 ('}') Shifting token 125 ('}'), Entering state 14 Reducing via rule 4 (line 56), '{' stat @1 ';' stat @2 '}' -> stat state stack now 0 4 2 5 7 9 2 5 7 9 Entering state 11 Reducing via rule 6 (line 61), WHILE @3 COND DO stat -> stat state stack now 0 4 2 5 7 9 Entering state 11 Reducing via rule 6 (line 61), WHILE @3 COND DO stat -> stat state stack now 0 4 Entering state 6 Reducing via rule 2 (line 53), -> @1 state stack now 0 4 6 Entering state 8 Reading a token: Next token is 59 (';') Shifting token 59 (';'), Entering state 10 Reading a token: Next token is 259 (WHILE) Shifting token 259 (WHILE), Entering state 2 Reducing via rule 5 (line 59), -> @3 state stack now 0 4 6 8 10 2 Entering state 5 Reading a token: Next token is 260 (COND) Shifting token 260 (COND), Entering state 7 Reading a token: Next token is 261 (DO) Shifting token 261 (DO), Entering state 9 Reading a token: Next token is 123 ('{') Shifting token 123 ('{'), Entering state 4 Reading a token: Next token is 262 (GOTO) Shifting token 262 (GOTO), Entering state 3 Reducing via rule 7 (line 63), GOTO -> stat state stack now 0 4 6 8 10 2 5 7 9 4 Entering state 6 Reducing via rule 2 (line 53), -> @1 state stack now 0 4 6 8 10 2 5 7 9 4 6 Entering state 8 Reading a token: Next token is 59 (';') Shifting token 59 (';'), Entering state 10 Reading a token: Next token is 259 (WHILE) Shifting token 259 (WHILE), Entering state 2 Reducing via rule 5 (line 59), -> @3 state stack now 0 4 6 8 10 2 5 7 9 4 6 8 10 2 Entering state 5 Reading a token: Next token is 260 (COND) Shifting token 260 (COND), Entering state 7 Reading a token: Next token is 261 (DO) Shifting token 261 (DO), Entering state 9 Reading a token: Next token is 262 (GOTO) Shifting token 262 (GOTO), Entering state 3 Reducing via rule 7 (line 63), GOTO -> stat state stack now 0 4 6 8 10 2 5 7 9 4 6 8 10 2 5 7 9 Entering state 11 Reducing via rule 6 (line 61), WHILE @3 COND DO stat -> stat state stack now 0 4 6 8 10 2 5 7 9 4 6 8 10 Entering state 12 Reducing via rule 3 (line 55), -> @2 state stack now 0 4 6 8 10 2 5 7 9 4 6 8 10 12 Entering state 13 Reading a token: Next token is 125 ('}') Shifting token 125 ('}'), Entering state 14 Reducing via rule 4 (line 56), '{' stat @1 ';' stat @2 '}' -> stat state stack now 0 4 6 8 10 2 5 7 9 Entering state 11 Reducing via rule 6 (line 61), WHILE @3 COND DO stat -> stat state stack now 0 4 6 8 10 Entering state 12 Reducing via rule 3 (line 55), -> @2 state stack now 0 4 6 8 10 12 Entering state 13 Reading a token: Next token is 125 ('}') Shifting token 125 ('}'), Entering state 14 Reducing via rule 4 (line 56), '{' stat @1 ';' stat @2 '}' -> stat state stack now 0 Entering state 15 Reading a token: Now at end of input. Shifting token 0 ($), Entering state 16 Now at end of input.