This list is for anyone developing database drivers for Parrot and
especially for those developing the Parrot Database Driver Interface
library or a database driver that use it.
I'll post an announcement and answer some Firmly Anticipated Questions
in a day or two.
Tim.
Python: http://www.python.org/topics/database/
Perl: http://dbi.perl.org/
PHP: http://freshmeat.net/projects/php-dbi/
(Please let me know about any other similar database interface
projects for languages that may target Parrot.)
=head2 Developers
Harry Jackson <[EMAIL PROTECTED]> h
On Thu, Jan 29, 2004 at 09:00:56PM +, Harry Jackson wrote:
> Ok.
>
> I have managed to knock up an initial draft. You will see straight away
> that it is very limited in what it does. I have managed to run the
> select statement as shown in the code and it does return 1 records
> althou
Here's something I sketched out for Harry when we started.
Seems worth repeating to the list.
This is where we're aiming to get to.
Tim
=head1 Parrot DBD Design Notes
These notes for a rough sketch of a class hirearchy based on
that use for the Perl DBI drivers: the DBD's.
=head1 Handle Object
On Fri, Jan 30, 2004 at 03:19:45AM +, Harry Jackson wrote:
> Harry Jackson wrote:
>
> >Some of the code is only half finished ie We can connect and prepare but
> >not execute and fetch.
> >
> >Watch this space.
>
> We can now execute and fetch as can be seen from the bit of code I just
> po
On Fri, Jan 30, 2004 at 02:44:33PM +, Harry Jackson wrote:
> Tim Bunce wrote:
> > Get as close to my "design notes" (reposted this morning) as
> > possible.
> > eg set_err(), err(), errstr(), new_child() get_row_array()
> >
On Fri, Jan 30, 2004 at 03:11:05PM +, Harry Jackson wrote:
>
> .pcc_sub _MAIN prototyped
> .param pmc argv
> .include "/home/parrot/dbdi/lib/dbdi/dbdi_header.imc"
>
> .sym pmc dbh
> .sym string dbstring
> dbstring = "host=lhost dbname=name user=user password=pass"
>
On Fri, Jan 30, 2004 at 02:26:27PM +, Harry Jackson wrote:
>
> >> dbstring = "host=lhost dbname=name user=user password=pass"
> >> .pcc_begin prototyped
> >> .arg dbstring
> >> .pcc_call connect
> >> retconnect:
> >> .result dbh
> >> .pcc_end
> >> prin
On Tue, Feb 03, 2004 at 04:35:46PM +, Harry Jackson wrote:
> [... ]
> Question:
> Since Dan has said that objects are nearly finished is there any point
> spending too much time working on this. Would our time be better spent
> helping to get objects finished pronto.
I think so. It's basicall
On Tue, May 16, 2006 at 11:59:48PM +0100, Tim Bunce wrote:
> That's partly why I added the following idea to The Perl Foundation's Summer
> of Code
> project list (http://www.perl.org/advocacy/summerofcode/ideas.html):
>
> Reimplement the DBI v1 API in Pugs
> Des
he familiar DBI API while radically refactoring
the internals to make best use of Perl 6 and so enable greater
functionality and extensibility. (Likely mentor: Tim Bunce)
Trying to come up with both a new architecture and a new API was too much.
A great deal can be achieved by radically refactori
On Fri, Dec 05, 2008 at 11:11:30AM -0800, Geoffrey Broadwell wrote:
> On Fri, 2008-12-05 at 09:10 -0600, Andy Lester wrote:
> > On Dec 5, 2008, at 4:13 AM, Simon Cozens wrote:
> >
> > > I just ran this code, which worked with the expected results:
> >
> >
> > Beautiful. Posted to Perlbuzz.
> >
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) p
w.hjackson.org/cgi-bin/folding/index.pl
>
>
>
> - Original Message
> From: Tim Bunce
> To: Sentra Systems
> Cc: dbdi-dev@perl.org; Simon Cozens
> Sent: Saturday, July 4, 2009 11:36:32 PM
> Subject: Re: DBDI Status
>
> On Sat, Jul 04, 2009 at 07:09:20
dbc --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
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 wro
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?
Try running t
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&
On Wed, Jul 15, 2009 at 03:46:08PM +0100, Sentra Systems wrote:
> Tim
>
> They fixed a bug in rakudo last night that means a lot more of the pm's
> build, still investigating the rest. There a number of additional classes
> being discovered by javap (above the list you supplied).
Yes, that list
On Thu, Jul 16, 2009 at 01:49:02AM -0700, Darren Duncan wrote:
> Tim Bunce wrote:
>> On Wed, Jul 15, 2009 at 03:46:08PM +0100, Sentra Systems wrote:
>>> Do you want these to be typecast to 'Any'?
>>
>> In the short term, yes. In the longer term we'll ne
I've applied a bunch of changes today.
The current output of the mkjdbc.pl script is appended below.
It's looking pretty good. (I'm using the latest rakudo from git)
There are a few immediate issues...
. . java.sql.SQLXML: jdbclib/java/sql/SQLXML.pm
ERROR (line 1): Invalid comp unit:
m.
>
>-- Todd Presta
>-- [1]http://www.asciiville.com
>
>
> --------
>
>From: Tim Bunce
>To: dbdi-dev@perl.org
>Cc: Tim Bunce ; crow.p...
Thanks, applied!
Send me an email address associated with a google account and I'll add you
to the project so you can commit directly.
Tim.
On Mon, Aug 10, 2009 at 12:37:06AM +0200, Moritz Lenz wrote:
> Hi,
>
> attached patch for java2perl6 makes the tests files not check leading
> blank lines
"Data::Dumper::Simple is actually a source filter that ..."
Eeek! I'd be happy to loose the dependency. I don't think it's worth it.
Tim.
On Mon, Aug 10, 2009 at 12:21:32AM +0200, Moritz Lenz wrote:
> Hi,
>
> java2perl6 uses Data::Dumper::Simple (at least for the tests, it seems)
> but doesn't n
On Mon, Aug 10, 2009 at 09:26:56AM +0100, Tim Bunce wrote:
> Thanks, applied!
But not committed. I'll try to sort out the underlying failure first.
It's almost certainly a side effect of my messing with the type mapping.
Tim.
> Send me an email address associated with a google
In and working (for me at least) now. Thanks!
Tim.
On Mon, Aug 10, 2009 at 04:40:18PM +0100, Tim Bunce wrote:
> On Mon, Aug 10, 2009 at 09:26:56AM +0100, Tim Bunce wrote:
> > Thanks, applied!
>
> But not committed. I'll try to sort out the underlying failure first.
>
On Tue, Aug 11, 2009 at 10:41:01AM +0200, Cosimo Streppone wrote:
> Hi Tim,
>
> I just read the recent messages on the DBDI mailing list,
> and I'd like to join the list and the project.
Wonderful. Welcome. Thanks!
I believe joining the list just requires an (e.g., empty) email to
dbdi-dev-subscr
On Sun, Sep 27, 2009 at 07:38:52PM +, codesite-nore...@google.com wrote:
> Revision: 98
> Author: cosimo.streppone
> Date: Sun Sep 27 12:37:52 2009
> Log: Tests pass successfully now.
> I think this is a bad hack, and probably doesn't make sense,
> as this file is probably autogenerated (?)
Ye
That's great. Many thanks Cosimo!
Tim.
On Tue, Sep 29, 2009 at 09:29:11PM +0200, Cosimo Streppone wrote:
> Cosimo committed r99:
>
>> Revision: 99
>> Author: cosimo.streppone
>> Date: Mon Sep 28 13:29:30 2009
>> Log: Now the comp_stmt(?) rule triggers correctly.
>> Fixed the grammar properly to a
On Mon, Oct 05, 2009 at 05:19:23PM +0200, Cosimo Streppone wrote:
> Tim wrote:
>
>> To detect errors from javap I'd add something like
>>
>> or die "$JAVAP_EXECUTABLE @{[ %$options ]} @$classes failed.\n";
>>
>
> Is this ok?
>
> http://code.google.com/p/java2perl6/source/detail?r=101
It needs
[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
On Sat, Aug 21, 2010 at 05:37:19AM -0500, Phil Crow wrote:
>I've modified the grammar to accept verbose output from javap and
>to capture constant values. I'm one change away from making those
>work generally in generated output.
Wonderful!
>So, I need a commit bit.
Sure, I'll ne
On Sat, Aug 28, 2010 at 06:40:10AM -0500, Phil Crow wrote:
>I've finished numeric and string constant handling through to generation.
> To activate the feature add
>-verbose to your -javapopts. Without that you get the old ... behavior
> regardless of constant type.
Excellent! It's great
}
Was that accidental?
If you've time, I'd be delighted if you could update the TODO, to remove
the section on constants, and start exploring anything else in there
that takes your fancy.
Thanks again Phil!
Tim.
> Phil
>
> On Sun, Aug 29, 2010 at 4:33 PM, Tim Bunce wrote
On Wed, Sep 01, 2010 at 05:32:52PM +0100, Tim Bunce wrote:
>
> So instead of method USELESS_CONSTANT (--> Int) is export { 4 }
> it now does method USELESS_CONSTANT (--> Int) is export { return 4; }
I've switched to the compact form and added escaping of embedded quotes
35 matches
Mail list logo