Tim Bunce has suggested that it would be nice to have a general purpose
declaration translator from Java to Perl. In particular, he is interested
in leveraging this tool to create a JDBC API for Perl 6 from the
Java JDBC classes and interfaces. The result would then provide a strong
foundation for the Perl 6 DBI.
I propose to write that translator. It would have two pieces:
* One would use the Java deparser (part of its standard development
kit) to turn Java classes or interfaces into an internal structure
* The other half would turn that structure into valid Perl 6. Note that it would
only translate class, interface, and method declarations, not code.
Success for this project will be a working translator that generates method
declarations in Perl 6 from compiled Java .class files. While all cases
might not be covered, at least the final product should not die when faced
with the unexpected. The generated files will be tested using the then current
version of Pugs.
This project is new and has only recently been discussed in response to the
call for proposals. I'm sure I will have questions to direct to various
Perl 6 mailing lists as the project progresses.
Phil will be blogging about his grant progress at:
This microgrant is supported by additional sponsorship from Tim Bunce / DBI.
Please join us in wishing him the best of luck with his project. We're
really looking forward to seeing the results of this work.If you're
interested in submitting a Perl 6 microgrant proposal, you can find
Best, Leon and Jesse