Generating C# from Java (Was: fit, nfit, et al?)
Daniel Gackle <[email protected]> Thu, 07 Aug 2003 20:15:02 -0600
| Newsgroups | gmane.comp.programming.tools.fit.devel |
|---|---|
| Message-ID | <[email protected]> |
> Making the code look like 'native' C# isn't a big priority for me. One direction I'd like to explore is automatically generating the C# code from the Java code, eliminating my job altogether. :) Hmm, I've thought about this too. I wrote a C# parser a while ago (well, an ANTLR grammar) as part of an open-source C# refactoring tool. I abandoned the refactoring project because a commercial tool came out, and because I've heard MS are going to do it anyway. But I learned a lot about ANTLR and about the differences between Java and C# syntax. A Java-to-C# translator could be implemented as an ANTLR tree parser using the public-domain Java grammar. Is anyone else interested in this? Daniel p.s. Jim, VS 2003 has some support for porting Java to C#. I haven't looked at it, have you? -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Jim Little Sent: Thursday, August 07, 2003 6:38 PM To: 'Steve Freeman' Cc: [email protected]; [email protected] Subject: [Fit-dev] RE: fit, nfit, et al? From: Steve Freeman [mailto:[email protected]] > OK. I started with your original version, also tagged, so it's all in > there. Have you a plan for where things should go next? I think Jeremy > and I are initially concerned with making the code look more like > "native" C#. Feature-wise, the next big thing I want to get working is properties. I also want to look at what's involved in doing fit-on-fit tests. Right now I'm concerned that my build script will say "success" even when there's a glaring (and embarrassing) defect in the output. Making the code look like 'native' C# isn't a big priority for me. One direction I'd like to explore is automatically generating the C# code from the Java code, eliminating my job altogether. :) Jim _______________________________________________ Fit-dev mailing list [email protected] http://lists.freepan.org/mailman/listinfo.cgi/fit-dev