Download revCPP: A reversible C++ preprocessor - LRDE

Transcript
Chapter 6
Conclusion
In this paper we explained how to use revCPP and how we successfully implemented a
reasonably complete C++ preprocessor and its postprocessor. We achieved high fidelity
postprocessing by preserving the layout at all stages of the preprocessing system. This
is of utmost importance for anyone willing to work on the transformed source code.
This implementation of a reversible preprocessing is close to that used by Proteus
(Waddington and Yao (2005)) but is the first to be free1 . Now that we have a free reversible preprocessor, we will be able to integrate it as the first and last components of
the transformation pipeline of Transformers.
RevCPP does not yet support C because it was only written for C++ but the implementation is not bound to C++ and can easily be ported to have a C89 and C99compatible mode
By exhibiting an interface compatible with that of GCC, we hope to make of revCPP
a practical tool that is easy to use with existing build systems.
1
free as in the GNU Public License