| Compiling program is a fundamental of computer system today. From function aspect, a compiler is a language translator, which translates a program written by one language (original- language) into an equivalent program written by another language (object language). The course of compile principle is a central computer course , and the best way of grasping it is doing well in experiments. This article is design and implementation of application-oriented compile principle experiment system .Designing this system is to apply the principle to the course of experiment. So the thesis explains principle of compiler in details by the string, and implements a series of work including: lexical analysis, syntax analysis, semantic analysis, code optimization and object code generating. |