1 datatype Inst :: rewrite =
12 rewrite (e) type (Inst) :: treeparser of
14 | reg -> LOAD (INT addr) \ 2:
15 | reg -> LOAD (ADD(reg,reg)) \ 3:
16 | reg -> LOAD (reg) \ cost(reg):
18 | exp -> ADD (exp, exp) \ 1:
19 | exp -> SUB (exp, exp) \ 1:
20 | exp -> MUL (exp, exp) \ 2:
21 | exp -> DIV (exp, exp) \ notarget(a):