Generate compilable code.