The invention discloses a compiling method from an
intermediate language (IL) program to a C language program of an
instruction list. The method comprises the steps: building a middle
storage structure syntax tree according to results of
lexical analysis and grammatical analysis through
logical analysis on a program of the
instruction list and logistic mapping relation between semanteme of the
instruction list and semanteme of the C language; combining an auxiliary
performance function and an auxiliary
data structure define file, and generating an integrated file of the C language program through program data of an original instruction
list according to a C language
programming method, wherein the program data of the original instruction
list is stored in the structure of the
syntax tree. The generated C language program completely corresponds to the
logic program of the original instruction
list and has the advantages of a high-level C language, wherein the advantages include strong transportability, strong compatibility and the like. Due to the structure of the
syntax tree and an analytic method of semanteme mapping, compiling is standardized and
mass-produced, complexity of the compiling is reduced through adoption of functions and modularization of an auxiliary function of a function block, compiling time is shortened, and speed of the whole compiling process is improved.