Add compilation logic for integers in new compiler.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>