中间代码生成是产生中间代码的过程。所谓“中间代码”是一种结构简单、含义明确的记号系统,这种记号系统复杂性介于源程序语言和机器语言之间,容易将它翻译成目标代码。另外,还可以在中间代码一级进行与机器无关的优化。
前者含语言预处理、SQL语句和过程语句分析,及中间代码生成等。
The former contains language pre-compiling, SQL statements and process statements analyzing and creating the intermediate code.
编译器可以将这个指示符存储在它的符号表中,并在中间代码生成阶段 使用这个指示符。
The compiler can store this directive in its symbol table and use it during the intermediate code generation phase.
一个脚本引擎通常包括的组件有:符号表、词法分析器、语法分析器、语义检查器、中间代码生成器、代码优化器、代码生成器、虚拟机。
The script engine has some components, include symbol table, lexical analyzer, parser, semantic checker, intermediate code generator, optimizer, code generator, virtual machine.
应用推荐