1. A method of generating a control program utilizing a computer system, the control program executable by a controller to control the operation of a one or more devices, the method comprising the steps of: receiving one or more instructions of a source program in a high-level text-based language; converting at least one of the one or more instructions into first corresponding instructions in a ladder-based language; editing the first corresponding instructions of the source program in the ladder-based language to form an edited source program; and compiling the edited source program to form the control program.