Cross Language Compiler Construction From Matlab To Python

Abhishek v Kulkarni, Addanki Ranga Ravindra, Maheswarla Sai Sangeethi, G Tejdeep Reddy, Meena Belwal · 2024

The domain of cross compiler development pertains to the process wherein code written in one programming language is translated to another so that it may be compatible with another environment and may take advantage of the benefits of the other platform. This work aims at constructing a cross-language compiler to convert code of MATLAB to Python. Therefore, higher performance language and a powerful matrix operation library NumPy and a robust visualization library matplotlib is used in this research. The system is named as Mat2py, and it works efficiently in translation. Difficulties are to resolve issues related to the syntactic and semantic differences in the languages, overcome numeric imprecisions, and ensure the coherence of data structures and libraries. These complications are responded in this work by using NumPy and matplotlib of Python to transplant all the functionality accessible in MATLAB. Mat2py, therefore, ensure a correct and optimal conversion process through an analysis of the MATLAB function to its equivalent Python version and testing individual functions.

Read the paper · More papers on PaperTik