收录:
摘要:
With the rapid increasing of continuation-based interactive Web development, implementing first-class continuations on mainstream languages those do not support stack inspection and manipulation can pose a challenge. This paper describes a method of obtaining program continuation through exception handling mechanism. The method is based on program transformation, and steps on transformation are firstly introduced. Then, common properties on languages that can make use of this method are summarized. We also show that our method defines a distinguished general and reusable class hierarchies and simple interfaces between the system infrastructure and custom applications. With our design, implementing techniques on different languages have been discussed. Another point is that we introduce the optimized CPS language as the intermediate represent for ANF transformation which shows its advantage on fragment and live variables analysis.
关键词:
通讯作者信息:
电子邮件地址:
来源 :
Journal of Beijing University of Technology
ISSN: 0254-0037
年份: 2011
期: 2
卷: 37
页码: 277-284