Supporting program translation by refactoring

Autoren Michael Moser
Josef Pichler
Titel Supporting program translation by refactoring
Typ Technischer Bericht
Nummer SCCH-TR-1268
Institution Software Competence Center Hagenberg
Monat November
Jahr 2012
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.