首页 | 本学科首页   官方微博 | 高级检索  
     


Reasoning about programs in continuation-passing style
Authors:AMR Sabry and Matthias Felleisen
Affiliation:(1) Department of Computer Science, Rice University, 77251-1892 Houston, TX
Abstract:Plotkin's lambda v -calculus for call-by-value programs is weaker than the lambdabetaeegr-calculus for the same programs in continuation-passing style (CPS). To identify the call-by-value axioms that correspond to betaeegr on CPS terms, we define a new CPS transformation and an inverse mapping, both of which are interesting in their own right. Using the new CPS transformation, we determine the precise language of CPS terms closed under betaeegr-transformations, as well as the call-by-value axioms that correspond to the so-called administrative betaeegr-reductions on CPS terms. Using the inverse mapping, we map the remaining beta and eegr equalities on CPS terms to axioms on call-by-value terms. On the pure (constant free) set of Lambda-terms, the resulting set of axioms is equivalent to Moggi's computational lambda-calculus. If the call-by-value language includes the control operatorsabort andcall-with-current-continuation, the axioms are equivalent to an extension of Felleisenet al.'s lambda v -C-calculus and to the equational subtheory of Talcott's logic IOCC.This article is a revised and extended version of the conference paper with the same title 42]. The technical report of the same title contains additional material.The authors were supported in part by NSF grant CCR 89-17022 and by Texas ATP grant 91-003604014.
Keywords:lambda-calculus" target="_blank">gif" alt="lambda" align="BASELINE" BORDER="0">-calculus  lambda v -calculus" target="_blank">gif" alt="lambda" align="BASELINE" BORDER="0"> v -calculus  continuation-passing style  CPS transformations  inverse CPS transformations  lambda v -C-calculus" target="_blank">gif" alt="lambda" align="BASELINE" BORDER="0"> v -C-calculus  IOCC
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号