Python3 To C++ Compiler (Prototype)
I spent a few hours working on a basic compiler that converts python3 code (one of the easier languages to learn) to c++ (one of the harder languages to learn). This would let you write code in python3 but still have the speed of c++. This prototype is far from good and needs hours of work. I was wondering if i could get help (as in a group of people to help me develop it) making it sence python3 is very different from c++ and will need tons of work to get properly and consistently converting. I want this to be very easy to use so all you have to do is run the program with the file's title and have it convert it to runable c++ code with no editing of the converted file required. I also want to have the converted c++ code maintain formating so anyone wanting to switch for python3 to c++ (on a project) can easily convert the code and use the converted code. There's also many features i want that i have know idea on how to add such as converting the code under imports that are used to c++. You will need to know python3 sorta well and some c++. If anyone wants to help me develop this then comment bellow and I'll set up a multiplayer replit for it. I'm looking for 3-6 people to help out and more would always be appreciated.
When you run the program, it prints the output (the c++ code which is runable). The code that is being converted can be found under the "python3_to_c.Cpy" file. The converter its self can be found under the "python3_to_c.py" file. The outputed c++ file can be found under the "python3_to_c.cpp" file. You can change the code under the "python3_to_c.Cpy" file and when run the output will be different. Note that it is very basic and dosent support many python3 syntaxes.
I know a lot of python, but no c++. Im planning on learning it but i may take a while since i have very little time. Im also unsure as to whether python3 is the python i know.
@BananaJellyfish Don't worry to much about the project. Your the only one who's offered so the team is super small and therefore idk if its even going to be possible within the short amount of time i will have to work on it each day (about 1-2 hours). if i can get more help then it will definitely be more likely.
@BananaJellyfish I created a python project for it and invited you so we can start whenever. For the first bit we wont be implementing python3 to c++ but rather different processes like tokenizing (converting a string of the commands to tokens example: "print("hello world")" to ["print", "(", """, ", "hello", " ", "world", """, ")"]) and once we have that and the rest of the base (the base of the processing of the data, like the backbones of it and the different required functions, ect...) we'll probably start with simpler syntaxes like basic variable and type management, loops, and conditional statements and other things like that because the more complex ones will need the simpler ones to functions. It also will let us build up the base to be stronger, better, faster, ect... so the more complex stuff will stay clean, efficient, and fast. I can also help you learn specific syntaxes when were implementing them if you don't know them yet and even a basic knowlage of c++ will go a long ways for a while and your skills should be able to progress faster then the creation of the converter/text parser/compiler. I also don't want to just convert python3 to c++ because a conversion may work but it may also be super slow or unreadable, I would like the converter to create a readable, optimized version. And once again thanks for offering to help. Also, feel free to pitch in any ideas on how you think we should build it up sense the methods I'm planning on using might not be as good as some of the methods you may know or find out about, it's just what I've heard main stream compilers use.