...
【24h】

Lazy Evaluation and Delimited Control

机译:惰性评估和定界控制

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

摘要

The call-by-need lambda calculus provides an equational frame-work for reasoning syntactically about lazy evaluation. This paperexamines its operational characteristics. By a series of reasoning steps, we systematically unpack thestandard-order reduction relation of the calculus and discover anovel abstract machine definition which, like the calculus, goes"under lambdas." We prove that machine evaluation is equivalentto standard-order evaluation. Unlike traditional abstract machines, delimited control plays asignificant role in the machine's behavior. In particular, the machinereplaces the manipulation of a heap using store-based effects withdisciplined management of the evaluation stack using control-basedeffects. In short, state is replaced with control. To further articulate this observation, we present a simulationof call-by-need in a call-by-value language using delimited controloperations.
机译:按需调用lambda演算提供了方程式框架,可用于对惰性评估进行句法推理。本文检查了它的操作特性。通过一系列的推理步骤,我们系统地分解了微积分的标准阶约简关系,并发现了与微积分一样“落在lambda之下”的抽象抽象机器定义。我们证明机器评估等同于标准订单评估。与传统的抽象机器不同,定界控制在机器行为中起着重要作用。特别是,该机器使用基于商店的效果代替了对堆的操作,而使用基于控件的效果则对评估堆栈进行了严格的管理。简而言之,将状态替换为控制。为了进一步阐明该观察,我们使用定界控制操作以按值调用语言呈现按需调用的模拟。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号