Code Transformation by Direct Transformation ...
Document type :
Communication dans un congrès avec actes
DOI :
Title :
Code Transformation by Direct Transformation of ASTs
Author(s) :
Rizun, Mark [Auteur]
Analyses and Languages Constructs for Object-Oriented Application Evolution [RMOD]
Bach, Jean-Christophe [Auteur]
Analyses and Languages Constructs for Object-Oriented Application Evolution [RMOD]
Ducasse, Stephane [Auteur correspondant]
Analyses and Languages Constructs for Object-Oriented Application Evolution [RMOD]
Analyses and Languages Constructs for Object-Oriented Application Evolution [RMOD]
Bach, Jean-Christophe [Auteur]
Analyses and Languages Constructs for Object-Oriented Application Evolution [RMOD]
Ducasse, Stephane [Auteur correspondant]

Analyses and Languages Constructs for Object-Oriented Application Evolution [RMOD]
Conference title :
International Workshop on Smalltalk Technologies
City :
Brescia
Country :
Italie
Start date of the conference :
2015-07-15
English keyword(s) :
AST
refactoring
rewriting
code transforma-tion
refactoring
rewriting
code transforma-tion
HAL domain(s) :
Informatique [cs]/Langage de programmation [cs.PL]
English abstract : [en]
Software evolves to be adapted to the environment, due to bugs, new features and design changes. Code transformations can be done manually, but that is a tedious and error-prone task. Therefore automated tools are used to ...
Show more >Software evolves to be adapted to the environment, due to bugs, new features and design changes. Code transformations can be done manually, but that is a tedious and error-prone task. Therefore automated tools are used to assist developers in this maintenance operation. The Pharo environment includes its own refactoring tool — the Rewrite Engine — that allows one to transform methods by directly specifying parts of the AST to be rewritten. In addition, it proposes a parse tree transformation engine. However this tool and the used DSL to express the patterns for matching and transforming trees are complex to understand and master. In this context, writing a transformation rule is not a trivial task. We present a graphical tool built on the top of the Rewrite Engine — the Rewrite Tool — that abstracts the creation of transformation rules and proposes high-level AST operations that are simpler to understand than syntactic descriptions. It helps to automate the process of code transformation with a user-friendly interface.Show less >
Show more >Software evolves to be adapted to the environment, due to bugs, new features and design changes. Code transformations can be done manually, but that is a tedious and error-prone task. Therefore automated tools are used to assist developers in this maintenance operation. The Pharo environment includes its own refactoring tool — the Rewrite Engine — that allows one to transform methods by directly specifying parts of the AST to be rewritten. In addition, it proposes a parse tree transformation engine. However this tool and the used DSL to express the patterns for matching and transforming trees are complex to understand and master. In this context, writing a transformation rule is not a trivial task. We present a graphical tool built on the top of the Rewrite Engine — the Rewrite Tool — that abstracts the creation of transformation rules and proposes high-level AST operations that are simpler to understand than syntactic descriptions. It helps to automate the process of code transformation with a user-friendly interface.Show less >
Language :
Anglais
Peer reviewed article :
Oui
Audience :
Internationale
Popular science :
Non
Collections :
Source :
Files
- https://hal.inria.fr/hal-01319677/document
- Open access
- Access the document
- https://hal.inria.fr/hal-01319677/document
- Open access
- Access the document
- https://hal.inria.fr/hal-01319677/document
- Open access
- Access the document
- document
- Open access
- Access the document
- Rizu15a-CodeTransformation.pdf
- Open access
- Access the document
- Rizu15a-CodeTransformation.pdf
- Open access
- Access the document