Added code for generating build code for constants.
Added beginning of compiler test.