摘要
在编译原理和虚拟机技术的基础上,采用一种高级语言设计了一个简单的编译器。通过词法分析、语法分析和中间代码、虚拟机等进程,将源程序编译成目标程序,实现了复杂编译器的简单设计。
On the basis of the compiler theory and virtual machine technology,it designs a simple compiler with a high-level language. The source code is compiled into the target program through the processes of lexical analysis, syntax analysis,generation of intermediate code and virtual machine,which achieved the simple design of complex compiler.
出处
《电脑开发与应用》
2014年第1期51-53,56,共4页
Computer Development & Applications
关键词
编译器
词法分析
语法分析
虚拟机
compiler
lexical analysis
syntax analysis
virtual machine