The script engine has some components, include symbol table, lexical analyzer, parser, semantic checker, intermediate code generator, optimizer, code generator, virtual machine. 一个脚本引擎通常包括的组件有:符号表、词法分析器、语法分析器、语义检查器、中间代码生成器、代码优化器、代码生成器、虚拟机。
The compiler of EP consists internally of lexical scanner module, parser module, semantic analyzer, target code generator module, symbol table management module and error handle module. 编译器由词法分析、语法分析、语义分析、目标代码生成、符号表管理、错误处理六部分组成。