【24h】

A Functional Correspondence between Evaluators and Abstract Machines

机译:评估者与抽象机器之间的功能对应

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

摘要

We bridge the gap between functional evaluators and abstract machines for the λ-calculus, using closure conversion, transformation into continuation-passing style, and defunctionalization. We illustrate this approach by deriving Krivine's abstract machine from an ordinary call-by-name evaluator and by deriving an ordinary call-by-value evaluator from Felleisen et al.'s CEK machine. The first derivation is strikingly simpler than what can be found in the literature. The second one is new. Together, they show that Krivine's abstract machine and the CEK machine correspond to the call-by-name and call-by-value facets of an ordinary evaluator for the λ-calculus, We then reveal the denotational content of Hannan and Miller's CLS machine and of Landin's SECD machine. We formally compare the corresponding evaluators and we illustrate some degrees of freedom in the design spaces of evaluators and of abstract machines for the λ-calculus with computational effects. Finally, we consider the Categorical Abstract Machine and the extent to which it is more of a virtual machine than an abstract machine.
机译:我们使用闭包转换,转换为连续传递样式和去功能化,为λ演算架起了功能评估器和抽象机之间的桥梁。我们通过从普通的按名称调用的评估程序派生Krivine的抽象机,以及从Felleisen等人的CEK机获得的普通的按值调用评估程序派生来说明这种方法。一阶推导比文献中发现的要简单得多。第二个是新的。它们一起显示Krivine的抽象机和CEK机对应于λ微积分的普通求值器的按名称和按值调用方面,然后我们揭示了Hannan和Miller的CLS机的名词性内容,以及Landin的SECD机器。我们正式比较了相应的评估器,并说明了具有计算效果的λ演算的评估器和抽象机的设计空间中的一定程度的自由度。最后,我们考虑分类抽象机及其在某种程度上更像是虚拟机而不是抽象机。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号