Codegen

Full-fledged compiler ready.