RE: Generating C# from Java (Was: fit, nfit, et al?)
"Jim Little" <[email protected]> Thu, 7 Aug 2003 23:59:46 -0700
| Newsgroups | gmane.comp.programming.tools.fit.devel |
|---|---|
| Message-ID | <000501c35d7a$a97b9df0$0300a8c0@Phideaux> |
From: Daniel Gackle > I agree with you that this is NOT the simplest thing that could > possibly work. Java and C# may be closer than any other two > languages I've worked with, but this would still be a big job. One -- I'm _not_ interested in writing a general-purpose Java -> C# translator. Two -- Trying to keep multiple revisions of the same codebase in sync is a complicated pain in the ass. Not to mention that having to keep multiple revisions in sync is a major disincentive to making changes. So I'm not so sure that a generator isn't the simplest thing. At the moment, my thoughts are running along the lines of a simplistic parser / regex thingie that also has Javadoc-ish comments to help direct the process. I haven't talked to Ward about this yet so I don't know what he thinks. When we first started the port, we looked at a regex-style approach but postponed it in favor of getting a first release out, and we never got back to it. One thing's sure: this is future stuff. Right now, I just want to get the .NET version back up to par. Jim