Partial steps towards a real compiler.