【24h】

Deriving Compilers and Virtual Machines for a Multi-level Language

机译:派生用于多级语言的编译器和虚拟机

获取原文
获取原文并翻译 | 示例

摘要

We develop virtual machines and compilers for a multi-level language, which supports multi-stage specialization by composing program fragments with quotation mechanisms. We consider two styles of virtual machines-ones equipped with special instructions for code generation and ones without-and show that the latter kind can deal with, more easily, low-level code generation, which avoids the overhead of (runtime) compilation by manipulating instruction sequences, rather than source-level terms, as data. The virtual machines and accompanying compilers are derived by program transformation, which extends Ager et al.'s derivation of virtual machines from evaluators.
机译:我们开发了用于多级语言的虚拟机和编译器,该语言通过使用引号机制组合程序片段来支持多阶段专业化。我们考虑了两种类型的虚拟机-一种配备有用于代码生成的特殊指令,一种没有代码-并表明后者可以更轻松地处理低级别的代码生成,从而避免了通过操作(运行时)编译的开销指令序列(而不是源代码级术语)作为数据。虚拟机及其随附的编译器是通过程序转换派生的,该程序转换扩展了Ager等人从评估人员推导的虚拟机。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号