PDA

View Full Version : C# to perl / python



Nessa
January 29th, 2008, 10:04 PM
Is there a way to convert one PL to another without having to rebuild the code from scratch?

pmasiar
January 29th, 2008, 10:11 PM
no. they have completely different datatypes and deep differences in semantics.

But in .NET, you can use IronPython, inherit from C# etc. Use C# as C-Python uses C - as language for low-level libraries.

Nessa
January 30th, 2008, 12:26 AM
Thank you for that. I was looking for a way to run mirc scripts on xchat but it seems that isn't possible. On to the next best thing I guess. *sighs* Wine...

CptPicard
January 30th, 2008, 12:42 AM
So you're not only trying to convert from one programming language to another, but to even script a completely different IRC client with scripts from some other client... :) no can do.