I donβt know such a converter, but keep in mind that such conversions will only get to you.
For example, there is a Java to C # converter that comes with Visual Studio. This is great work, but for anything other than the most trivial example, you still have to do a lot of cleanup / refactoring. In addition, bad code in the source language will usually translate to equally bad or possibly worse code in the new language. Thus, the code will be difficult to maintain.
The fact is that there is no free lunch. Even with the converter, you will most likely have to port yourself a bit. If this is out of the question (due to time, money, etc.), you may need to rethink the project.
I'm sorry that I could not point you to a useful tool (I hope others will), but I saw these projects a couple of times, and people are usually surprised at the cleaning work needed after the conversion.
Brian rasmussen
source share