29 lines
552 B
Plaintext
29 lines
552 B
Plaintext
program#int reduction
|
|
compUnit#int reduction
|
|
decl#int reduction
|
|
varDecl#int reduction
|
|
bType#int reduction
|
|
int#int move
|
|
varDef#IDN reduction
|
|
IDN#IDN move
|
|
argVarDef#= reduction
|
|
=#= move
|
|
initVal#INT reduction
|
|
exp#INT reduction
|
|
assignExp#INT reduction
|
|
eqExp#INT reduction
|
|
relExp#INT reduction
|
|
addExp#INT reduction
|
|
mulExp#INT reduction
|
|
unaryExp#INT reduction
|
|
number#INT reduction
|
|
INT#INT move
|
|
mulExpAtom#, reduction
|
|
addExpAtom#, reduction
|
|
relExpAtom#, reduction
|
|
eqExpAtom#, reduction
|
|
assignExpAtom#, reduction
|
|
argVarDecl#, reduction
|
|
,#, move
|
|
varDef#= error
|