The invention discloses a
system and a method for compiling and loading a programmable language. The
system for compiling and loading the programmable language comprises a compiling
system and an execution system, wherein the compiling system is connected with the execution system through a communication cable; the compiling system comprises an editor, a
compiler, a
virtual machine and an assembler, wherein the editor is used for editing a high-level language source file and then sending the edited high-level language source file to the
compiler, the
compiler is used for receiving the edited source file and compiling the source file to generate a virtual command program, the
virtual machine is executing the virtual command program, and the assembler is used for further compiling the virtual command program into a
machine command and generating a target program; and the execution system comprises a
loader and an executor, wherein the
loader is used for downloading the target program through a communication cable and forming the target code through loading, and the executor is used for executing the target code. The
machine command is generated after virtual command conversion is carried out on the source file, and execution is carried out, so that the system has the characteristic that the virtual command is transplantable, the virtual command can be conveniently transplanted and run on each platform, the system also reaches the running speed of the
machine command, and the problem that the running efficiency of the virtual command is low is solved.