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


Axioms for control operators in the CPS hierarchy
Authors:Yukiyoshi Kameyama
Affiliation:(1) Department of Computer Science, University of Tsukuba, Tsukuba, Japan
Abstract:A CPS translation is a syntactic translation of programs, which is useful for describing their operational behavior. By iterating the standard call-by-value CPS translation, Danvy and Filinski discovered the CPS hierarchy and proposed a family of control operators, shift and reset, that make it possible to capture successive delimited continuations in a CPS hierarchy. Although shift and reset have found their applications in several areas such as partial evaluation, most studies in the literature have been devoted to the base level of the hierarchy, namely, to level-1 shift and reset. In this article, we investigate the whole family of shift and reset. We give a simple calculus with level-n shift and level-n reset for an arbitrary n>0. We then give a set of equational axioms for them, and prove that these axioms are sound and complete with respect to the CPS translation. The resulting set of axioms is concise and a natural extension of those for level-1 shift and reset. This article is a revised version of the paper presented at 18th International Workshop on Computer Science Logic (CSL’04), September, 2004.
Keywords:CPS translation  Control operator  Delimited continuation  Axiomatization  Type system
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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