A program producing device that produces a Human Machine Interface (HMI) program for Factory Automation (FA), the program including a plurality of constituents, the program producing device comprising a storage that is configured to store correlation information (TB) in which for each constituent at least one change content of the constituent and another constituent having a dependence relationship on which the change has an influence is correlated with each other; a program editor that is configured to receive a user's content for editing and store the editing content in the storage , wherein the editing content includes source code change information (SV) in which changed program constituents are listed; edit a source code (SC) of the storage according to the editing content, and store the edited source code (SCN) in the storage ; and a compiling unit that is configured to compile the program based on the source code change information (SV) and a dependence relationship graph (SG), and includes: a compiling object detector that, when at least one constituent is changed, is configured to detect at least one other constituent, that is correlated with the change content and the changed constituent, as an object to be compiled from the plurality of constituents, extract the other constituent from the edited source code (SCN) and compile the extracted constituent, and output a compiling deliverable including an executable HMI program (EP); and a dependence relationship processor configured to generate from the compiling deliverable based on the correlation information (TB), every time a compiling is performed, the dependence relationship graph (SG) that is information indicating a dependence relationship between the plural constituents of the HMI program, and store and update the dependence relationship graph (SG) in the storage for a next compiling. receive a user's content for editing and store the editing content in the storage , wherein the editing content includes source code change information (SV) in which changed program constituents are listed; edit a source code (SC) of the storage according to the editing content, and store the edited source code (SCN) in the storage ; and a compiling object detector that, when at least one constituent is changed, is configured to detect at least one other constituent, that is correlated with the change content and the changed constituent, as an object to be compiled from the plurality of constituents, extract the other constituent from the edited source code (SCN) and compile the extracted constituent, and output a compiling deliverable including an executable HMI program (EP); and detect at least one other constituent, that is correlated with the change content and the changed constituent, as an object to be compiled from the plurality of constituents, extract the other constituent from the edited source code (SCN) and compile the extracted constituent, and output a compiling deliverable including an executable HMI program (EP); and a dependence relationship processor configured to generate from the compiling deliverable based on the correlation information (TB), every time a compiling is performed, the dependence relationship graph (SG) that is information indicating a dependence relationship between the plural constituents of the HMI program, and store and update the dependence relationship graph (SG) in the storage for a next compiling. <EOS>