To address the current issues in PDDL development,such as complex editing and poor text readability,a graphical PD-DL online editing tool and the corresponding compilation system,Graph Compiler,were designed.The automated generation of graphical PDDL from natural language was achieved using the Graph Compiler,in which domain-specific compilation techniques and the ChatGPT model were combined.The compilation of different versions of the PDDL language was supported by the sys-tem,syntax analysis was provided for the respective versions.The system converted PDDL planning results into ROS topic mes-sages to deliver specific action instructions for robot actions.Experimental results show that Graph Compiler achieves a 100%success rate on multi-version PDDL test cases from multiple IPCs,and it can also be applied in ROS projects to guide robot ac-tions through specific action sequences.