...
首页> 外文期刊>Logical Methods in Computer Science >Lazy Evaluation and Delimited Control
【24h】

Lazy Evaluation and Delimited Control

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

获取原文
           

摘要

The call-by-need lambda calculus provides an equational framework forreasoning syntactically about lazy evaluation. This paper examines itsoperational characteristics. By a series of reasoning steps, we systematically unpack the standard-orderreduction relation of the calculus and discover a novel abstract machinedefinition which, like the calculus, goes "under lambdas." We prove thatmachine evaluation is equivalent to standard-order evaluation. Unlike traditional abstract machines, delimited control plays a significantrole in the machine's behavior. In particular, the machine replaces themanipulation of a heap using store-based effects with disciplined management ofthe evaluation stack using control-based effects. In short, state is replacedwith control. To further articulate this observation, we present a simulation ofcall-by-need in a call-by-value language using delimited control operations.
机译:按需调用lambda演算提供了一个方程式框架,可用于在语法上解释惰性评估。本文研究了其操作特性。通过一系列的推理步骤,我们系统地分解了微积分的标准量级约简关系,并发现了一种新颖的抽象机器定义,该微机定义与微积分一样“在lambda之下”。我们证明机器评估等同于标准订单评估。与传统的抽象机器不同,定界控制在机器行为中起着重要作用。尤其是,该机器将使用基于商店的效果的堆操作替换为使用基于控制的效果的评估堆栈的严格管理。简而言之,状态被控制代替。为了进一步阐明此观察,我们使用定界控制操作以按值调用语言呈现按需调用的模拟。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号