This was a cumulative project in which we kept adding features after each lab(1-5).
There are two versions for this due to algorithms used for registor allocation in lab5:
n = no. of registers currently available
if n>2 allocate register to left child first and evaluate it, then allocate n-1 to right child then evaluate
else if n = 2 allocate both to left child, evaluate it then store that in memory. Allocate both to right child, and get result
Sethi ullman is used for allocating registers.
Go to respective codeGen-greedy/codeGen-su folder and see the README.txt
cs304
Authors:
Deependra Patel
Anurag Shirolkar