Towards generic refactoring
Ralf Lämmel · 2002
We define a challenging and meaningful benchmark for genericity in language processing, namely the notion of generic program refactoring. We provide the first implementation of the benchmark based on functional strategic programming in Haskell. We use the basic refactoring of abstraction extraction as the running example. Our implementation comes as a functional programming framework with hot spots for the language-specific ingredients for refactoring, e.g., means for abstraction construction and destruction, and recognisers for name analysis. The language-parametric framework can be instantiated for various, rather different languages, e.g., Java, Prolog, Haskell, or XML schema.
Cited by 59 works. doi:10.1145/570186.570188
Authors
References
- Refactoring: Improving the Design of Existing Code
- Aspect-oriented programming
- Aspect-Oriented Programming
- Aspect-oriented programming
- Refactoring object-oriented frameworks
- Notions of computation and monads
- A refactoring tool for smalltalk
- Adaptive Object-Oriented Software: The Demeter Method with Propagation Patterns
- Lambda lifting: Transforming programs to recursive equations
- Higher-order abstract syntax