首页    期刊浏览 2025年07月04日 星期五
登录注册

文章基本信息

  • 标题:A Simple Correctness Proof of the Direct-Style Transformation
  • 本地全文:下载
  • 作者:Lasse R. Nielsen
  • 期刊名称:BRICS Report Series
  • 印刷版ISSN:0909-0878
  • 出版年度:2002
  • 卷号:9
  • 期号:2
  • 出版社:Aarhus University
  • 摘要:We build on Danvy and Nielsen's first-order program transformation into continuation-passing style (CPS) to present a new correctness proof of the converse transformation, i.e., a one-pass transformation from CPS back to direct style. Previously published proofs were based on, e.g., a one-pass higher-order CPS transformation, and were complicated by having to reason about higher-order functions. In contrast, this work is based on a one-pass CPS transformation that is both compositional and first-order, and therefore the proof simply proceeds by structural induction on syntax.
国家哲学社会科学文献中心版权所有