YU Gang, WANG Kai-yi, ZHAO Chun-jiang, LIU Zhong-qiang, ZHANG Fang-tian. Obtaining Program Continuation Using Exception Handling Mechanism[J]. Journal of Beijing University of Technology, 2011, 37(2): 277-284.
    Citation: YU Gang, WANG Kai-yi, ZHAO Chun-jiang, LIU Zhong-qiang, ZHANG Fang-tian. Obtaining Program Continuation Using Exception Handling Mechanism[J]. Journal of Beijing University of Technology, 2011, 37(2): 277-284.

    Obtaining Program Continuation Using Exception Handling Mechanism

    • 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.
    • loading

    Catalog

      Turn off MathJax
      Article Contents

      /

      DownLoad:  Full-Size Img  PowerPoint
      Return
      Return