- Three-Address Code IR.
- Register Allocation for assembly.
- Rewrite the compiler.
- Change
BinOpType_ToString()
andBinOpType_ToString2()
to use arrays instead of a switch statement.
bad output with
proc main()
{
int a = 5;
int b = a + 1;
return b + a;
}