1. A method for generating a compiler to map application program code to object code capable of being executed on an operating system platform, comprising: training a first neural network module to generate characteristic output based on input information describing attributes of the application program; training a second neural network module to receive as input the application program code and the characteristic output and, in response, generate object code; and using the first and second neural network modules to convert the application program code to object code.