Example-Based Program Transformation

被引:0
|
作者
Robbes, Romain [1 ]
Lanza, Michele [1 ]
机构
[1] Univ Lugano, REVEAL, Fac Informat, Lugano, Switzerland
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software changes. During their life cycle, software systems experience a wide spectrum of changes, from minor modifications to major architectural shifts. Small-scale changes are usually performed with text editing and refactorings, while large-scale transformations require dedicated program transformation languages. For medium-scale transformations, both approaches have disadvantages Manual modifications may require a myriad of similar yet not identical edits, leading to errors and omissions, while program transformation languages have a Steep learning Curve, and thus only pay off for large-scale transformations. We present a system supporting example-based program transformation. To define a transformation, a programmer performs an example change manually, feeds it into our system. and generalizes it to other application contexts. With time. a developer can build a palette of reusable medium-sized code transformations. We provide a detailed description Of Our approach and illustrate it with examples.
引用
收藏
页码:174 / 188
页数:15
相关论文
共 50 条
  • [1] LASE: An Example-Based Program Transformation Tool for Locating and Applying Systematic Edits
    Jacobellis, John
    Meng, Na
    Kim, Miryung
    [J]. PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), 2013, : 1319 - 1322
  • [2] Example-based model-transformation testing
    Kessentini, Marouane
    Sahraoui, Houari
    Boukadoum, Mounir
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2011, 18 (02) : 199 - 224
  • [3] Example-based model-transformation testing
    Marouane Kessentini
    Houari Sahraoui
    Mounir Boukadoum
    [J]. Automated Software Engineering, 2011, 18 : 199 - 224
  • [4] Example-based Antialiasing
    Han, Jian-Wei
    Yang, Bai-Lin
    Jiang, Zhao-Yi
    Wang, Xun
    [J]. INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND COMMUNICATION ENGINEERING (CSCE 2015), 2015, : 1177 - 1182
  • [5] NOBRAINER: A Tool for Example-Based Transformation of C/C++ Code
    V. V. Savchenko
    K. S. Sorokin
    I. E. Bronshtein
    A. S. Volkov
    V. V. Kachanov
    G. A. Pankratenko
    M. K. Ermakov
    S. I. Markov
    A. V. Spiridonov
    I. V. Aleksandrov
    [J]. Programming and Computer Software, 2020, 46 : 362 - 372
  • [6] Interactive example-based hatching
    Gerl, Moritz
    Isenberg, Tobias
    [J]. COMPUTERS & GRAPHICS-UK, 2013, 37 (1-2): : 65 - 80
  • [7] An Example-Based Face Relighting
    Shim, Hyunjung
    Chen, Tsuhan
    [J]. ENGINEERING REALITY OF VIRTUAL REALITY 2012, 2012, 8289
  • [8] Example-based style synthesis
    Drori, I
    Cohen-Or, D
    Yeshurun, H
    [J]. 2003 IEEE COMPUTER SOCIETY CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, VOL II, PROCEEDINGS, 2003, : 143 - 150
  • [9] Example-based head tracking
    Niyogi, S
    Freeman, WT
    [J]. PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON AUTOMATIC FACE AND GESTURE RECOGNITION, 1996, : 374 - 378
  • [10] Example-based cosmetic transfer
    Tong, Wai-Shun
    Tang, Chi-Keung
    Brown, Michael S.
    Xu, Ying-Qing
    [J]. PACIFIC GRAPHICS 2007: 15TH PACIFIC CONFERENCE ON COMPUTER GRAPHICS AND APPLICATIONS, 2007, : 211 - +