| |
| Posted by Ilya Minkov in reply to stonecobra | PermalinkReply |
|
Ilya Minkov
Posted in reply to stonecobra
| This is interesting... But this is only the conversion result, not the converter itself available?
I have been looking at wx.NET recently. It consists of 2 parts: a standard-compliant shared which makes wxWidgets acessible from C "wx-c", and the C# code which loads this DLL and wraps it. This C# follows a clear general structure and should be more or less easy to convert automatically...
Currently, i am writing (ahem, learning to write) a simple lexer and parser in D for my private project. I might reuse the experience for C#. Also i have taken a look at different parser generators, and ANTLR should be easy to make output D - only 3 files to add. Aside from that, my favorite parsergen is COCO/R, and i have been evaluating the possibility to port it completely to D - it has already been ported into Java, C#, Delphi and other languages. So far i have started translating the Java port into D, but now i seem to find the C++ port somewhat more appealing...
I'm gonna finally move and release something, just don't know yet what.
-eye
stonecobra schrieb:
> I just posted dj, my testing conversion of the java -> D converter. Basically ported Java HashMap and all descendants, as well as Doug Lea's ConcurrentHashMap from the concurrent package.
>
> Check it out at http://dotnot.org/code/dj/
>
> No, it is not templatized, as I would like to leave that to someone else, if that think it is a useful excercise (probably not worthwhile, since dtl is now officially out of the closet :) ).
>
> What do you guys think? I am pretty impressed with the converter actually. After conversion, it took about 4 hours of effort to package up all of the classes and write some sort of unittest that would actually run.
>
> I can do more if people are interested, otherwise I am moving back to porting SAX2 and a decent XML parser to D.
>
> Scott Sanders
|