CreateProgram

Create the program with rootNames and options, if they are undefined, oldProgram and new configFile diagnostics create new program