This paper shows a commercial program transformation system, DMS , applied to reengineer code in components of a distributed system implemented in C++. To be practical, such a tool has to not only reliably parse and regenerate C++ code, but it must be able to move program fragments from one place to another, accurately adjusting access paths to data. The demo shows the problem, sketches the solution, shows some of the source-to-source program transformation rules involved, and runs the tool against an illustrative example and real component code.
Published in:
Software Maintenance, 2004. Proceedings. 20th IEEE International Conference on
Date of Conference: 11-14 Sept. 2004