I am required to use Mathematica for a course I am taking, but prefer to use python for everything we are doing. I am interested in writing a program to turn my python scripts into Mathematica code that I can run and submit for the class. After doing some research, it seems like I'm trying to make a source-to-source compiler, something I have no experience with. Do you guys have any suggestions for literature/tutorials I should look at? Alternatively, if such a compiler already exists I would love to know.
I have written a translator that converts a small subset of Python into Mathematica. This translator also works with several other languages, such as JavaScript.