首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >Deriving an Abstract Machine for Strong Call by Need
【24h】

Deriving an Abstract Machine for Strong Call by Need

机译:派生需要的强调用抽象机

获取原文
获取外文期刊封面目录资料

摘要

Strong call by need is a reduction strategy for computing strong normal forms in the lambda calculus, where terms are fully normalized inside the bodies of lambda abstractions and open terms are allowed. As typical for a call-by-need strategy, the arguments of a function call are evaluated at most once, only when they are needed. This strategy has been introduced recently by Balabonski et al., who proved it complete with respect to full beta-reduction and conservative over weak call by need. We show a novel reduction semantics and the first abstract machine for the strong call-by-need strategy. The reduction semantics incorporates syntactic distinction between strict and non-strict let constructs and is geared towards an efficient implementation. It has been defined within the framework of generalized refocusing, i.e., a generic method that allows to go from a reduction semantics instrumented with context kinds to the corresponding abstract machine; the machine is thus correct by construction. The format of the semantics that we use makes it explicit that strong call by need is an example of a hybrid strategy with an infinite number of substrategies.
机译:按需进行强调用是一种用于在lambda演算中计算强范式的简化策略,其中在lambda抽象体内完全规范化了术语,并允许使用开放术语。与按需调用策略一样,函数调用的参数最多仅在需要时才被评估一次。 Balabonski等人最近引入了此策略,他们证明了完整的beta降低和因需要而弱调用的保守性是完全的。我们展示了一种新颖的归约语义,以及用于强按需呼叫策略的第一台抽象机。约简语义包含严格和非严格let构造之间的句法区别,旨在实现有效的实现。它是在广义重新聚焦的框架内定义的,即一种通用方法,该方法允许从使用上下文种类检测的归约语义过渡到相应的抽象机器。因此,该机器在构造上是正确的。我们使用的语义格式明确表明,按需进行强力调用是具有无限数量的策略的混合策略的一个示例。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号