Writing code translator from Python to C? [closed]

Shedskin: http://code.google.com/p/shedskin/ Boost Python: http://www.boost.org/doc/libs/1_42_0/libs/python/doc/index.html PyCXX: http://cxx.sourceforge.net/ Cython: http://www.cython.org/ from http://wiki.python.org/moin/compile%20Python%20to%20C, there’s a list of related projects. Pyrex: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ psyco: http://psyco.sourceforge.net/ RPython: http://code.google.com/p/rpython/

Translating OS X Bash Script for Windows

As with any translation between programming languages, there’s (a) an as-literal-as-possible approach, which contrasts with (b), an not-immediately-obvious-but-in-the-spirit-of-the-target-language approach. (b) is always preferable in the long run. Use PowerShell, because it is the – far superior – successor to the “Command Prompt” (cmd.exe) and its batch files. The code below is an attempt at (b), … Read more

Is there an effective tool to convert C# code to Java code? [duplicate]

I have never encountered a C#->Java conversion tool. The syntax would be easy enough, but the frameworks are dramatically different. Even if there were a tool, I would strongly advise against it. I have worked on several “migration” projects, and can’t say emphatically enough that while conversion seems like a good choice, conversion projects always … Read more