Camelia, the Perl 6 bug

IRC log for #dbdi, 2009-08-10

| Channels | #dbdi index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
21:36 ilbot2 joined #dbdi
21:36 timbunce How can I set the channel topic thingy?
21:36 moritz_ timbunce: with /topic newtopichere
21:36 moritz_ logs: http://irclog.perlgeek.de/dbdi/today
21:37 timbunce and any setup needed for paste.lisp.org?
21:39 moritz_ I have no idea whom to contact
21:39 PerlJam moritz_: I never noticed before but that moose and camel look like they are dueling.
21:40 moritz_ PerlJam: maybe we should add a butterfly somewhere ;-)
21:40 PerlJam heh
21:42 PerlJam moritz_: so ... when will ilbot be written in perl 6 ?  ;)
21:42 moritz_ PerlJam: as soon as we have decent IRC and database support
21:45 java2perl6_svn joined #dbdi
21:46 Topic for #dbdiis now DBDI: the Database interface for parrot and perl6 | java2perl6: for stealing the JDBC API from Java | irclog: http://irclog.perlgeek.de/dbdi/today
21:47 timbunce java2perl6_svn: welcome, whom should I thank for your arrival?
21:47 moritz_ me. But it doesn't seem to work yet
21:48 * PerlJam guesses there's an RSS feed for commits.
21:48 moritz_ maybe I should just ask Infinoid++ to send in his dalek...
21:57 timbunce Umm, class java::security::Permission uses java::security::PermissionCollection and java::security::PermissionCollection uses java::security::Permission.
21:57 moritz_ ok, I sent him a patch via github
21:57 timbunce that's probably what's giving rakudo indigestion.
21:57 moritz_ rakudo doesn't understand stubbed classes (forward declarations) yet
21:57 moritz_ but we can cheat on it
21:58 timbunce I'll file a bug report once I've distilled it down, then just stub out those classes since they're not needed.
21:58 moritz_ class A { }; class B { uses A }; class A is also { definition of A here }
21:59 timbunce Should the 'use' statements be inside the class?
21:59 PerlJam no, but it shouldn't matter.
22:01 timbunce which syn specifies multi methods?
22:01 moritz_ S12
22:01 moritz_ (and S06 much of the signature stuff)
22:04 mzedeler joined #dbdi
22:04 mzedeler Hi
22:04 moritz_ hi
22:05 donaldh_ joined #dbdi
22:05 moritz_ more people ;-)
22:06 timbunce I presume I should direct general perl6 questions to #perl6
22:07 mzedeler Yes.
22:07 mzedeler I'll be doing the same as well. But for starters, I'll be reading manuals and synopses.
22:07 mzedeler Anyone here been to YAPC::Europe 2009?
22:09 jsut|work joined #dbdi
22:11 timbunce moritz_: so if I change the code generator to output classes as "class foo is also {..." and output "use" statements as "class foo {}; use foo;" I might be okay?
22:11 timbunce doesn't seem worth the mess for the sake of a java edge case though.
22:12 moritz_ timbunce: do you mean to but "class foo { }" and "use foo" in different files?
22:12 moritz_ if not I don't see the point
22:12 moritz_ oh, there's something really ugly but fast we could do for now
22:13 moritz_ make a predeclarations.pm with all the 'class foo { # empty body }' classes
22:13 timbunce file j1.pm contains
22:13 timbunce use j2;
22:13 timbunce class j1 { multi method newPermissionCollection( --> j2) { ... } };
22:13 timbunce file j2.pm contains:
22:13 timbunce use j1;
22:13 timbunce class j2 { multi method add( j1 $v1) { ... } };
22:13 moritz_ and then 'use predeclarations; class j2 { ... }'
22:13 timbunce perl6 says
22:13 timbunce Unable to parse multisig; couldn't find final ')' at line 2, near "--> j2) { "
22:13 timbunce in Main (src/gen_setting.pm:3363)
22:13 timbunce Malformed method definition at line 2, near "add( j1 $v"
22:13 timbunce in Main (src/gen_setting.pm:3363)
22:13 moritz_ as long as every typename is declared in predeclarations.pm you solve all the bootstrapping woes
22:15 timbunce ok. I'll cast those java classes to Object for now to duck the issue. If it returns in a class that's important for DBDI then I'll go the predeclarations route. thanks
22:17 moritz_ anyway, bed time here
22:31 timbunce moritz_: ditto.
22:32 timbunce Looks like there's just one grammar issue (with java.sql.SQLXML) to sort out now and that's probably straightforward
22:32 timbunce (after I wrap my head around Parse::RecDescent again)
23:13 rbuels joined #dbdi
23:16 eternaleye joined #dbdi
23:29 Infinoid joined #dbdi
23:33 dalek joined #dbdi
23:39 satrac joined #dbdi
23:40 satrac left #dbdi

| Channels | #dbdi index | Today | | Search | Google Search | Plain-Text | summary