JPT : A Simple Java-Python Translator
Eman Coco, Hadeel A. Osman, Niemah Izzeldin Osman · Computer Applications An International Journal · 2018
Java and Python are two of the most popular and powerful programming languages of present time.Both of them are Object-Oriented programming languages with unique advantages for developers and end users.Given the features of Python and how it is related to emerging fields in computer science such as Internet of Things, Python is considered a strong candidate of becoming the main programming language for academia and industry in the near future.In this paper, we develop JPT, which is a translator that converts Java code into Python.Our desktop application takes Java code as an input and translates it to Python code using XML as an intermediate language.The translator enables this conversion instead of having to rewrite the whole Python program from start.We address a number of cases where the translation process is challenging and highlight cases where manual inspection is recommended.