Uh, I meant to add... give me an email address associated with a google
account and I'll give you a commit bit on http://code.google.com/p/java2perl6/

(I may move to github but it probably won't happen till after OSCON.)

Tim.

On Sat, Jul 11, 2009 at 01:03:25AM +0100, Tim Bunce wrote:
> Many thanks Dave. Applied!
> 
> Tim.
> 
> On Fri, Jul 10, 2009 at 11:45:46PM +0100, Sentra Systems wrote:
> > Tim
> >
> > Attached is a modified copy of the Generator::Std that emits current perl6. 
> > It's been amended to add the correct sigils and 'use' statements. Do you 
> > want to give it a try and see if it does what you want?
> >
> > :)
> > Dave
> >
> >
> > Tim Bunce wrote:
> >> On Mon, Jul 06, 2009 at 02:08:17PM +0100, Sentra Systems wrote:
> >>   
> >>> 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.
> >>>     
> >>
> >> Any implementation that has the classes will do.  java2perl6 is only
> >> concerned with the class interfaces.  It just runs javap on the class
> >> you give it, parses the class and interfaces definitions it outputs, and
> >> writes corresponding perl6 clasess and roles definitions.
> >>
> >> Try running
> >>
> >>     java2perl6 --outdir jdbc --recurse --nest java.sql.Connection
> >>
> >> I've just checked in a file I had on my disk that lists all the
> >> java.sql and javax.sql classess, so you can run
> >>
> >>     java2perl6 --outdir jdbc --recurse --nest $(cat jdbc_classes.txt)
> >>
> >> Tim.
> >>
> >>   
> >>> 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