首页    期刊浏览 2024年12月12日 星期四
登录注册

文章基本信息

  • 标题:A Concrete Framework for Environment Machines
  • 本地全文:下载
  • 作者:Malgorzata Biernacka ; Olivier Danvy
  • 期刊名称:BRICS Report Series
  • 印刷版ISSN:0909-0878
  • 出版年度:2005
  • 卷号:12
  • 期号:15
  • 出版社:Aarhus University
  • 摘要:We materialize the common belief that calculi with explicit substitutions provide an intermediate step between an abstract specification of substitution in the lambda-calculus and its concrete implementations. To this end, we go back to Curien's original calculus of closures (an early calculus with explicit substitutions), we extend it minimally so that it can express one-step reduction strategies, and we methodically derive a series of environment machines from the specification of two one-step reduction strategies for the lambda-calculus: normal order and applicative order. The derivation extends Danvy and Nielsen's refocusing-based construction of abstract machines with two new steps: one for coalescing two successive transitions into one, and one for unfolding a closure into a term and an environment in the resulting abstract machine. The resulting environment machines include both the idealized and the original versions of Krivine's machine, Felleisen et al.'s CEK machine, and Leroy's Zinc abstract machine.
国家哲学社会科学文献中心版权所有