Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-06-15

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
00:06 speckbot r14552 | larry++ | this sentence no verb, diakopter++
00:08 diakopter moritz_: speckbot log links go to pugscode
00:19 cj joined #perl6
00:21 thepler joined #perl6
01:27 a-jing joined #perl6
01:27 a-jing left #perl6
01:38 diakopter moritz_: see here for speckbot svn diff links: http://www.perlcabal.org/sv​n/p6spec/revision?rev=14552
01:38 lambdabot Title: revision: /p6spec (Rev: 14552, via SVN::Web)
02:02 r0bby joined #perl6
02:15 bacek rakudo: my @a=(1..3); @a[10]='foo'; say ~@a;
02:15 p6eval rakudo r28370 OUTPUT[1 2 3        foo␤]
02:50 kanru joined #perl6
02:52 bacek rakudo: my@a; @a[2]='foo'; my $b = shift @a; say $b;
02:52 p6eval rakudo r28370 OUTPUT[Null PMC access in can()␤current instr.: 'parrot;Perl6Object;infix:=' pc 36 (src/gen_builtins.pir:44)␤
02:52 bacek rakudo: my @a; @a[2]='foo'; my $b = shift @a; say $b;
02:53 p6eval rakudo r28370 OUTPUT[Null PMC access in can()␤current instr.: 'parrot;Perl6Object;infix:=' pc 36 (src/gen_builtins.pir:44)␤
02:53 bacek pugs: my @a; @a[2]='foo'; my $b = shift @a; say $b;
02:53 p6eval OUTPUT[␤]
02:54 bacek pugs: my @a; @a[2]='foo'; shift @a; shift @a; my $b = shift @a; say $b;
02:54 p6eval OUTPUT[foo␤]
03:02 elmex_ joined #perl6
03:35 alester joined #perl6
03:50 vsoni joined #perl6
04:05 vsoni left #perl6
04:08 alester joined #perl6
04:16 rhr_ joined #perl6
05:29 pugs_svnbot r20823 | lwall++ | [STD5] progress in parsing STD, squashed various LazyMap bugs
05:41 a-jing joined #perl6
05:41 a-jing left #perl6
05:51 justatheory joined #perl6
05:56 cathyal joined #perl6
06:05 justatheory joined #perl6
06:11 xinming joined #perl6
06:18 borondil joined #perl6
06:40 Ched- joined #perl6
06:41 Ched- left #perl6
06:51 Psyche^ joined #perl6
06:55 redicaps left #perl6
07:15 cathyal joined #perl6
07:34 borondil left #perl6
07:37 bacek joined #perl6
07:52 Jedai joined #perl6
07:54 pawel joined #perl6
07:55 pawel diakopter: re add runtime eval in TODO what does that refer to?
07:56 moritz_ diakopter++ # speckbot
08:18 barney joined #perl6
08:26 iblechbot joined #perl6
08:37 a-jing joined #perl6
08:37 a-jing left #perl6
09:34 barney joined #perl6
09:35 pmurias &slurp and &unslurp lives in the IO package
09:35 pmurias ?
09:44 barney joined #perl6
09:49 barney joined #perl6
09:52 cathyal joined #perl6
09:52 bacek rakudo: say ~(1,2,3,4).map({ $^a + $^b + $^c}), (1..4);
09:52 p6eval rakudo r28375 OUTPUT[6 41234␤]
09:53 bacek rakudo: say ~(1,2,3,4).map({ $^a + $^b + $^c});
09:53 p6eval rakudo r28375 OUTPUT[6 4␤]
10:15 pmurias diakopter: ping
10:27 schmalbe joined #perl6
10:37 schmalbe joined #perl6
10:46 cathyal quelqu'un parle fran�ais ici?
10:46 diakopter pmurias: pong
10:47 * diakopter airport sits
10:47 diakopter pmurias: re 'runtime eval' that was a long ways away.
10:48 * diakopter plane boards
10:49 pmurias diakopter: where are you from?
11:19 pmurias does irc support color?
11:21 smtms IRC does support colour, though in some channels it's disabled
11:28 pmurias 2this is blue
11:28 pmurias seems to work ;)
11:42 deq` joined #perl6
11:53 chris2 joined #perl6
11:57 moritz_ yes, indeed
12:02 pmurias moritz_: why is filename completion for perl script argments broken on my debian box?
12:02 pmurias * arguments
12:05 pmurias is it a generic debian problem? or a local one ? ;)
12:05 pmurias s/debian box/laptop runing debian/
12:05 moritz_ pmurias: it seems to be related to /etc/bash_completion
12:05 moritz_ pmurias: any command line with perl and an option refuses to tab-complete file names :(
12:06 pmurias yes
12:08 rakudo_svn r28377 | jonathan++ | [rakudo] Implement %*ENV. There seems to be some issues iterating it, but it should be enough to do the basic CGI bits that the PerlMonk wanted.
12:11 pmurias moritz_: commenting the perl section out fixes the problem
12:11 moritz_ pmurias: maybe write a bug report?
12:12 pmurias hm
12:14 moritz_ pmurias: seems to be fixed in testing (at least for me)
12:15 pmurias ok than
12:15 pmurias any one has a better way of displaying the match object than
12:15 pmurias <comp_unit><statementlist><statement><E​XPR><noun><term><name><ident><alpha>s</​alpha>ay</name></ident><arglist><unv> </unv><EXPR><noun><value><quote>"<nibble>hi</nibb​le><stopper>"</statement></EXPR></noun></term></a​rglist></EXPR></noun></value></quote></stopper>;
12:16 pmurias somethings wrong with that pay no attention
12:16 pmurias ;)
12:22 rakudo_svn r28378 | pmichaud++ | [rakudo]:
12:22 rakudo_svn r28378 | pmichaud++ | * Refactor %*ENV, $*IN, $*OUT, $*ERR to src/builtins/globals.pir .
12:22 Ched joined #perl6
12:23 Ched left #perl6
12:25 cognominal_ joined #perl6
12:28 spinclad pmurias: hurts my eyes to look at that, it's all cross-wrapped
12:38 moritz_ diakopter: where should the speckbot links point to?
12:39 pmurias spinclad: you mean <foo><bar></foo></bar> or irc wrapping lines?
12:39 pmurias fixing the former now
12:45 pasteling "pmurias" at 81.168.228.98 pasted "the dump corrected" (2 lines, 294B) at http://sial.org/pbot/31313
12:49 pmurias spinclad: any more objections?
12:51 pmurias lunch&
13:09 sri_work joined #perl6
13:13 FurnaceBoy joined #perl6
13:44 [particle]ventus joined #perl6
13:59 pbuetow joined #perl6
14:03 jan_____ joined #perl6
14:14 pugs_svnbot r20824 | moritz++ | [irclog] fixed speckbot revision links, diakopter++ for reporting
14:43 lumi joined #perl6
14:47 pawel joined #perl6
15:02 chris2 joined #perl6
15:04 Jedai joined #perl6
15:27 justatheory joined #perl6
15:28 dolmen joined #perl6
15:29 dolmen want_array?
15:30 dolmen rakudo?
15:30 dolmen oh, no purl bot here?
15:32 pmurias joined #perl6
15:32 [particle]ventus no
15:40 moritz_ not every channel needs to be tainted ;)
15:40 cathyal joined #perl6
15:41 dolmen what is the Perl6 equivalent of want_array ?
15:42 pmichaud see S06
15:42 moritz_ if want.List ... iirc
15:42 pmichaud "The want function"
15:45 TimToady but don't use it
15:45 moritz_ ;)
15:45 pmichaud ...because...?
15:45 TimToady BECAUSE I SAID SO!
15:45 pmurias TimToady: where should i put a script which displays the match from STD in a human readable way?
15:46 TimToady you mean like STD5_run does? :)
15:46 pmichaud (meekly) .okay.
15:46 pmurias no no
15:46 TimToady define "human readable"...
15:46 moritz_ the philosophy is to return an object that can be used in all contexts accordingly
15:47 pmichaud we might want to update S06 with that.
15:47 dolmen I'm writing a fibonacci function
15:47 TimToady I think the most readable form would be to turn it back into Perl 6  :P
15:47 dolmen In list context I would return 2 elements, in scalar context just the last one
15:47 pmurias it's perl6 with xml in it
15:49 pmurias by human readable i mean it's not meant to cause unnecessary suffering to the reader
15:49 TimToady that's why some of the scripts I use feed the output to ->hash
15:50 pmurias it's >10x less output
15:53 pmurias maybe not >10x
15:54 TimToady ->hash basically weeds out any key starting with _
15:54 TimToady it's in lieu of p6's %()
15:54 TimToady I suppose if I made it return an anonymous glob for a Match object, I'd get %{} for free in p5
15:55 TimToady but for now STD5 basically just pokes all the values into the hash, including $0, $1, etc, with key of '' for the scalar value
15:56 TimToady so ->list has to look up hash keys "0", "1", "2"...
15:56 pugs_svnbot r20825 | pmurias++ | a script to display the match object from STD.pm
15:57 TimToady it's getting on toward time to set up tests of STD5 to see which of the basic sanity tests parse
15:58 pmurias the run radix.t script you posted used the hash
15:58 moritz_ TimToady: I was just about to propose adding parse tests
15:58 pmurias the unfun part is that elf dumps matches in an even uglier way
15:59 araujo joined #perl6
15:59 moritz_ TimToady: would you benefit from simpler scripts than current t/* for testing STD5?
16:01 TimToady usually I just write a one-off if I'm chasing a particular parsing bug that has showed up parsing some full-length file
16:01 araujo morning
16:01 pmurias TimToady: seen how my script works? ;)
16:02 moritz_ TimToady: add them all to a dir should_parse, then you have a small regression test
16:02 moritz_ and a few otehrs to should_not_parse
16:04 TimToady could use a few more newlines and indentation...
16:05 TimToady and I think it should assume color by default
16:05 pmurias some xml tidying thing could be used
16:08 [particle]ventus you want some #?STD5 markers in the spectests?
16:09 ruoso about the want function... considering how the context is delegated to the object in Perl 6, there isn't really a good reason for using "want"...
16:09 ruoso you only need to implement an object that "does" Array or "does" Scalar
16:10 pmurias cycling&
16:10 justatheory joined #perl6
16:18 pmurias joined #perl6
16:18 pmurias rain--
16:26 Miquay joined #perl6
16:26 Miquay hi all
16:27 Coleoid joined #perl6
16:27 rakudo_svn r28379 | pmichaud++ | [rakudo]:
16:27 rakudo_svn r28379 | pmichaud++ | * Add ternary ?? !! operator.
16:29 pugs_svnbot r20826 | pmurias++ | cleans up the match
16:30 pmurias would connecting STD5 to elf be a good idea now?
16:35 dolmen rakudo: say Bool::True ?? "Ok" !! "Not yet"
16:35 p6eval rakudo r28379 OUTPUT[Ok␤]
16:38 pmurias TimToady: if there is a way whitespace should be inserted that would be helpfull to you please tell me or feel free to change STD5_dump_match yourself
16:38 pugs_svnbot r20827 | pmurias++ | added a --nocolor instead of taking two arguments
16:46 TimToady indenting is easy, just $indent++ on entry and $indent-- on exit
16:46 TimToady then ' ' x $indent
16:49 cognominal_ joined #perl6
16:52 moritz_ rakudo: say 1 ?? 2 !! 3;
16:52 p6eval rakudo r28379 OUTPUT[2␤]
16:52 moritz_ rakudo: say 0 ?? 2 !! 3;
16:52 p6eval rakudo r28379 OUTPUT[3␤]
17:00 pmurias TimToady: i'll add an option to do that later
17:04 bacek joined #perl6
17:17 Ched- joined #perl6
17:29 Ched- left #perl6
17:39 kanru joined #perl6
17:52 cj TimToady: happy fathers' day!
17:56 cognominal_ joined #perl6
18:02 TimToady thank you!
18:05 [particle]ventus joined #perl6
18:09 Auzon rakudo: class Foo {}; say Foo.new.?maybe
18:09 p6eval rakudo r28381 OUTPUT[Failure␤]
18:09 Auzon rakudo: class Foo {}; say Foo.new.maybe
18:09 p6eval rakudo r28381 OUTPUT[Method 'maybe' not found for invocant of class 'Foo'␤current instr.: '_block11' pc 43 (EVAL_12:20)␤
18:09 Auzon rakudo: class Foo {}; say Foo.new.'?maybe'
18:09 p6eval rakudo r28381 OUTPUT[Method '?maybe' not found for invocant of class 'Foo'␤current instr.: '_block11' pc 46 (EVAL_14:23)␤
18:09 Auzon yay rakudo.
18:12 Auzon rakudo: say undef ~~ Failure
18:12 p6eval rakudo r28381 OUTPUT[1␤]
18:14 BinGOs joined #perl6
18:18 rakudo_svn r28382 | pmichaud++ | [rakudo]:
18:18 rakudo_svn r28382 | pmichaud++ | * Make Parrot's t/doc/pod.t happy with src/globals.pir .
18:31 Auzon rakudo: class Foo {method a {"first"}}; class Bar is Foo {method a {"second"}}; say Bar.new.+a.perl;
18:31 p6eval rakudo r28382 OUTPUT[Could not invoke method 'a' on invocant of type 'Bar'␤current instr.: 'die' pc 8771 (src/gen_builtins.pir:5717)␤
18:31 Auzon rakudo: class Foo {method a {"first"}}; class Bar is Foo {method a {"second"}}; say Bar.new.a.perl;
18:31 p6eval rakudo r28382 OUTPUT["second"␤]
18:32 Auzon rakudo: class Foo {method a {"first"}}; class Bar is Foo {method a {"second"}}; my $o = Bar.new; $o.*a.perl.say
18:32 p6eval rakudo r28382 OUTPUT[Could not invoke method 'a' on invocant of type 'Bar'␤current instr.: 'die' pc 8771 (src/gen_builtins.pir:5717)␤
18:48 pugs_svnbot r20828 | Auzon++ | [gsoc_spectest] new tests for lastcall. moved calling_sets to spec/S12-methods and added more tests. (added 7 tests)
19:23 dolmen perl6: say Bool::True;
19:23 p6eval kp6 r20828: OUTPUT[no method 'APPLY' in Class 'Undef'␤ at compiled/perl5-kp6-mp6/lib/Ki​ndaPerl6/Runtime/Perl5/MOP.pm line 345␤
19:23 p6eval ..pugs: OUTPUT[1␤]
19:23 p6eval ..rakudo r28386: OUTPUT[1␤]
19:23 p6eval ..elf r20828: OUTPUT[Bool::True␤]
19:25 dolmen where is specified the stringification of Bools ?
19:25 dolmen perl6: say Bool::True.perl;
19:25 p6eval kp6 r20828: OUTPUT[DISPATCH: calling perl on invalid object:$VAR1 = undef;␤␤ at compiled/perl5-kp6-mp6/lib/Ki​ndaPerl6/Runtime/Perl5/MOP.pm line 128␤        main::DISPATCH('undef', 'perl') called at - line 11␤]
19:25 p6eval ..pugs: OUTPUT[Bool::True␤]
19:25 p6eval ..rakudo r28386: OUTPUT[Method 'perl' not found for invocant of class 'Bool'␤current instr.: '_block11' pc 35 (EVAL_10:19)␤
19:25 p6eval ..elf r20828: OUTPUT[Can't locate object method "perl" via package "Bool::True" (perhaps you forgot to load "Bool::True"?) at (eval 14) line 3.␤ at ./elf_f_faster line 4549␤]
19:30 sri_work joined #perl6
19:37 rakudo_svn r28389 | pmichaud++ | [rakudo]:
19:37 rakudo_svn r28389 | pmichaud++ | * Add .perl to Bool class.
19:38 pmichaud rakudo:  say Bool::True.perl
19:38 p6eval rakudo r28388 OUTPUT[Method 'perl' not found for invocant of class 'Bool'␤current instr.: '_block11' pc 35 (EVAL_12:19)␤
19:40 pmichaud rakudo:  say Bool::True.perl
19:40 p6eval rakudo r28389 OUTPUT[Bool::True␤]
19:40 pmichaud yay
19:40 pmichaud perl6: say (!0).perl
19:40 p6eval kp6 r20828: OUTPUT[syntax error at position 4, line 1 column 4:␤say (!0).per␤    ^ HERE␤]
19:40 p6eval ..pugs: OUTPUT[Bool::True␤]
19:40 p6eval ..rakudo r28389: OUTPUT[Bool::True␤]
19:40 p6eval ..elf r20828: OUTPUT[1␤]
19:40 pmichaud perl6: say (!1).perl
19:40 p6eval kp6 r20828: OUTPUT[syntax error at position 4, line 1 column 4:␤say (!1).per␤    ^ HERE␤]
19:40 p6eval ..pugs: OUTPUT[Bool::False␤]
19:40 p6eval ..rakudo r28389: OUTPUT[Bool::False␤]
19:40 p6eval ..elf r20828: OUTPUT[␤]
20:03 stevan_ joined #perl6
20:09 stevan_ joined #perl6
20:10 barney joined #perl6
20:24 pugs_svnbot r20829 | lwall++ | [STD] language switching now done with [ :lang($newlang) <stuff> ]
20:41 dolmen pmichaud: I submitted a patch: #55860
20:50 pmichaud dolmen:  yes, looking at it now.  I already did Bool.perl in r28389
20:50 pmichaud but Range.perl looks really good
20:54 fcb joined #perl6
20:55 dolmen Well, I should not do my tests on the channel: I'm giving you ideas you're faster to implement :)
20:55 fcb left #perl6
21:02 pmichaud :-)
21:03 SubStack joined #perl6
21:04 bbkr__ joined #perl6
21:04 eternaleye joined #perl6
21:08 pbuetow_ joined #perl6
21:08 sri_work joined #perl6
21:08 dolmen joined #perl6
21:08 pbuetow joined #perl6
21:08 japhb joined #perl6
21:09 dolmen_ joined #perl6
21:09 d4l3k_ joined #perl6
21:11 pmurias TimToady: where is :lang speced?
21:12 ingy joined #perl6
21:13 mofino joined #perl6
21:23 TimToady joined #perl6
21:23 spinclad_ joined #perl6
21:23 drbean_ joined #perl6
21:23 Ara5n joined #perl6
21:23 SubStack joined #perl6
21:23 lambdabot joined #perl6
21:23 bacek joined #perl6
21:23 kanru joined #perl6
21:23 xinming joined #perl6
21:23 s1n joined #perl6
21:23 mofino joined #perl6
21:23 ingy joined #perl6
21:23 dalek joined #perl6
21:23 dolmen joined #perl6
21:23 japhb joined #perl6
21:23 sri_work joined #perl6
21:23 pbuetow_ joined #perl6
21:23 eternaleye joined #perl6
21:23 bbkr__ joined #perl6
21:23 stevan_ joined #perl6
21:23 BinGOs joined #perl6
21:23 [particle]ventus joined #perl6
21:23 cognominal_ joined #perl6
21:23 Coleoid joined #perl6
21:23 pmurias joined #perl6
21:23 araujo joined #perl6
21:23 lumi joined #perl6
21:23 jan_____ joined #perl6
21:23 iblechbot joined #perl6
21:23 Patterner joined #perl6
21:23 rhr_ joined #perl6
21:23 elmex joined #perl6
21:23 r0bby joined #perl6
21:23 thepler joined #perl6
21:23 cj joined #perl6
21:23 ruoso joined #perl6
21:23 yahooooo joined #perl6
21:23 Caelum_ joined #perl6
21:23 meteorjay joined #perl6
21:23 apeiron joined #perl6
21:23 xdg joined #perl6
21:23 ilogger2 joined #perl6
21:23 smtms joined #perl6
21:23 fullermd joined #perl6
21:23 Lunchy joined #perl6
21:23 Auzon joined #perl6
21:23 Maghnus joined #perl6
21:23 jiing joined #perl6
21:23 qmole_ joined #perl6
21:23 hcchien joined #perl6
21:23 Ingmar joined #perl6
21:23 PerlJam joined #perl6
21:23 pmichaud joined #perl6
21:23 p6eval joined #perl6
21:23 Southen joined #perl6
21:23 felipe joined #perl6
21:23 vixey joined #perl6
21:23 viklund joined #perl6
21:23 perlbot joined #perl6
21:23 diakopter joined #perl6
21:23 gugod joined #perl6
21:23 kolibrie joined #perl6
21:23 cls_bsd joined #perl6
21:23 kcwu joined #perl6
21:23 silug joined #perl6
21:23 Helios- joined #perl6
21:23 orafu joined #perl6
21:23 integral joined #perl6
21:23 nothingmuch joined #perl6
21:23 zostay joined #perl6
21:23 pjcj joined #perl6
21:23 Khisanth joined #perl6
21:23 Gothmog_ joined #perl6
21:23 agentzh joined #perl6
21:23 osfameron joined #perl6
21:23 pugs_svnbot joined #perl6
21:23 awwaiid joined #perl6
21:23 charsbar joined #perl6
21:23 kane_ joined #perl6
21:23 broquaint joined #perl6
21:23 TreyHarris joined #perl6
21:23 rakudo_svn joined #perl6
21:23 tcliou_ joined #perl6
21:23 erikh joined #perl6
21:23 yath joined #perl6
21:23 c1sung joined #perl6
21:23 lisppaste3 joined #perl6
21:23 avar joined #perl6
21:23 wolverian joined #perl6
21:23 moritz_ joined #perl6
21:23 nnunley joined #perl6
21:23 allbery_b joined #perl6
21:23 audreyt joined #perl6
21:23 buu joined #perl6
21:23 Caelum joined #perl6
21:23 clkao joined #perl6
21:23 Juerd joined #perl6
21:23 jjore joined #perl6
21:23 Grrrr joined #perl6
21:23 jrockway joined #perl6
21:23 arguile joined #perl6
21:23 Maddingue joined #perl6
21:23 LCamel joined #perl6
21:23 IRSeekBot joined #perl6
21:23 nipotaway joined #perl6
21:23 Tene joined #perl6
21:23 speckbot joined #perl6
21:23 buubot joined #perl6
21:23 obra joined #perl6
21:23 mtve joined #perl6
21:23 baest joined #perl6
21:23 pmurias debian testing uses 5.10.0, and i was keeping a special 5.10.0 copy ;)
21:23 pmurias s/copy/local installation/
21:25 pasteling joined #perl6
21:25 drbean joined #perl6
21:27 pbuetow joined #perl6
21:29 drbean_ joined #perl6
21:29 s1n joined #perl6
21:29 pbuetow_ joined #perl6
21:29 sri_work joined #perl6
21:29 japhb joined #perl6
21:30 gugod joined #perl6
21:30 silug joined #perl6
21:30 cls_bsd joined #perl6
21:30 kcwu joined #perl6
21:32 Auzon perl6: my $a = sub {say "hi"}; $a.perl.say
21:32 p6eval kp6 r20829: OUTPUT[syntax error at position 31, line 1 column 31:␤my $a = sub {say "hi"}; $a.perl.sa␤                               ^ HERE␤]
21:32 p6eval ..pugs: OUTPUT[\sub :(@_) "$_" := "Scalar" #<Scalar:0xb6656a8c>␤          "@_" := "Array" #<Array:0xb6656ba4>␤          "&?ROUTINE" := "Sub" #<Sub:0xb6604df4>␤          "&?BLOCK" := "Sub" #<Sub:0xb6604df4> {"$_" := "Scalar" #<Scalar:0xb7270f34>␤                                                "@_"
21:32 p6eval ..:= "Array" #<Array:0xb72d255c>␤                          ...
21:32 p6eval ..rakudo r28393: OUTPUT[Method 'perl' not found for invocant of class 'Closure'␤current instr.: '_block11' pc 59 (EVAL_12:27)␤
21:32 p6eval ..elf r20829: OUTPUT[CODE.new(!!!)␤]
21:32 pengrate joined #perl6
21:32 TimToady joined #perl6
21:32 Auzon I like Elf's output the best :)
21:33 * moritz_ too
21:36 TimToady something strange happened to #perl6 there...
21:36 pugs_svnbot r20830 | Auzon++ | [gsoc_spectest] crossing an item off of TASKS
21:37 TimToady pmurias: anyway, it's not specced anywhere yet
21:48 diakopter joined #perl6
21:48 TimToady joined #perl6
21:48 pengrate joined #perl6
21:48 kcwu joined #perl6
21:48 cls_bsd joined #perl6
21:48 silug joined #perl6
21:48 gugod joined #perl6
21:48 japhb joined #perl6
21:48 s1n joined #perl6
21:48 pbuetow joined #perl6
21:48 drbean joined #perl6
21:48 pasteling joined #perl6
21:48 baest joined #perl6
21:48 spinclad_ joined #perl6
21:48 Ara5n joined #perl6
21:48 SubStack joined #perl6
21:48 lambdabot joined #perl6
21:48 bacek joined #perl6
21:48 kanru joined #perl6
21:48 xinming joined #perl6
21:48 mofino joined #perl6
21:48 ingy joined #perl6
21:48 dalek joined #perl6
21:48 dolmen joined #perl6
21:48 eternaleye joined #perl6
21:48 bbkr__ joined #perl6
21:48 stevan_ joined #perl6
21:48 BinGOs joined #perl6
21:48 [particle]ventus joined #perl6
21:48 cognominal_ joined #perl6
21:48 Coleoid joined #perl6
21:48 pmurias joined #perl6
21:48 araujo joined #perl6
21:48 lumi joined #perl6
21:48 jan_____ joined #perl6
21:48 Patterner joined #perl6
21:48 rhr_ joined #perl6
21:48 elmex joined #perl6
21:48 r0bby joined #perl6
21:48 thepler joined #perl6
21:48 cj joined #perl6
21:48 ruoso joined #perl6
21:48 yahooooo joined #perl6
21:48 Caelum_ joined #perl6
21:48 meteorjay joined #perl6
21:48 apeiron joined #perl6
21:48 xdg joined #perl6
21:48 ilogger2 joined #perl6
21:48 smtms joined #perl6
21:48 fullermd joined #perl6
21:48 Lunchy joined #perl6
21:48 Auzon joined #perl6
21:48 Maghnus joined #perl6
21:48 jiing joined #perl6
21:48 qmole_ joined #perl6
21:48 hcchien joined #perl6
21:48 Ingmar joined #perl6
21:48 PerlJam joined #perl6
21:48 pmichaud joined #perl6
21:48 p6eval joined #perl6
21:48 Southen joined #perl6
21:48 felipe joined #perl6
21:48 vixey joined #perl6
21:48 viklund joined #perl6
21:48 Helios- joined #perl6
21:48 orafu joined #perl6
21:48 integral joined #perl6
21:48 nothingmuch joined #perl6
21:48 zostay joined #perl6
21:48 pjcj joined #perl6
21:48 Khisanth joined #perl6
21:48 Gothmog_ joined #perl6
21:48 agentzh joined #perl6
21:48 osfameron joined #perl6
21:48 pugs_svnbot joined #perl6
21:48 awwaiid joined #perl6
21:48 charsbar joined #perl6
21:48 kane_ joined #perl6
21:48 broquaint joined #perl6
21:48 TreyHarris joined #perl6
21:48 rakudo_svn joined #perl6
21:48 tcliou_ joined #perl6
21:48 erikh joined #perl6
21:48 yath joined #perl6
21:48 c1sung joined #perl6
21:48 lisppaste3 joined #perl6
21:48 avar joined #perl6
21:48 wolverian joined #perl6
21:48 moritz_ joined #perl6
21:48 nnunley joined #perl6
21:48 allbery_b joined #perl6
21:48 audreyt joined #perl6
21:48 buu joined #perl6
21:48 Caelum joined #perl6
21:48 clkao joined #perl6
21:48 Juerd joined #perl6
21:48 jjore joined #perl6
21:48 Grrrr joined #perl6
21:48 jrockway joined #perl6
21:48 arguile joined #perl6
21:48 Maddingue joined #perl6
21:48 LCamel joined #perl6
21:48 IRSeekBot joined #perl6
21:48 nipotaway joined #perl6
21:48 Tene joined #perl6
21:48 speckbot joined #perl6
21:48 buubot joined #perl6
21:48 obra joined #perl6
21:48 mtve joined #perl6
21:49 Auzon perl6: class Foo {method a {1}}; class Bar is Foo {method a {2}}; my $o = Bar.new; $o.+a.perl.say;
21:49 p6eval kp6 r20830: OUTPUT[no method 'APPLY' in Class 'Bar'␤ at compiled/perl5-kp6-mp6/lib/Ki​ndaPerl6/Runtime/Perl5/MOP.pm line 345␤
21:49 p6eval ..pugs: OUTPUT[(2, 1)␤]
21:49 p6eval ..rakudo r28394: OUTPUT[Could not invoke method 'a' on invocant of type 'Bar'␤current instr.: 'die' pc 8844 (src/gen_builtins.pir:5754)␤
21:49 p6eval ..elf r20830: OUTPUT[Unknown rule: dotty:.+␤It needs to be added to ast_handlers.␤ at ./elf_f_faster line 2693␤]
21:50 Auzon perl6: class Foo {method a {1,3}}; class Bar is Foo {method a {2,3}}; my $o = Bar.new; $o.+a.perl.say;
21:50 p6eval kp6 r20830: OUTPUT[error in Block at compiled/perl5-kp6-mp6/lib​/KindaPerl6/Grammar/Sub.pm line 1051, <> line 1.␤*** Syntax Error in method 'Foo.' near pos=22␤]
21:50 p6eval ..pugs: OUTPUT[((2, 3), (1, 3))␤]
21:50 p6eval ..rakudo r28395: OUTPUT[Could not invoke method 'a' on invocant of type 'Bar'␤current instr.: 'die' pc 8844 (src/gen_builtins.pir:5754)␤
21:50 p6eval ..elf r20830: OUTPUT[Unknown rule: dotty:.+␤It needs to be added to ast_handlers.␤ at ./elf_f_faster line 2693␤]
21:50 pugs_svnbot r20831 | pmurias++ | added a --vertical mode to STD5_dump_match
21:50 pmurias TimToady: i added a --vertical mode to meet your request
21:50 TimToady cool
21:51 pmurias :)
21:57 s1n joined #perl6
21:57 japhb joined #perl6
21:57 rakudo_svn r28397 | pmichaud++ | [rakudo]:
21:57 rakudo_svn r28397 | pmichaud++ | * Add a .perl method to Code objects.
21:58 dolmen perl6: sub { }.perl
21:58 p6eval kp6 r20831: RESULT['{ ... }']
21:58 p6eval ..pugs: RESULT["sub :(\@_) \"\$_\" := \"Scalar\" #<Scalar:0xb71f4f0c>\n          \"\@_\" := \"Array\" #<Array:0xb71f4f04>\n          \"\&?ROUTINE\" := \"Sub\" #<Sub:0xb6604cec>\n          \"\&?BLOCK\" := \"Sub\" #<Sub:0xb6604cec> \{, , \"\$_\" := \"Scalar\" #<Scalar:0xb71d2d00>\n
21:58 p6eval ..                                \"\@_\" := \"Array\" #<...
21:58 p6eval ..rakudo r28396: OUTPUT[Statement not terminated properly at line 1, near ".perl"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
21:58 p6eval ..elf r20831: OUTPUT[Parse error in: /tmp/XLKl83IMU1␤panic at line 1 column 7 (pos 7): Statement not terminated properly␤WHERE: sub { }.perl␤WHERE:       /\<-- HERE␤  STD_red/prelude.rb:98:in `panic'␤  STD_red/std.rb:355:in `eat_terminator'␤  STD_red/std.rb:269:in `block in statementlist'␤
21:58 p6eval ..STD_red/prelude.rb:153:in `call'␤  STD_red/prelude.rb:153:in `starRUL...
21:59 dolmen rakudo: sub { 0 }.perl
21:59 p6eval rakudo r28396 OUTPUT[Statement not terminated properly at line 1, near ".perl"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
21:59 dolmen rakudo: say (sub { 0 }).perl
21:59 p6eval rakudo r28396 OUTPUT[Method 'perl' not found for invocant of class 'Closure'␤current instr.: '_block11' pc 38 (EVAL_12:20)␤
21:59 * dolmen is too fast...
21:59 dolmen rakudo: say (sub { 0 }).perl
21:59 p6eval rakudo r28396 OUTPUT[Method 'perl' not found for invocant of class 'Closure'␤current instr.: '_block11' pc 38 (EVAL_12:20)␤
22:01 FurnaceBoy joined #perl6
22:03 pugs_svnbot r20832 | pmurias++ | [elf] emphesized removing distastefull deviations more, added the ugly/horid newp to the list
22:04 pmichaud rakudo: say (sub { 0 }).perl
22:04 p6eval rakudo r28396 OUTPUT[Method 'perl' not found for invocant of class 'Closure'␤current instr.: '_block11' pc 38 (EVAL_12:20)␤
22:06 moritz_ rakudo: say (sub { 0 }).perl
22:06 p6eval rakudo r28397 OUTPUT[{ ... }␤]
22:14 dolmen perl6: say (3.WHAT).WHAT
22:14 p6eval kp6 r20832: OUTPUT[Int␤]
22:14 p6eval ..pugs: OUTPUT[Int␤]
22:14 p6eval ..rakudo r28397: OUTPUT[Int␤]
22:14 p6eval ..elf r20832: OUTPUT[Str␤]
22:14 dolmen perl6: say ((3.WHAT).WHAT)
22:14 p6eval kp6 r20832: OUTPUT[Int␤]
22:14 p6eval ..pugs: OUTPUT[Int␤]
22:14 p6eval ..rakudo r28397: OUTPUT[Int␤]
22:14 p6eval ..elf r20832: OUTPUT[Str␤]
22:18 dolmen perl6: my Num $a = 5;
22:18 p6eval kp6 r20832: RESULT[5]
22:18 p6eval ..pugs: RESULT[\5]
22:18 p6eval ..rakudo r28397: OUTPUT[Type check failed␤current instr.: 'parrot;Perl6Object;infix:=' pc 59 (src/gen_builtins.pir:51)␤
22:18 p6eval ..elf r20832: RESULT[5␤]
22:21 dolmen my $a; say $a;
22:21 dolmen perl6: my $a; say $a;
22:21 p6eval kp6 r20832: OUTPUT[␤]
22:21 p6eval ..pugs: OUTPUT[␤]
22:21 p6eval ..rakudo r28397: OUTPUT[␤]
22:21 p6eval ..elf r20832: OUTPUT[Can't call method "Str" on an undefined value at ./elf_f_faster line 636.␤ at ./elf_f_faster line 4549␤]
22:25 dolmen perl6: say undef.WHAT;
22:25 p6eval kp6 r20832: OUTPUT[DISPATCH: calling WHAT on invalid object:$VAR1 = undef;␤␤ at compiled/perl5-kp6-mp6/lib/Ki​ndaPerl6/Runtime/Perl5/MOP.pm line 128␤        main::DISPATCH('undef', 'WHAT') called at - line 11␤]
22:25 p6eval ..pugs: OUTPUT[Scalar␤]
22:25 p6eval ..rakudo r28397: OUTPUT[Failure␤]
22:25 p6eval ..elf r20832: OUTPUT[Undef␤]
22:26 dolmen Is it specified?
22:27 pmichaud S02: The C<undef> function merely returns the most
22:27 pmichaud generic C<Failure> object.
22:43 dolmen perl6: say (^3).perl;
22:43 p6eval kp6 r20832: OUTPUT[syntax error at position 4, line 1 column 4:␤say (^3).perl␤    ^ HERE␤]
22:43 p6eval ..pugs: OUTPUT[(0.0, 1.0, 2.0)␤]
22:43 p6eval ..rakudo r28397: OUTPUT[0..2␤]
22:43 p6eval ..elf r20832: OUTPUT[syntax error at (eval 14) line 3, near "(^"␤ at ./elf_f_faster line 4549␤]
22:43 dolmen perl6: say (3^).perl;
22:43 p6eval kp6 r20832: OUTPUT[syntax error at position 4, line 1 column 4:␤say (3^).perl␤    ^ HERE␤]
22:43 p6eval ..pugs: OUTPUT[*** ␤    Unexpected "."␤    at /tmp/gB3soUTiyE line 1, column 9␤]
22:43 p6eval ..rakudo r28397: OUTPUT[Statement not terminated properly at line 1, near "^).perl;"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
22:43 p6eval ..elf r20832: OUTPUT[Use of uninitialized value in concatenation (.) or string at ./elf_f_faster line 4186.␤syntax error at (eval 14) line 3, near "^ )"␤ at ./elf_f_faster line 4549␤]
22:43 dolmen perl6: say (-3^).perl;
22:44 p6eval kp6 r20832: OUTPUT[syntax error at position 4, line 1 column 4:␤say (-3^).perl␤    ^ HERE␤]
22:44 p6eval ..pugs: OUTPUT[*** ␤    Unexpected "."␤    at /tmp/YD1gZn6aJy line 1, column 10␤]
22:44 p6eval ..rakudo r28397: OUTPUT[Statement not terminated properly at line 1, near "^).perl;"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
22:44 p6eval ..elf r20832: OUTPUT[Use of uninitialized value in concatenation (.) or string at ./elf_f_faster line 4186.␤syntax error at (eval 14) line 3, near "^ )"␤ at ./elf_f_faster line 4549␤]
22:44 dolmen this is inconsistent
22:45 dolmen say Int.HOW;
22:46 dolmen perl6: say Int.HOW;
22:46 p6eval kp6 r20832: OUTPUT[Int␤]
22:46 p6eval ..pugs: OUTPUT[<obj:Class>␤]
22:46 p6eval ..rakudo r28398: OUTPUT[get_string() not implemented in class 'P6metaclass'␤current instr.: 'print' pc 9470 (src/gen_builtins.pir:6234)␤
22:46 p6eval ..elf r20832: OUTPUT[Can't locate object method "HOW" via package "Int" at (eval 14) line 3.␤ at ./elf_f_faster line 4549␤]
22:46 dolmen perl6: say Int.HOW.WHAT;
22:46 p6eval kp6 r20832: OUTPUT[Class␤]
22:46 p6eval ..pugs: OUTPUT[Class␤]
22:46 p6eval ..rakudo r28398: OUTPUT[Int␤]
22:46 p6eval ..elf r20832: OUTPUT[Can't locate object method "HOW" via package "Int" at (eval 14) line 3.␤ at ./elf_f_faster line 4549␤]
22:48 jferrero joined #perl6
22:59 dolmen pmichaud, parrot crashes when you declare the same class 3 times in interactive mode
22:59 dolmen class Foo;
22:59 dolmen class Foo;
22:59 dolmen class Foo;
23:05 pbuetow class Bar;
23:17 sri_work joined #perl6
23:22 dolmen perl -e 'print "class Foo;\n" x 3;' | ../../parrot perl6.pbc
23:22 s1n dolmen: yup: src/packfile.c:3654
23:22 dolmen [oops; continuation 0xc99dd0 of type 21 is trying to jump from runloop 517 to runloop 96]
23:22 dolmen Class 'Foo' already registered!
23:22 dolmen Erreur de segmentation
23:29 alester joined #perl6
23:30 pmichaud dolmen: yes, we can't redeclare an existing class.
23:30 pmichaud (and we haven't implemented 'is also' yet)
23:30 cognominal joined #perl6
23:31 pmichaud anyway, I tend to leave class/role/method issues for jonathan++ to handle.  :-)
23:31 dolmen pmichaud, but this crashes Parrot
23:32 pmichaud then I leave those to chromatic++  :-)
23:32 dolmen ok
23:33 stef_ joined #perl6
23:34 cognominal joined #perl6
23:37 dolmen where can I get the source of the rakudo_svn bot?
23:50 bacek_ joined #perl6

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

Perl 6 | Reference Documentation | Rakudo