DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Python (http://www.daniweb.com/forums/forum114.html)
-   -   Best way to convert C++ coding to Python (http://www.daniweb.com/forums/thread38049.html)

davalend Jan 14th, 2006 2:26 am
Best way to convert C++ coding to Python
 
anyone have any idea?

i need some suggestion urgently

:sad:

vegaseat Jan 17th, 2006 1:52 pm
Re: Best way to convert C++ coding to Python
 
Why not write a Python program to translate C++ code to Python code? Would be a nice project. Start with something simple and go from there.

Narue Jan 17th, 2006 5:22 pm
Re: Best way to convert C++ coding to Python
 
>Why not write a Python program to translate C++ code to Python code?
Probably (barring sneaky tricks that wouldn't count) because you'd effectively be writing both a C++ and Python parser and evaluator, not to mention a kickass AI to convert C++ into intelligent Python. Doable, but very very difficult to the point of not being worth the effort.


All times are GMT -4. The time now is 8:09 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC