DeepAI AI Chat
Log In Sign Up

Refactoring = Substitution + Rewriting

by   Simon Thompson, et al.
Eötvös Loránd University
University of Kent

We present an approach to describing refactorings that abstracts away from particular refactorings to classes of similar transformations, and presents an implementation of these that works by substitution and subsequent rewriting. Substitution is language-independent under this approach, while the rewrites embody language-specific aspects. Intriguingly, it also goes back to work on API migration by Huiqing Li and the first author, and sets refactoring in that general context.


page 1

page 2

page 3

page 4


Supporting Round-Trip Data Migration for Web APIs: A Henshin Solution

We present a solution to the Round-Trip Migration case of the Transforma...

On migration to Perpetual Enterprise System

This document describes a pragmatic approach on how to migrate an organi...

Characterization and Automatic Update of Deprecated Machine-Learning API Usages

Due to the rise of AI applications, machine learning libraries have beco...

M3: Semantic API Migrations

Library migration is a challenging problem, where most existing approach...

The Fulib Solution to the TTC 2020 Migration Case

At Kassel University we are working on a solution for bidirectional tran...

Robustness to Programmable String Transformations via Augmented Abstract Training

Deep neural networks for natural language processing tasks are vulnerabl...

Certified Robustness to Programmable Transformations in LSTMs

Deep neural networks for natural language processing are fragile in the ...