| t | 1 | program#int reduction | t | 1 | program#int reduction |
| 2 | compUnit#int reduction | 2 | compUnit#int reduction | ||
| 3 | decl#int reduction | 3 | decl#int reduction | ||
| 4 | varDecl#int reduction | 4 | varDecl#int reduction | ||
| 5 | bType#int reduction | 5 | bType#int reduction | ||
| 6 | int#int move | 6 | int#int move | ||
| 7 | varDef#IDN reduction | 7 | varDef#IDN reduction | ||
| 8 | IDN#IDN move | 8 | IDN#IDN move | ||
| 9 | argVarDef#= reduction | 9 | argVarDef#= reduction | ||
| 10 | =#= move | 10 | =#= move | ||
| 11 | initVal#INT reduction | 11 | initVal#INT reduction | ||
| 12 | exp#INT reduction | 12 | exp#INT reduction | ||
| 13 | assignExp#INT reduction | 13 | assignExp#INT reduction | ||
| 14 | eqExp#INT reduction | 14 | eqExp#INT reduction | ||
| 15 | relExp#INT reduction | 15 | relExp#INT reduction | ||
| 16 | addExp#INT reduction | 16 | addExp#INT reduction | ||
| 17 | mulExp#INT reduction | 17 | mulExp#INT reduction | ||
| 18 | unaryExp#INT reduction | 18 | unaryExp#INT reduction | ||
| 19 | number#INT reduction | 19 | number#INT reduction | ||
| 20 | INT#INT move | 20 | INT#INT move | ||
| 21 | mulExpAtom#void reduction | 21 | mulExpAtom#void error | ||
| 22 | addExpAtom#void reduction | ||||
| 23 | relExpAtom#void reduction | ||||
| 24 | eqExpAtom#void reduction | ||||
| 25 | assignExpAtom#void reduction | ||||
| 26 | argVarDecl#void error |
| Legends | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||