[tp-devel] libtpproto-java to C#

[tp-devel] libtpproto-java to C#

Marcel Hauf marcel.hauf at googlemail.com
Fri May 2 06:37:39 EDT 2008


2008/5/2 Tim Ansell <mithro at mithis.com>:

> Hello Marcel,
>
> I think you will have a huge amount of trouble converting the java
> library to C#.
>

Yeah, that is right. I asked a NeoDatis ODB guy and he wrote me that the
translation was not that easy with JCLA (a tool from MS).
They needed to convert much by hand.


>
> I would recommend instead looking into the various ways to auto-generate
> code from the protocol XML descriptions - all the protocol libraries are
> moving in this direction. The java library already auto-generates a
> large percentage of code, the C++ protocol library is also moving in
> this direction (see "Automatic generation of protocol libraries"
> thread). The second generation python library does the generation at
> runtime.


Okay, I will take a look at it. But currently I have no idea how to do this.


>
>
> Hope this helps.
>

Yeah, me, too.


>
> Tim 'Mithro' Ansell
>
> On Thu, 2008-05-01 at 23:39 +0200, Marcel Hauf wrote:
> > I managed to translate the code. But after some tries to fix the hard
> > errors. I get ~124 errors. Most are double but I don´t think I can
> > handle this.
> > Maybe I´m doing something wrong but I think the translator can´t
> > handle some things which are needed :/
> >
> > I will use ikvm to generate a .Net dll file firstly. Maybe I will give
> > it a try if a new release is available...
> >
> > ~Marcel
> >
> <snip>
>
>
> _______________________________________________
> tp-devel mailing list
> tp-devel at thousandparsec.net
> http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.thousandparsec.net/pipermail/tp-devel/attachments/20080502/f9ba6698/attachment-0001.htm 


More information about the tp-devel mailing list