一个脚本语言编译器

 

  该编译器及运行环境采用虚拟机执行方式,即将源文件编译为中间代码(类似 Java 字节码),而中间代码在虚拟机(不是堆栈机,Java虚拟机是“准堆栈机”,大部分指令是堆栈式的,但为了效率,也有小部分指令不是堆栈式的)上执行。 可用于编译原理学习。

代码下载:http://febird.nease.net/OtherProduct/ScriptCompiler/ScriptEngine.rar

语言描述:http://febird.nease.net/OtherProduct/ScriptCompiler/Specification.htm

我的原文:http://febird.nease.net/OtherProduct/ScriptCompiler/ScriptCompiler.htm

posted on 2005-11-03 20:29  能发波  阅读(139)  评论(0)    收藏  举报

导航