Open Source Tool which Convert Source Code from one Language to other [closed]
Is there any tool which converts the source code in one language to other...
You can look at TXL, a program transformation tool that has been used to implement language-to-language translators.
EDIT: (after OP clarified his question slightly in a comment) You aren't very clear about the translations direction: Java-to-C# or C#-to-Java. However, this SO thread seems to address both to some degree: Is there an effective tool to convert C# code to Java code? (the link is really to convert-c#-to-java; SO apparantly can't put a # in a link).
The only tool I know of that has anything like this is LLVM which provides a C backend, i.e. it should be able generate C code from any language for which there is an LLVM front-end.
精彩评论