Re: Module naming conventions

2009-06-03 Thread Daniel Carrera
John M. Dlugosz wrote: Yes. did you read mine? Yes, I read your email. Sounds like you are thinking of Parrot vs pure perl, and missed my point about being utterly different implementations, not choices within one. Chances are, the most popular implementations of Perl 6 will allow C bind

[perl #66196] .bytes is broken in Rakudo

2009-06-03 Thread Carl Mäsak via RT
Muixirt++ sent a patch, and now it works. Resolving ticket.

Re: Module naming conventions

2009-06-03 Thread Chris Fields
On Jun 2, 2009, at 5:11 PM, Daniel Carrera wrote: John M. Dlugosz wrote: So CPAN6 is basically only going to be for Parrot? What are you talking about? Did you even read my email? I said that a module might be implemented in multiple languages (see Digest::SHA VS Digest::SHA::PurePerl) an

Re: Information Model manuscript, pt.2

2009-06-03 Thread TSa
HaloO, John M. Dlugosz wrote: Please see part 2 of my comprehensive explaination of the Perl 6 Information Model, at . This isn't linked up to my main page yet. I'm taking comments and further discussion here before I make it public. This is a

[perl #63902] Assigning to an attribute from within BUILD gives Null PMC access in getprop()

2009-06-03 Thread jn...@jnthn.net via RT
On Sun Mar 15 12:00:21 2009, moritz wrote: > Rakudo 087e299898416ca6c3a6e2b2bdc3785d841f0ec6: > > From the parent: > $ >./perl6 -e 'class P { submethod BUILD($o) { say self.WHAT; $o.doit(2) > } }; class C is P { has $!a; method doit($x) { $!a = $x; }}; C.new()' > P > Null PMC access in getprop() >

[perl #64388] BUILD should take the object as the invocant, not as the second positional argument

2009-06-03 Thread jn...@jnthn.net via RT
On Thu Apr 02 06:29:21 2009, masak wrote: > doesn't BUILD have access to private attributes? if not, where > would be the proper place to initialize private attributes? > masak, yes... BUILD has access to private attributes > ruoso: how? could you show me? > masak, jnthn, in fact... TimToady ha

[perl #64930] Weird error building rakudo

2009-06-03 Thread jn...@jnthn.net via RT
On Sun May 17 12:16:57 2009, heidnes wrote: > On Tir. 21. Apr. 2009 07:41:21, PacoLinux wrote: > > Hi: > > > > I'm having a very weird error while building latest rakudo with parrot > > r38208 (gcc 4.1.3 20070929) : > > I'm seeing the same problem with gcc version 4.1.2 20061021 prerelease > (Ne

[perl #61104] [TODO] Implement array method dispatch

2009-06-03 Thread jn...@jnthn.net via RT
On Sun Mar 29 12:31:47 2009, moritz wrote: > On Wed Dec 17 08:03:11 2008, jn...@jnthn.net wrote: > > On Sat Dec 06 14:10:48 2008, masak wrote: > > > This should work, according to S12: > > > > > > $ perl6 -e 'class A { method x(Int $a) { say "Int" }; method y(Str $a) > > > { say "Str" }; method z

Re: Module naming conventions

2009-06-03 Thread Patrick R. Michaud
On Tue, Jun 02, 2009 at 02:56:46AM +0200, Daniel Carrera wrote: > Jon Lang wrote: >> On Mon, Jun 1, 2009 at 5:44 PM, Daniel Carrera >> wrote: >>> I think we might need to come up with some sort of standard naming >>> convention to distinguish dependencies. Something that the *user* can >>> recogni

Re: Module naming conventions

2009-06-03 Thread Patrick R. Michaud
On Tue, Jun 02, 2009 at 10:58:21AM +0200, Daniel Carrera wrote: > John M. Dlugosz wrote: >> The front-end should figure out which binary is proper for your >> platform. > > I don't like that idea in the slightest. (1) It is not Perl's job to > know if you have a C compiler, C libraries and tool

Re: Module naming conventions

2009-06-03 Thread Daniel Carrera
Hi Patrick, To reduce list traffic, I'm replying to both of your emails together. Just because these are the only adverbs mentioned doesn't necessarily mean they're the only ones that will be allowed. Ok. My interpretation was that adding adverbs would require updating the spec. More import

[perl #66182] No "die" sub found in Rakudo

2009-06-03 Thread Patrick R. Michaud via RT
The current version of Rakudo (after Jonathan's merge) now reports: $ cat 66182 my $x; [$x.WHAT, $x.HOW, $x]>>.say; $ ./perl6 66182 Failure() Method 'say' not found for invocant of class 'P6metaclass' $ I don't know if this is more along the lines of what you were lo

rakudo-current loop 2-3 orders of magnitude slower than perl 5?

2009-06-03 Thread Chris Mair
Hi, I'm new here, so forgive me if this is not the right list. After having used perl5 a lot years ago, this weekend I finally decieded to have a look at perl6. I followed Moritz Lenz' recent series of articles in iX magazin [1] and got rakudo running: git clone git://github.com/rakudo/rakud

Re: CPAN -- moving forward

2009-06-03 Thread Patrick R. Michaud
On Mon, Jun 01, 2009 at 06:34:02PM +0200, Daniel Carrera wrote: > I am in IRC > working with Rakudo folk on how Rakudo is going to store modules on the > disk. Once that is done, one can begin talking about a package format > and an installer, and then go from there. > > So far the discussion

Re: rakudo-current loop 2-3 orders of magnitude slower than perl 5?

2009-06-03 Thread Patrick R. Michaud
On Thu, Jun 04, 2009 at 12:12:06AM +0200, Chris Mair wrote: > I'm new here, so forgive me if this is not the right list. You're in the right place! > After having used perl5 a lot years ago, this weekend I > finally decieded to have a look at perl6. > [...] > Anyway, the parrot and rakudo files w

Re: rakudo-current loop 2-3 orders of magnitude slower than perl 5?

2009-06-03 Thread Daniel Carrera
Hi Chris, In addition to Patrick's excellent reply, I'd like to mention that one way to help the project is to just write code in Perl 6. This is a good way to find bugs, including performance bugs. One little project I'm doing is I'm porting the benchmarks from the Debian language shootout

slowness in grammar

2009-06-03 Thread Richard Hainsworth
Is this a good place to come with code that runs into speed problems? I am writing a program in perl6 to read the xml file from a Sony book reader, list the books, and move books into collections (the Sony software to do this will only work on windoz and not on wine). I have a grammar that wo