Fixed several bugs, especially a serious bug caused from string to integer conversions using strtoul. Originally had some nonsensical value for the base argument. Also implemented the evaluation of boolean expressions in semantic decorations, except boolean logical operators ('and' and 'or') have yet to be implented.
Eliminated redundant typecasts where C already performs implicit type promotion.