[CC'd to dbdi-...@perl.org] On Fri, Aug 13, 2010 at 08:41:35AM -0500, Phil Crow wrote: > Gmail confused my reading of this thread, so I didn't get to reply to this: > > I've a quick question for you (since I know practically zero Java)... > Given some large Java project, like a JDBC driver such as > [1]http://jdbc.postgresql.org/download.html > [2]http://dev.mysql.com/downloads/connector/j/ > what IDE-like tools would you recommend for browsing around the > files and visualizing the class structure? > > Eclipse is the best IDE for Java. It is an apache project (or so I > recall). It makes it very easy to browse structure by package, then > lets you build jar files with exactly what you want in them for > deployment. With subclipse ([3]http://subclipse.tigris.org/) it can > check out from svn, but the ones I've installed have always had cvs > support by default.
Thnaks. I guessed it would be Eclipse. I'll install it when I get back home next week. (I'm on a semi-holiday in Italy at the moment). > Personal Update: > I've installed rakudo star and read the book that came with it. > Last night I wrote my first small grammar. So, now I'm ready to > ask: What do you have in mind for the Java-Perl translation? Looking at http://github.com/timbunce/java2perl6/blob/master/TODO I think the most important one is extracting the actual constant values and reproducing them in the perl6 role. I *think* the best way (or at least one way) is to extend the existing parser to parse the output of java -p. I think that's best done in perl5 otherwise we'd end up rewriting the whole thing. (Umm, unless we go with a perl6->json->perl5 approach but that seems rather twisted.) Another useful item would be better handling of enums, or pretty much anything else in the TODO that takes your fancy. Tim.