Supporting program translation by refactoring

M. Moser, J. Pichler. Supporting program translation by refactoring. number SCCH-TR-1268, 11, 2012.

Autoren
  • Michael Moser
  • Josef Pichler
TypTechnischer Bericht
NummerSCCH-TR-1268
Monat11
Jahr2012
Abstract 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.