首页    期刊浏览 2024年10月06日 星期日
登录注册

文章基本信息

  • 标题:An Operational Foundation for Delimited Continuations in the CPS Hierarchy
  • 本地全文:下载
  • 作者:Malgorzata Biernacka ; Dariusz Biernacki ; Olivier Danvy
  • 期刊名称:BRICS Report Series
  • 印刷版ISSN:0909-0878
  • 出版年度:2004
  • 卷号:11
  • 期号:29
  • 出版社:Aarhus University
  • 摘要:We present an abstract machine and a reduction semantics for the lambda-calculus extended with control operators that give access to delimited continuations in the CPS hierarchy. The abstract machine is derived from an evaluator in continuation-passing style (CPS); the reduction semantics (i.e., a small-step operational semantics with an explicit representation of evaluation contexts) is constructed from the abstract machine; and the control operators are the shift and reset family. At level n of the CPS hierarchy, programs can use the control operators shift_i and reset_i for 1 We also present new applications of delimited continuations in the CPS hierarchy: finding list prefixes and normalization by evaluation for a hierarchical language of units and products.
国家哲学社会科学文献中心版权所有