using emitTyped does smart type checking and saves many cases. used for EPlus
helper function for compileExp arithmetic functions, saves some copy-pasting
started on SWhile and newLabel (commented out to make compilation possible)