...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Transforming Interpreters into Inverse Interpreters by Partial Evaluation
【24h】

Transforming Interpreters into Inverse Interpreters by Partial Evaluation

机译:通过部分评估将口译员转换为反向口译员

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

摘要

The experiments in this paper apply the idea of prototyping programming language tools from robust semntics: we used a partial evaluator (Similix) to turn interpreters into inverse interpreters. This way we generated inverse interpreters for several small languages including interpreters for Turing machines, an applied lambda calculus, a flowchart language, and a suset of Java bytecode. Limiting factors of offline partial evaluation were the polyvariant specialization scheme with its lack of generalization; advantages were the availability of higher-order values to specialize a breadth-first tree traversal. This application of self-applicable partial evaluation is different from the classical Futamura projections that tell us how to translate a program by specialization of an interpreter.
机译:本文中的实验采用了从可靠的语义学中对编程语言工具进行原型设计的想法:我们使用了部分评估器(Similix)将解释器转换为反向解释器。这样,我们为几种小语言生成了逆解释器,包括图灵机的解释器,应用的lambda演算,流程图语言和Java字节码的子集。离线部分评估的限制因素是缺乏普遍性的多变量专业化方案。优点是可以使用高阶值来专门进行广度优先的树遍历。自我适用的局部评估的这种应用不同于经典的Futamura预测,后者告诉我们如何通过解释器的专业化来翻译程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号