计算机科学 > 程序设计语言
[提交于 2013年1月18日]
标题:Deriving program transformations by demonstration
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Automatic code transformation in which transformations are tuned for specific applications and contexts are difficult to achieve in an accessible manner. In this paper, we present an approach to build application specific code transformations. Our approach is based on analysis of the abstract syntax representation of exemplars of the essential change to the code before and after the transformation is applied. This analysis entails a sequence of steps to identify the change, determine how to generalize it, and map it to term rewriting rules for the Stratego term rewriting system. The methods described in this paper assume programs are represented in a language-neutral term format, allowing tools based on our methods to be applied to programs written in the major languages used by computational scientists utilizing high performance computing systems.
提交历史
来自:Matthew Sottile[v1] 2013年1月18日 星期五 09:57:39 UTC