Please use this identifier to cite or link to this item:
https://ri.ufs.br/jspui/handle/riufs/20519
Document Type: | Artigo |
Title: | Using CafeOBJ to mechanise refactoring proofs and application |
Authors: | Carvalho Júnior, Antonio Silva, Leila Cornélio, Márcio |
Issue Date: | 2007 |
Resumo : | In this paper we show how rewriting systems, in particular CafeOBJ, can be used to automatically prove refactoring rules. In addition, a small case study that illustrates the application of a refactoring rule in an arbitrary program is also developed. Our approach is based on a sequential object-oriented language of refinement (rool) similar to Java. We have implemented the rool grammar in CafeOBJ, as well as the laws that define its semantics. Each refactoring rule is derived by the application of these laws, in a constructive way. The refactorings are also implemented in CafeOBJ, allowing the reduction of an arbitrary program. |
Keywords: | Rewriting systems Refactorings CafeOBJ |
ISSN: | 1571-0661 |
Is part of: | Electronic Notes in Theoretical Computer Science |
Language: | eng |
Publisher / Institution : | Elsevier B.V. |
Citation: | CARVALHO JÚNIOR, A.; SILVA, L.; CORNÉLIO, M. Using CafeOBJ to mechanise refactoring proofs and application. Electronic Notes in Theoretical Computer Science, Amsterdam, v. 184, p. 39-61, jul. 2007. Número especial. Disponível em: https://www.sciencedirect.com/science/article/pii/S1571066107004343. Acesso em: 27 nov. 2024. |
License: | Creative Commons Atribuição-Não Comercial-Sem Derivações 3.0 Não Adaptada (CC BY-NC-ND 3.0) |
URI: | https://ri.ufs.br/jspui/handle/riufs/20519 |
Appears in Collections: | DCOMP - Artigos de periódicos |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
CafeOBJMechaniseRefactoringProofs.pdf | 535,21 kB | Adobe PDF | ![]() View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.