Supporting program translation by refactoring
|Autoren|| Michael Moser|
|Titel||Supporting program translation by refactoring|
|Institution||Software Competence Center Hagenberg|
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.