nvithadt wrote:
> I've been looking around the net for a few days now and
> have not found any C to Python translators.
They're called "programmers".
Seriously, though: compiled languages such as C and script languages such as
Python generally differ too much in style, philosophy, and possibilities
that translating them automatically will not give you good results.
For example, how would you translate malloc and pointer arithmetic? How does
a translator know whether "char foo[10];" is supposed to be an array of ten
small integers or a C string?
If you re-write it from scratch, you can also take advantage of things such
as dictionaries, which C doesn't have.
Cheers,
Philip
--
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython