Abstract (ENG): |
Large-scale mainframe applications written in outdated languages such as COBOL still form the core of the enterprise IT in many organizations, even though their flexibility and maintainability declines continuously. Their manual re-implementation in modern languages like Java is usually economically not feasible. Automated code conversion of legacy programs usually produces poor quality code in the target language, even with recent AI tools such as ChatGPT. In addition, code conversion recovers dead or unnecessary code artifacts in the new language. Therefore, in this paper we explore a novel approach, which does not convert the legacy code, but instead uses the existing input/output data to generate program tokens through program synthesis. These tokens are subsequently translated into input tokens and submitted to ChatGPT to produce the target code. The approach is illustrated and evaluated by means of a semi-realistic example program. The obtained results look promising, but need to be further investigated. |
Citation: |
Fischer-Heselhaus, Simon and Brune, Philipp
(2023)
AI vs. Dinosaurs - Automated Re-Implementation of Legacy Mainframe Applications in Java By Combining Program Synthesis and GPT.
In:
Proceedings of the 9th International Conference on Mobile, Secure and Programmable Networking - MSPN / Bouzeframe, S. et al. (Eds.); 14482
Cham: Springer, pp. 205-221.
(Lecture Notes in Computer Science; 14482).
ISBN 9783031524257
|