mnbujold / c415-compiler

Fall 2012 CMPUT 415 Compiler Course
0 stars 3 forks source link

We aren't doing constant folding #50

Open dchui1 opened 11 years ago

dchui1 commented 11 years ago

Turns out we're not doing constant folding. Either that, or the syntax tree does not actually return teh folded constant value and instead returns the 2 constants

James-Osgood commented 11 years ago

Yes. If we have time, I can do this. We probably won't have the time, and it should be fine to generate trivial code.