首页    期刊浏览 2024年09月20日 星期五
登录注册

文章基本信息

  • 标题:Automatic Construction of Program Transformation Templates
  • 作者:Yuki Chiba ; Takahito Aoto ; Yoshihito Toyama
  • 期刊名称:IPSJ Digital Courier
  • 电子版ISSN:1349-7456
  • 出版年度:2008
  • 卷号:4
  • 页码:44-57
  • DOI:10.2197/ipsjdc.4.44
  • 出版社:Information Processing Society of Japan
  • 摘要:Program transformation by templates (Huet and Lang, 1978)is a technique to improve the efficiency of programs. In this technique, programs are transformed according to a given program transformation template. To enhance the variety of program transformation, it is important to introduce new transformation templates. Up to our knowledge, however, few works discuss about the construction of transformation templates. Chiba, et al. (2006) proposed a framework of program transformation by template based on term rewriting and automated verification of its correctness. Based on this framework, we propose a method that automatically constructs transformation templates from similar program transformations. The key idea of our method is a second-order generalization, which is an extension of Plotkin's first-order generalization (1969). We give a second-order generalization algorithm and prove the soundness of the algorithm. We then report about an implementation of the generalization procedure and an experiment on the construction of transformation templates.
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有