LIT conversion (C#) developer
#1  Jaapjan 08-30-2005, 07:15 AM
Is there anyone out there who ever tried to port the CLit code to c# instead?

Just trying to meet up or talk a bit with other such developers who tried or thought about it (with reasonable expectations of having succes).


#2  dpierron 08-30-2005, 07:37 AM
Shouldn't be too difficult if the original source is available (which I think it is).
But what for ?

#3  Jaapjan 08-30-2005, 08:38 AM
I see you haven't actually looked into it yet (at all?)

It would be fairly complex in fact. It is not a simple format.

#4  doctorow 08-30-2005, 08:58 AM
Jaapjan, what's complex about it? The sources can be easily compiled with Microsoft Visual C and any other GNU C compiler. Shouldn't it be straightforward to transform C code into C# ?

#5  Jaapjan 08-30-2005, 09:21 AM
The trouble is that the code is not object oriented, scattered about through many files and using a great deal of macro's.

Accurately deducing what a the more complex parts do precisely is ... not easy.

#6  doctorow 08-30-2005, 09:22 AM
I C. Thanks for the clarification

#7  Jaapjan 08-30-2005, 09:23 AM
It's not a problem to explain. Feel free to verify my statements. I love to hear you find it very easy, because I could ask all the tough questions to you then...

#8  doctorow 08-30-2005, 09:24 AM
Well I have never programmed in C#. But I did C++ and usually it was not an issue incorporating C code into C++.

#9  Jaapjan 08-30-2005, 09:32 AM
Yes, C and C++ aren't very different and you can intermingle said variants of the C language without any sort of worry. This is not the case with C# though, which is entirely object oriented.

In fact, c# doesn't even have support for pointers, nor macro's. It's not as much a thing of porting but of rewriting based on the original C code.

#10  doctorow 08-30-2005, 10:53 AM
May I ask you what you are working on? A project involving ConvertLit always sounds intriguing.

  Next »  Last »  (1/4)
Today's Posts | Search this Thread | Login | Register