Supporting program translation by refactoring

Autoren Michael Moser
Josef Pichler
TitelSupporting program translation by refactoring
TypTechnischer Bericht
InstitutionSoftware Competence Center Hagenberg
SCCH ID#1268

Existing tools for automatic conversion of programs from one programming language to a different target language are incomplete and fail to provide a 100% automatic conversion. Among other reasons this insufficiency results from different language concepts and features in source and target language. To overcome this feature gap we refactor and normalize input sources (C#) and thereby replace language features unknown to the target language (C++) with basic but available language features. By preprocessing input sources we provide a tool independent approach which significantly reduces problems in subsequent C# to C++ translations.