Tim

Is there a particular reference implementation of java.sql(x) you're planning on running the java2perl on? A quick google shows a reference API but no obvious reference implementation.

Regards
Dave


Tim Bunce wrote:
On Sat, Jul 04, 2009 at 07:09:20PM +0100, Sentra Systems wrote:
Hi

Hi Dave.

Has anything happened with a Parrot JDBC implementation?
Is Parrot stable enough yet?
Has anyone mapped out the minimun subset of JDBC that would be required to get DBI working in Perl6?

Here's the (current) plan...

1. Dust off java2perl6
        http://search.cpan.org/perldoc?java2perl6
        http://code.google.com/p/java2perl6/
    and update it to generate valid current perl6 code.

2. Add a type aliasing mechanism (ie "for the Java URL type use a Perl
    Str type") to java2perl6 so we don't have to implement loads of Java
    types before we can get started.

3. Write some kind of very dumb "Hello World" skeleton JDBC driver,
    as a proof of concept that uses the interfaces generated by java2perl

4. Refactor Simon Cozens's SQLite3 DBDI driver to use ('consume') the
    generated JDBC interfaces.
    http://dev.simon-cozens.org/6pan/browser/trunk/DBDI/DBDI/Driver/SQLite3.pm
    That's not working right now, so here's a cached version:
    
http://google.com/search?q=cache:T8FN2WYvgm0J:dev.simon-cozens.org/6pan/browser/trunk/DBDI/DBDI/Driver/SQLite3.pm

Making a move on this has been high on my list of pre-OSCON tasks
but working on NYTProf has remained a higher priority (there are some
great new features in the next release).

If anyone wants to help out with 1 and 2, you'd be more than welcome!
Send me your email address and I'll give you a commit bit.

Tim.


Reply via email to