The invention relates to a
system and a method for compilation. The
system comprises an interface platform and a compilation sever, wherein the interface platform is used for providing a compilation task input interface and a
processing state information output interface and for generating a task name according to an input compilation task; the compilation sever is used for analyzing the task name, acquiring a corresponding
source code, carrying out compilation, generating the
processing state information of the compilation task simultaneously and providing the
processing state information for the interface platform. The method comprises the following steps of receiving the input compilation task, generating the task name according to the compilation task, analyzing the acquired task name to acquire the corresponding
source code, compiling the
source code and outputting the processing state information of the compilation task. In the technical proposal, the compilation task is received through the interface platform, and a compilation request is initiated by the interface platform in the form of the task name to carry out compilation, thus the input operation of compilation is simplified; the state information is processed and provided for a
client in real time through the interface platform, which simplifies compilation monitoring operation and greatly saves human resources.