Camelia, the Perl 6 bug

IRC log for #parrot, 2008-06-22

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:00 pmichaud I'm thinking that one can use the C<index> op and a second hash to make it reasonably efficient
00:00 cjfields Yes, exactly what I'm thinking
00:00 purl Oooh he is soooo fine!!!
00:00 pmichaud anyway, time to see a movie here.  :-)
00:01 pmichaud bbl.
00:01 cjfields cheers!  will work on that last bit and get a new patch up.
00:01 pmichaud okay, great!
00:10 AndyA joined #parrot
00:13 grim_fandango joined #parrot
00:32 cjfields joined #parrot
00:39 apeiron diakopter++ # just successfully submitted a smoke for 0.6.3 on FreeBSD
00:43 apeiron Unless someone has a better idea of how to handle this, I'm going to open a todo ticket wrt fixing the smoke server to accept smokes from releases cut from svn.
00:48 anr joined #parrot
00:54 apeiron diakopter, pmichaud, http://rt.perl.org/rt3/Tic​ket/Display.html?id=56206 is the relevant bug for enabling the smoke server to accept smokes from releases cut from svn.
00:57 TiMBuS joined #parrot
01:17 teknomunk joined #parrot
01:30 spinclad perl6: sub my ($a,$b) { say $a+$b }; my $a=40; my $b=2; my($a,$b);
01:30 polyglotbot OUTPUT[42␤]
01:31 spinclad perl6: sub my ($a,$b) { say $a+$b }; my $a=40; my $b=2; my ($a,$b);
01:31 polyglotbot OUTPUT[too few arguments passed (1) - 2 params expected␤current instr.: 'my' pc 100 (EVAL_12:40)␤called from Sub '_block11' pc 94 (EVAL_12:34)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088
01:31 polyglotbot ..(src/PCT/HLLCompiler.pir:598)␤called from Sub 'parrot;PCT::H...
01:39 dalek r28618 | allison++ | pdd25cx:
01:39 dalek : [pdd25cx] Bringing the pdd25cx branch up-to-date with trunk r28617.
01:39 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28618
01:40 teknomunk_ joined #parrot
01:45 TimToady jfkdjkf[5~[5~[6~[6~[6~
01:46 diakopter wow
01:47 diakopter TimToady: sorry; Pugs 6.2.13.2 ate my VPS
01:47 dalek r28619 | jkeenan++ | trunk:
01:47 dalek : Assign src/ops/ops.num and src/ops/ops.skip to attributes in the constructor
01:47 dalek : rather than package-scoped lexical variables.  This is necessary for
01:47 TimToady noticed that...
01:47 dalek : refactoring out renum_op_map_file().
01:47 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28619
01:48 kid51 joined #parrot
01:51 dalek r28620 | jkeenan++ | opsrenum:
01:51 dalek : (Same as in trunk.)  Assign src/ops/ops.num and src/ops/ops.skip to attributes
01:51 dalek : in the constructor rather than package-scoped lexical variables.  This is
01:51 dalek : necessary for refactoring out renum_op_map_file().
01:51 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28620
02:01 Zaba_ joined #parrot
02:19 bacek msg pmichaud #56208 trivial implementation of sprintf.
02:19 bacek yak...
02:20 bacek purl always died on my attempt to save message for pmichaud...
02:20 bacek who owns this bot?
02:22 kid51 purl is not on channel now, so that's why your message failed.
02:23 diakopter kid51: it was when he tried the message
02:23 kid51 Oh, yes, I see.
02:24 kid51 naughty purl
02:25 * bacek wanders why parrot's sprintf handles '%p'...
02:52 dalek r28621 | jkeenan++ | opsrenum:
02:52 dalek : 1.  Rename lib/Parrot/Ops2pm/Utils.pm to lib/Parrot/Ops2pm.pm.  Change in tools/build/ops2pm.pl, MANIFEST, test files and wherever else mentioned.
02:52 dalek : 2.  Pull the constructor out of lib/Parrot/Ops2pm/Utils.pm to a separate class: Parrot::Ops2pm::Base.
02:52 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28621
03:03 dalek r28622 | allison++ | pdd25cx:
03:03 dalek : [pdd25cx] Fix up merged in exceptions with old names.
03:03 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28622
03:04 dalek r28623 | jkeenan++ | opsrenum:
03:04 dalek : Pull renum_op_map_file() out of lib/Parrot/Ops2pm.pm to a separate class:
03:04 dalek : Parrot::OpsRenumber.  Its constructor is inherited from Parrot::Ops2pm::Base.
03:04 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28623
03:14 cjfields joined #parrot
03:22 dalek r28624 | jkeenan++ | opsrenum:
03:22 dalek : prepare_ops() had to be moved to Parrot::Ops2pm::Base, because it needs to be
03:22 dalek : available for calling prior to renum_op_map_file() in any program calling that
03:22 dalek : method (such as the new tools/dev/opsrenumber.pl).
03:22 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28624
03:24 dalek r28625 | jkeenan++ | opsrenum:
03:24 dalek : Rename directory t/tools/ops2pmutils/ to t/tools/ops2pm/.
03:24 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28625
03:26 dalek r28626 | jkeenan++ | opsrenum:
03:26 dalek : Update test directory name where mentioned within test files.  Update MANIFEST.
03:26 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28626
03:51 cjfields left #parrot
04:17 Andy joined #parrot
04:22 tetragon joined #parrot
04:33 pjcj joined #parrot
04:35 tetragon joined #parrot
04:51 dalek r28627 | pmichaud++ | trunk:
04:51 dalek : [rakudo]:
04:51 dalek : * Add a version of 'sprintf' (RT#56208, bacek++)
04:51 dalek : * Patch courtesy Vasily Chekalkin <bacek  at bacek.com>
04:51 dalek : * Modifications to use export instead of duplicating sub
04:51 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28627
04:53 bacek pmichaud, Maybe all other Str methods should be changed to 'export' version?
04:53 pmichaud many of them should, yes.
04:53 pmichaud I'd also like them to be in alphabetical order.
04:54 pmichaud and to use new 'Str' isntead of new 'Perl6Str'
04:54 pmichaud (actually, I'd like them to just return a string register, and let .HLL take care of it... but we're not there yet.)
04:55 bacek :)
04:55 bacek btw, we need ListIterator. Because lazy list is not just RPA.
04:55 pmichaud but a lazy list can still serve as its own iterator
04:57 bacek but shift_pmc for List and iterator behave differently
04:57 pmichaud why?
04:58 pmichaud or how?
04:58 bacek perl6: my @a=<1,2,3>; shift @a; say ~@a;
04:58 polyglotbot OUTPUT[␤]
04:58 bacek perl6: my @a=(1,2,3); shift @a; say ~@a;
04:58 polyglotbot OUTPUT[2 3␤]
04:59 bacek left #parrot
04:59 bacek joined #parrot
04:59 bacek yak. wrong button.
04:59 bacek Is 'shift @a' really just 'shift_pmc'?
04:59 pmichaud at the bottom, yes.
05:00 pmichaud it's really shift(@a) which is a method defined on RPA.
05:00 pmichaud oh, hrm.
05:00 bacek but shifting from iterator does not change list.
05:00 pmichaud so, to get an iterator from a List we just create a clone of the List and return that.
05:00 bacek So, we either clone list in 'iterator()' or provide ListIterator
05:01 bacek pmichaud, you faster them me :)
05:02 bacek but clone should be deep...
05:03 pmichaud well, the iterator needs to take a snapshot of the List (or Array) at the time the iterator is created
05:03 pmichaud we don't want later modifications to the List causing the iterator to change
05:03 pmichaud otoh, we do need to worry about is rw
05:04 pmichaud anyway, I think it can be done by creating a List
05:04 pmichaud w/o having to have a special ListIterator
05:05 bacek probably.
05:06 bacek Ok, afk for a while. Time to spend time with kids.
05:06 bacek pmichaud, thanks for help.
05:06 diakopter bacek++
05:08 Psyche^ joined #parrot
05:25 dalek r28628 | chromatic++ | trunk:
05:25 dalek : [IMCC] Plugged another IMCC memory leak.  Previously, all PASM-style registers
05:25 dalek : (not symbolic registers) leaked their names.
05:25 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28628
05:25 dalek r28629 | pmichaud++ | trunk:
05:25 dalek : [rakudo]:
05:25 dalek : * Update docs/spectest-progress.csv for 2008-06-22
05:25 dalek : * 66 test files, 843 passing tests
05:25 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28629
05:26 dalek r28630 | pmichaud++ | trunk:
05:26 dalek : [rakudo]:
05:26 dalek : * Add S03-operators/context.t to spectest_regression.data (Auzon++)
05:26 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28630
05:40 Eevee joined #parrot
06:01 Zaba joined #parrot
07:19 dalek r28631 | fperrad++ | libs4php:
07:19 dalek : [php] add a status 'NOT IMPLEMENTED'
07:19 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28631
07:20 purl joined #parrot
07:22 Zaba joined #parrot
07:50 dalek r28632 | fperrad++ | libs4php:
07:50 dalek : [php] fix md5_file
07:50 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28632
08:31 bacek perl6: say pi
08:31 polyglotbot OUTPUT[3.14159␤]
08:32 bacek perl6: say 2 * pi
08:32 polyglotbot OUTPUT[6.28319␤]
08:33 bacek perl6: for 1..2 { say 2 * pi/ $_ }
08:33 polyglotbot OUTPUT[6.28319␤3.14159␤]
08:34 bacek perl6: for 1..2 { my $arg = 2 * pi/ $_; say $arg }
08:34 polyglotbot OUTPUT[6.28319␤3.14159␤]
08:34 bacek perl6: { for 1..2 { my $arg = 2 * pi/ $_; s } }
08:34 polyglotbot OUTPUT[Could not find non-existent sub s␤current instr.: '_block28' pc 208 (EVAL_14:85)␤called from Sub '_block16' pc 115 (EVAL_14:52)␤called from Sub '_block11' pc 30 (EVAL_14:17)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub
08:34 polyglotbot ..'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.p...
08:34 bacek perl6: { for 1..2 { my $arg = 2 * pi/ $_; } }
08:34 polyglotbot RESULT[3..2]
08:35 bacek perl6: { for 1..2 { my $arg = 2 * pi/ $_; say exp($arg); } }
08:35 polyglotbot OUTPUT[535.492␤23.1407␤]
08:35 bacek perl6: { for 1..2 { my $arg = 2.0 * pi/ $_; say exp($arg); } }
08:35 polyglotbot OUTPUT[535.492␤23.1407␤]
08:36 bacek perl6: { for 1..2 { my $arg = 2.0 * pi / $_; say exp(1i * $arg); say } }
08:36 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "say exp(1i"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub
08:36 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 19622 (src/gen_grammar.pir:2450)␤called fr...
08:36 bacek perl6: for 1..2 { my $arg = 2.0 * pi / $_; say exp(1i * $arg); say }
08:36 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "say exp(1i"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub
08:36 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 19622 (src/gen_grammar.pir:2450)␤called fr...
08:36 bacek perl6: say 1i;
08:36 polyglotbot OUTPUT[0+1i␤]
08:37 bacek perl6: my $arg=2.0; say 1i * $arg;
08:37 polyglotbot OUTPUT[0+2i␤]
08:37 bacek perl6: my $arg=2.0; say exp(1i * $arg);
08:37 polyglotbot OUTPUT[7.38906␤]
08:37 bacek perl6: for 1..2 { my $arg = 2.0 * pi / $_; say exp(1i * $arg); say 'foo'}
08:37 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "say exp(1i"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub
08:37 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 19622 (src/gen_grammar.pir:2450)␤called fr...
08:38 bacek perl6: for 1..2 { my $arg = 2.0 * pi; say exp(1i * $arg); say 'foo'}
08:38 polyglotbot OUTPUT[535.492␤foo␤535.492␤foo␤]
08:38 bacek perl6: for 1..2 { my $arg = 2.0 * pi /($_); say exp(1i * $arg); say 'foo'}
08:38 polyglotbot OUTPUT[535.492␤foo␤535.492␤foo␤]
08:39 bacek bug in parser...
08:40 spinclad perl6.parse: for 1..2 { my $arg = 2.0 * pi / $_; say exp(1i * $arg); }
08:40 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (19 lines) at http://nopaste.snit.ch/13341
08:41 spinclad perl6.parse: for 1..2 { my $arg = 2.0 * pi / $_; say exp(1 * $arg); }
08:41 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (19 lines) at http://nopaste.snit.ch/13342
08:41 spinclad perl6.parse: for 1..2 { my $arg = 2.0 * pi / $_; say exp($arg); }
08:41 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (19 lines) at http://nopaste.snit.ch/13343
08:42 spinclad perl6.parse: for 1..2 { my $arg = 2.0 / $_; say exp($arg); }
08:42 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (194 lines) at http://nopaste.snit.ch/13344
08:42 spinclad perl6.parse: for 1..2 { my $arg = pi / $_; say exp($arg); }
08:42 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (19 lines) at http://nopaste.snit.ch/13345
08:43 spinclad perl6.parse: for 1..2 { my $arg = pi / $^a; say exp($arg); }
08:43 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (19 lines) at http://nopaste.snit.ch/13346
08:43 spinclad perl6.parse: for 1..2 { my $arg = pi / $_; }
08:43 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (181 lines) at http://nopaste.snit.ch/13347
08:44 spinclad perl6.parse: for 1..2 { my $arg = pi / $_; say exp(0); }
08:44 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (19 lines) at http://nopaste.snit.ch/13348
08:44 spinclad perl6.parse: if 0 { my $arg = pi / $_; say exp(0); }
08:44 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (18 lines) at http://nopaste.snit.ch/13349
08:45 spinclad perl6.parse: if 0 { my $arg = pi / $_; say "HAI"; }
08:45 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (18 lines) at http://nopaste.snit.ch/13350
08:45 spinclad my $arg = pi / $_; say "HAI";
08:46 spinclad perl6.parse: my $arg = pi / $_; say "HAI";
08:46 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (12 lines) at http://nopaste.snit.ch/13351
08:46 spinclad perl6.parse: my $arg = pi / 2; say "HAI";
08:46 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (12 lines) at http://nopaste.snit.ch/13352
08:47 spinclad dies in eat_terminator
08:47 spinclad perl6.parse: pi / 2; say "HAI";
08:47 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (12 lines) at http://nopaste.snit.ch/13353
08:47 spinclad perl6.parse: pi; say "HAI";
08:47 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (64 lines) at http://nopaste.snit.ch/13354
08:48 spinclad perl6.parse: pi / 2 /; say "HAI";
08:48 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (119 lines) at http://nopaste.snit.ch/13355
08:49 spinclad sees pi as a listop
08:50 spinclad instead of nullary
08:52 spinclad (though only with a space after)
08:53 spinclad perl6: pi / 2 ;
08:53 polyglotbot RESULT[3.14159]
08:53 spinclad perl6: pi / 2;
08:53 polyglotbot RESULT[3.14159]
08:53 spinclad perl6: pi / 2; 1;
08:53 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "1;"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub 'parrot;Perl6::Grammar;statementlist' pc
08:53 polyglotbot ..19622 (src/gen_grammar.pir:2450)␤called from Sub '...
08:54 iblechbot joined #parrot
08:54 spinclad perl6: pi / 2; ;
08:54 polyglotbot RESULT[3.14159]
08:55 spinclad perl6.paste: pi / 2; ;
08:55 spinclad perl6.parse: pi / 2; ;
08:55 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (79 lines) at http://nopaste.snit.ch/13356
08:55 spinclad perl6.parse: pi / 2; 1;
08:56 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (12 lines) at http://nopaste.snit.ch/13357
08:58 Ademan joined #parrot
09:01 Zaba joined #parrot
09:02 spinclad multiply weird.  (1) Look at http://nopaste.snit.ch/13356: parses as 'pi(/ 2;)', where  "/ 2;" is a quote_expression containing " 2".  (2) So then how does that eval to 3.14159?
09:03 spinclad perl6.past: pi / 2; ;
09:03 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 past paste" (85 lines) at http://nopaste.snit.ch/13358
09:07 spinclad perl6.pir: pi / 2; ;
09:07 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 pir paste" (77 lines) at http://nopaste.snit.ch/13359
09:08 Zaba perl6.pir: pi
09:08 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 pir paste" (18 lines) at http://nopaste.snit.ch/13360
09:09 spinclad (1) where "/ 2;" is a quote_expression containing something quite weird again.
09:10 Zaba is pi a sub?
09:11 spinclad perl6: pi(2)
09:11 polyglotbot RESULT[3.14159]
09:11 spinclad yes, and i think should be nullary (no args)
09:11 Zaba it seems like it takes an arg and ignores it
09:12 Zaba so the result is always 3.14159..
09:12 spinclad ah, yes.  thanks
09:12 spinclad that answers my (2)
09:12 spinclad above
09:13 slightlyoff joined #parrot
09:14 spinclad and "/ 2;" seems to be a Match, though oddly terminated (which is where it parsefails when it does, as in "/ 2; 1;")
09:15 slightlyoff left #parrot
09:15 spinclad perl6: / 2;
09:15 polyglotbot RESULT[{ ... }]
09:15 spinclad perl6: / 2; ;
09:15 polyglotbot RESULT[{ ... }]
09:15 spinclad perl6: / 2; 1;
09:15 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "1;"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub 'parrot;Perl6::Grammar;statementlist' pc
09:15 polyglotbot ..19622 (src/gen_grammar.pir:2450)␤called from Sub '...
09:15 Zaba perl6: pi() / 2
09:15 polyglotbot RESULT[1.5708]
09:16 Zaba perl6: pi / 2
09:16 polyglotbot OUTPUT[Syntax error at line 1, near "pi / 2"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;TOP' pc 13865 (src/gen_grammar.pir:267)␤called from Sub 'parrot;PCT::HLLCompiler;parse' pc 585
09:16 polyglotbot ..(src/PCT/HLLCompiler.pir:359)␤called from Sub 'parrot;PCT::HLLCompiler;compile' p...
09:16 spinclad perl6: pi/2
09:16 polyglotbot RESULT[1.5708]
09:16 spinclad there, without a space, it's not a listop
09:16 Zaba heh.
09:17 spinclad so called as pi()
09:17 Zaba Meaningful whitespace sucks =/
09:18 spinclad okay, so the multiple weirds have untangled into two separate weirds.  i feel a bit better.
09:18 Zaba is there a way to tell the parser that pi takes no parameters?
09:19 spinclad sub pi () { ... }
09:19 spinclad perl6 sub pi () { 3.14159; }; say pi / 2;
09:19 spinclad perl6: sub pi () { 3.14159; }; say pi / 2;
09:19 polyglotbot OUTPUT[3.14159␤]
09:20 spinclad perl6: sub pi () { 3.14159; }; say pi / 2; 1;
09:20 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "1;"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub 'parrot;Perl6::Grammar;statementlist' pc
09:20 polyglotbot ..19622 (src/gen_grammar.pir:2450)␤called from Sub '...
09:20 Zaba perl6: sub pi { 3.14159 / shift; }; say pi / 2;
09:20 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "/ shift; }"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub
09:20 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 19622 (src/gen_grammar.pir:2450)␤called fr...
09:20 spinclad perl6: sub Pi () { 3.14159; }; say Pi / 2; 1;
09:20 polyglotbot OUTPUT[get_number() not implemented in class 'Closure'␤current instr.: 'infix:/' pc 11129 (src/gen_builtins.pir:7439)␤called from Sub '_block11' pc 44 (EVAL_10:21)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles'
09:20 polyglotbot ..pc 1088 (src/PCT/HLLCompiler.pir:598)␤called fr...
09:21 Zaba perl6: sub _pi () { 3.14159; }; say pi / 2;
09:21 polyglotbot OUTPUT[3.14159␤]
09:21 spinclad perl6: sub Pi () { 3.14159; }; say Pi() / 2; 1;
09:21 polyglotbot OUTPUT[1.57079␤]
09:21 Zaba er
09:21 Zaba perl6: sub _pi () { 3.14159; }; say _pi / 2;
09:21 polyglotbot OUTPUT[3.14159␤]
09:21 Zaba perl6: sub _pi () { 3.14159; }; say (_pi / 2);
09:21 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "(_pi / 2);"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub
09:21 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 19622 (src/gen_grammar.pir:2450)␤called fr...
09:21 spinclad wow.  still listoping there.
09:23 spinclad anyway, late for me.  to bed now.  &
09:23 masak joined #parrot
09:59 Zaba joined #parrot
10:04 barney joined #parrot
10:28 dalek r28633 | bernhard++ | trunk:
10:28 dalek : [m4]
10:28 dalek : Add special Makefile target 'test-gnu-m4',
10:28 dalek : in  order to not depend on config entry 'has_gnu_m4'.
10:28 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28633
10:33 iblechbot joined #parrot
11:57 TiMBuS joined #parrot
12:28 Zaba joined #parrot
12:39 dalek r28634 | pmichaud++ | trunk:
12:39 dalek : [rakudo]:
12:39 dalek : * Refactor $_ handling slightly in given/when .
12:39 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28634
12:51 dalek r28635 | pmichaud++ | trunk:
12:51 dalek : [rakudo]:
12:52 dalek : * STD.pm tracking: refactor <subcall> into <term>
12:52 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28635
13:33 dalek r28636 | pmichaud++ | trunk:
13:33 dalek : [rakudo]:
13:33 dalek : * Remove some inlined PIR.
13:33 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28636
13:37 kid51 joined #parrot
13:55 pmichaud jonathan: ping
13:59 dalek r28637 | jkeenan++ | opsrenum:
13:59 dalek : Update/simplify file name.
13:59 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28637
14:01 dalek r28638 | jkeenan++ | opsrenum:
14:01 dalek : Change reference to file's name within file.  Update MANIFEST.
14:01 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28638
14:21 dalek r28639 | fperrad++ | libs4php:
14:21 dalek : [php] is_scalar
14:21 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28639
14:22 dalek r28640 | fperrad++ | libs4php:
14:22 dalek : [php] some info
14:22 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28640
14:33 dalek r28641 | jkeenan++ | opsrenum:
14:33 dalek : Update POD and do some typographical reformatting.
14:33 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28641
14:33 jonathan pmichaud: pong
14:34 pmichaud I'm fixing up parsing and having trouble with infix:does
14:34 pmichaud because  Answer(42)   no longer parses as a subcall if we follow STD.pm
14:35 jonathan OK, what does it parse as?
14:35 pmichaud a typename followed by postcircumfix:()
14:35 jonathan OK, but does that not actually produce a PAST Op node that does a call?
14:36 jonathan The check is
14:36 jonathan if $rhs.WHAT() eq 'Op' && $rhs.pasttype() eq 'call' {
14:37 jonathan Which is on what type of PAST node that RHS subtree products.
14:37 pmichaud when I did the grammar change it was leaving a match object
14:37 jonathan erm, produces
14:37 pmichaud oh.
14:37 jonathan OK, but that code does my $rhs := $( $/[1] );
14:37 pmichaud it produces a call, yes, but the type is not $<name>
14:37 pmichaud er,   .name()
14:38 jonathan OK, so we end up with child 0 of the $rhs being the PAST that we get from a typename?
14:39 Limbic_Region joined #parrot
14:39 pmichaud yes.  but I think I see where this is going now.
14:39 jonathan OK.
14:40 pmichaud does infix:<does> always act macro-ish?
14:40 jonathan S12 just says that it looks like a sub call, but in fact is not. It's just syntactic sugar.
14:40 jonathan So I guess that means, yes, it's macro-ish.
14:41 pmichaud I'm wondering if the syntactic sugar is on the 'does' or on the typename, though.
14:41 jonathan Well, in fact, it's only macro-ish if we have Rolename($x)
14:41 jonathan If it's just does Rolename, we can leave it as it is.
14:41 pmichaud yes, that bugs me a bit.
14:41 jonathan The grammar just says does is an infix operator, which doesn't constrain what the RHS would be.
14:42 jonathan I'm not sure you can do anything with typename itself though.
14:43 pmichaud anyway, I think I can get it from there.  Thanks!
14:43 jonathan OK, sounds good. :-)
14:45 pmichaud heh.  it turns out to be easier, since the typename will end up already being a PAST::Var :-)
14:46 jonathan I was pondering that this is what you'd get if I was write, that you got it as the 0th child in the PAST. :-)
14:46 jonathan erm
14:46 jonathan if I was right
14:46 pmichaud yes -- I just hadn't made the connection to the 'name' attribute of PAST::Op yet.
14:46 jonathan Running a temperature and generally feeling ill. :-(
14:47 pmichaud ick, sorry to hear that.  take it easy today :-)
14:47 jonathan Well, I spent most of the day so far in bed, and other than that just been reading.
14:48 jonathan Fancied a walk, but already running a temperature + hot weather (OK, not by the standards of where you are ;-) don't feel like the best combination.
14:49 jonathan Oh, nice patch to get rid of that inline PIR in Typename.
14:49 pmichaud thanks.  Since we now have 'clone' on RPA, it worked out okay. :-)
14:49 jonathan I stared at that the other day and had to read it twice to see what it was doing.
14:52 jan joined #parrot
14:57 Zaba joined #parrot
15:00 dalek r28642 | fperrad++ | libs4php:
15:00 dalek : [php] strcmp
15:00 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28642
15:22 dalek r28643 | pmichaud++ | trunk:
15:22 dalek : [pge]:
15:22 dalek : * Add .chars method to Match objects (from S05).
15:22 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28643
15:29 LimbicRegion joined #parrot
15:30 LimbicRegion w
15:31 LimbicRegion hrm, that's odd
15:31 LimbicRegion how long has Limbic_Region been in the channel?
15:31 LimbicRegion since that's me and I just joined
15:32 LimbicRegion magnet has no ghosting service that I know of
15:32 LimbicRegion I will just wait
15:58 cognominal pmichaud: wrong regex like token   cut { ^^ =cut }   dont give a syntax error but trigger an imcc error
15:59 cognominal should I file a bug?
15:59 pmichaud cognominal: yes.
15:59 cognominal ok
16:05 dalek r28644 | jonathan++ | trunk:
16:05 dalek : [core] :instanceof(...) now creates subs as an instance of the appropriate type. This will not work for high level class types yet, but should do for PMC types.
16:05 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28644
16:05 jonathan The best thing to do when sick, is hack on IMCC...'cus it's going to make you sick if you ain't already.
16:06 pmichaud :-P
16:06 cognominal pmichaud, filed as #56224]
16:07 pmichaud cognominal++
16:07 cognominal I got the easy part fo the deal :)
16:12 * moritz wrote a script to automatically unfudge passing tests
16:12 pmichaud excellent!
16:12 * purl plays air guitar
16:17 Zaba joined #parrot
16:19 dalek r28645 | jkeenan++ | opsrenum:
16:19 dalek : Adjust POD.
16:19 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28645
16:23 Limbic_Region joined #parrot
16:23 kid51 joined #parrot
16:23 Ademan joined #parrot
16:23 purl joined #parrot
16:23 Eevee joined #parrot
16:23 bacek joined #parrot
16:23 vhold joined #parrot
16:23 ruoso joined #parrot
16:23 gmansi joined #parrot
16:23 Khisanth joined #parrot
16:23 zarchne joined #parrot
16:23 jjuran joined #parrot
16:23 japhb joined #parrot
16:23 cotto_home joined #parrot
16:23 Auzon joined #parrot
16:23 TonyC joined #parrot
16:23 nopaste joined #parrot
16:23 cout joined #parrot
16:23 jjore joined #parrot
16:23 confound joined #parrot
16:23 cxreg joined #parrot
16:23 Maghnus joined #parrot
16:23 _shane joined #parrot
16:23 rblackwe joined #parrot
16:23 apeiron joined #parrot
16:23 rjbs joined #parrot
16:23 hachi joined #parrot
16:23 Infinoid joined #parrot
16:23 rhr joined #parrot
16:23 obra joined #parrot
16:23 silug joined #parrot
16:23 TimToady joined #parrot
16:23 avar joined #parrot
16:23 bobwhoops joined #parrot
16:23 Piper joined #parrot
16:23 ewilhelm joined #parrot
16:23 spinclad joined #parrot
16:23 zostay joined #parrot
16:23 diakopter joined #parrot
16:25 dalek r28646 | jkeenan++ | opsrenum:
16:25 dalek : Delete unnecessary 'use' imports.
16:25 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28646
16:29 workbench joined #parrot
16:30 dngor joined #parrot
16:35 Ademan joined #parrot
16:35 Khisanth joined #parrot
16:35 cotto_home joined #parrot
16:35 TonyC joined #parrot
16:35 cxreg joined #parrot
16:35 Maghnus joined #parrot
16:35 hachi joined #parrot
16:35 Piper joined #parrot
16:35 ewilhelm joined #parrot
16:35 Piper joined #parrot
16:35 Piper Hi there.  I am Piper.  I am now publicly logging this channel.  If you don't want to be logged, please leave now.
16:36 diakopter Piper: thanks
16:36 diakopter Piper: as an alternative to leaving, I could also just be silent.
16:37 dalek r28647 | jkeenan++ | opsrenum:
16:37 dalek : Add target 'renumberops' to root.in.  Update ops.num based on running 'make
16:37 dalek : renumberops'.
16:37 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28647
16:48 apeiron I guess I probably shouldn't talk about my plans of world domination via parrot, eh?
16:48 pmichaud why not?  that way historians will have a record of the early days of the revolution.  :-)
16:49 dalek r28648 | jkeenan++ | opsrenum:
16:49 dalek : Remove tools/dev/ops_renum.mak.  It is being replaced by
16:49 dalek : tools/dev/opsrenumber.pl and 'make' target 'renumberops'.
16:49 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28648
16:50 * apeiron goes back to trying to figure out why smoking is failing on OpenBSd.
16:50 apeiron The odd thing is that 'make test' completes successfully, but 'make smoke' gives an error in one of the test modules.
16:55 dngor joined #parrot
17:08 dalek r28649 | pmichaud++ | trunk:
17:08 dalek : [rakudo]:
17:08 dalek : * Remove roots.t from spectest_regression, since we
17:08 dalek :   don't implement 'roots' yet.  (RT#56226)
17:08 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28649
17:14 dalek r28650 | jkeenan++ | trunk:
17:14 dalek : Correct misspelling in filename.
17:14 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28650
17:25 nopaste joined #parrot
17:40 dalek r28651 | pmichaud++ | trunk:
17:40 dalek : [rakudo]:
17:40 dalek : * STD.pm tracking: move typename parsing into <term>
17:40 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28651
18:00 Tene joined #parrot
18:08 mire joined #parrot
18:24 jonathan pmichaud: r28651 - this admits does RoleName(), which I'm not sure is allowed/meaningful.
18:24 pmichaud I'm not sure it's allowed/meaningful either.
18:25 pmichaud STD.pm allows it as a parse, though.
18:25 pmichaud we can change it to require exactly one param for now.
18:26 jonathan Yeah, agree.
18:39 Zaba perl6: pi / 2;
18:39 polyglotbot RESULT[3.14159]
18:40 Zaba perl6: pi() / 2;
18:40 polyglotbot RESULT[1.5708]
18:40 pmichaud (working on pi right now.)
18:40 * Zaba just had to check whether it still is the same after he's been absent
18:40 pmichaud we'll see how it goes.. just starting the compile.  It's a somewhat substantial refactor :-)
18:41 Zaba I still wonder what / 2 ; is in this case
18:41 pmichaud I suspect there's a but in the regex parsing.
18:41 pmichaud s/but/bug/
18:41 pmichaud so that it's simply treating the entire thing as a regex.
18:42 Zaba perl6: "23" ~~ /2;
18:42 polyglotbot RESULT[{}]
18:42 Zaba perl6: "23" ~~ m/2;
18:42 polyglotbot OUTPUT[Could not find non-existent sub m␤current instr.: '_block11' pc 27 (EVAL_10:17)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub
18:42 polyglotbot ..'parrot;PCT::HLLCompiler;command_line' pc 1267 (src/PCT/HLLCompiler.pi...
18:42 Tene perl6.parse: pi / 2;
18:42 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 parse paste" (79 lines) at http://nopaste.snit.ch/13361
18:42 Tene perl6.past: pi / 2;
18:42 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 past paste" (85 lines) at http://nopaste.snit.ch/13362
18:42 Tene check those.
18:42 pmichaud yes, looks like a bug in the regex rule.
18:43 moritz uhm, --target=parse doesn't work in my rakudo
18:43 pmichaud perhaps file a ticket?
18:44 pmichaud (but don't use 'pi', because I'm about to fix that one.)
18:44 pmichaud (pick any other listop... such as 'say' or 'print')
18:44 moritz oh, it works for files, not for -e though
18:44 moritz just noticed
18:45 pmichaud I thought I had it fixed for -e
18:45 Zaba pmichaud, does it require fixing the functions, and is / <regex> ; valid to define a regex then?
18:45 * Zaba is confused a bit
18:45 pmichaud getting 'pi' to work means fixing the grammar
18:46 pmichaud because currently it treats 'pi' like any other listop.
18:46 Zaba I see
18:46 pmichaud regex /   is valid.  Currently the grammar seems to not be looking for the close delimiter (and accepting it)
18:46 pmichaud er
18:46 pmichaud / regex /
18:46 pmichaud (lost my leading slash in irc)
18:46 Zaba I see.
18:46 pmichaud but  / regex ;    would not be valid, because there's no closing delim.
18:47 Zaba but currently is just silently accepts it?
18:47 pmichaud apparently.
18:49 moritz is there a way to get the name of the calling rule in PGE?
18:50 moritz specifically I want to check if <dotty> matched from within <noun>, or from within <postfix>
18:52 Coleoid joined #parrot
18:53 Coleoid Hi--I'm trying to get parrot built on my win32 box, to build rakudo,
18:53 Coleoid and I could use pointers to answers--or pointers to better places to ask.  :D
18:53 Coleoid Configure.pl breaks on the 'determining C compiler' line.
18:55 diakopter Coleoid: are you in cygwin or strawberry
18:55 Coleoid I've got GCC installed via cygwin...
18:55 diakopter is there an error msg from Configure
18:55 Coleoid Determining what C compiler and linker to use...Compilation failed with 'gcc'
18:56 diakopter which version of gcc is it
18:56 Coleoid gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
18:57 diakopter hrm
18:57 diakopter I haven't built parrot on win32 in a couple of months... maybe someone else around here has some ideas
18:58 Coleoid Perhaps.  Is Strawberry Perl a smoother path to follow?
18:58 pmichaud I heard last week that Strawberry Perl was indeed easier.
18:59 pmichaud but I don't know that myself yet
18:59 pmichaud (still linux here)
19:01 Coleoid *nod* I can give it a shot.  I'm afraid I'll wind up with eleventy perls on my box, but there are certainly worse fates.
19:05 * Coleoid secondthinks.
19:05 Coleoid Hmm.  I think I went through this when I was building pugs, lo these many et c.
19:06 Coleoid And I think the only thing that got me straight, eventually, was getting GCC and my env set up to build p5 from source...
19:07 Coleoid Though I think parrot is less reliant on extensions than pugs is.
19:08 pmichaud once parrot is built, it doesn't use p5 at all.
19:09 pmichaud p5 is simply part of the build process.
19:09 Coleoid And is p5 used in rakudo?
19:09 pmichaud no.
19:09 Coleoid Gee, whiz!
19:10 Coleoid It's cool how often these things surprise me.
19:11 Coleoid That definitely qualifies as less reliant.  :D
19:27 Infinoid I've found it helps when you are building with the same compiler that perl was built with
19:27 Infinoid strawberry perl is a lot easier, because of its bundled gcc.
19:28 Infinoid Coleoid: were you using cygwin's perl, or another one (like activestate)?
19:30 Coleoid Hm.  I think I'm on my hand built:
19:30 Coleoid perl -v
19:30 Coleoid This is perl, v5.8.8 built for MSWin32-x86-multi-thread
19:31 Coleoid But I'm only guessing, thinking that cygwin or strawberry would put their own tag in -v.
19:31 Coleoid I should say, cygwin.  I
19:31 Coleoid 've never installed strawberry yet,
19:31 Coleoid and I know for a fact that Activestate does.
19:32 Infinoid strawberry's "perl -v" looks a lot like yours.  no mention of fruit at all.
19:34 Infinoid This is perl, v5.10.0 built for MSWin32-x86-multi-thread
19:35 diakopter Coleoid: echo %PATH%
19:36 Coleoid Okay, I've installed strawberry, tweaked my path around to put it early...
19:37 Coleoid ...and Configure.pl gave me a 'happy hacking' message.  :D
19:38 Coleoid ...though a subsequent mingw32-make fails.
19:39 Coleoid diakopter:  C:\strawberry\c\bin;C:\strawberry\perl\bin;c:\​cygwin\bin;c:\mingw\bin;C:\WINDOWS\system32;C:​\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;C:\ghc\ghc-6.6\bin;C:\WINDO​WS\Microsoft.NET\Framework\v2.0.50727;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft Visual Studio 8\VC\bin;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Prog
19:39 Coleoid ram Files\QuickTime\QTSystem\;C:\Program Files\TortoiseSVN\bin;C:\Perl\bin\;
19:39 Infinoid what was the build error?
19:40 Infinoid purl, nopaste?
19:40 purl nopaste is at http://nopaste.snit.ch/ (ask TonyC for new channels) or http://rafb.net/paste or http://paste.husk.org/ or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ or don't bother me while I'm eating or App::Nopaste or tools/dev/nopaste.pl
19:40 Coleoid Looks like a sh problem:
19:40 Coleoid Says:  /usr/bin/sh: C:strawberryperlbinperl.exe: command not found
19:41 Coleoid Seems like I recall something about this problem from a cygwin readme.
19:41 Infinoid cute.  wonder if the Makefile is using sh directly, or if mingw32-make is using it internally
19:41 Coleoid I've got to get sh out of the way, it can't handle backslashes-for-dir-separators, right?
19:41 Infinoid it's possible nmake would have better luck
19:41 Infinoid yeah, that's another solution.
19:42 Coleoid ...giving it a shot...
19:42 Coleoid ...nmake seems to be working...gratifying, since I spent extra time hunting down a modern nmake, earlier...
19:43 Coleoid ...a bunch of pmc2c.pl and c2str.pl going on...
19:43 Infinoid seeing nmake running gcc just seems ... weird, doesn't it?
19:43 Coleoid :D
19:44 Coleoid Seeing Windows do this at all brings me an odd gratification.
19:45 Coleoid ...imcc has a lot of warnings.
19:45 Infinoid yeah.  I really wish I had a working ccache on win32, though.
19:46 Coleoid It finally croaked again making PGE.
19:47 Coleoid Same sh-backslash problem.
19:47 Coleoid Going to need to do something permanent to sh.
19:53 tetragon joined #parrot
20:14 davidfetter joined #parrot
20:21 slightlyoff joined #parrot
20:29 gmansi joined #parrot
20:41 gryphon joined #parrot
20:45 dalek r28652 | pmichaud++ | trunk:
20:45 dalek : [rakudo]:
20:45 dalek : * STD.pm tracking -- bring us back into better alignment with STD.pm
20:45 dalek : * can now parse named 0-ary ops
20:45 dalek : * pi() works
20:45 dalek : * eliminated outdated <listop> rule and action
20:45 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28652
20:49 slightlyoff left #parrot
20:57 bacek pmichaud++
21:14 cognominal pmichaud, why PGE doubles brackets for embedded closure?
21:15 diakopter prob b/c the nested-balanced-bracket isn't super robust, so a different stopper is needed....?
21:17 pmichaud exactly.
21:17 pmichaud PGE doesn't yet know how to switch into arbitrary parsers
21:17 pmichaud (because at the time it was implemented, we didn't have an API for doing that.)
21:17 pmichaud we now have an API, but haven't needed to implement it yet.
21:18 pmichaud (and there's still some trickiness dealing with lexicals to be worked out.)
21:28 cognominal ok. :)
21:29 grim_fandango joined #parrot
21:33 moritz it seems that some of the GC problems in rakudo were fixed
21:33 moritz I can now execute for 1..10000 -> { $_.say } without any errors
21:37 pmichaud they're really intermittent.
21:37 pmichaud it could easily show up again.
21:38 moritz aye, but at least it feels much better ;)
21:38 pmichaud that it does.
21:39 moritz what does the 'set_pmc_keyed_str() not implemented in class' error message mean?
21:40 pmichaud usually it means we're attempting to use  [..]  or {..} on an object that doesn't support it.
21:41 pmichaud but I was getting that error a bit ago due to a -G bug.
21:42 moritz ah yes, it's a -G bug that makes the fudged S03-operators/assign.t fail
21:43 jhorwitz joined #parrot
21:46 moritz ... and fudge's broken test counting
21:54 bacek joined #parrot
21:54 bacek hi again.
21:54 purl oh, you're back!
21:55 bacek msg pmichaud Complex number looks like broken
21:55 bacek take that stupid bot...
21:56 pmichaud because of sqrt?  We probably need a multimethod for sqrt.
21:56 bacek is complex supported in parrot?
21:56 pmichaud Complex is, yes, but there's not a sqrt op for anything but num
21:59 bacek pmichaud, adding :multi(Complex) does work.
22:01 Zaba_ joined #parrot
22:02 bacek perl6: say -1i
22:02 polyglotbot OUTPUT[-1␤]
22:02 dalek r28653 | pmichaud++ | trunk:
22:02 dalek : [rakudo]:
22:02 dalek : * "rand" is really term:rand, not prefix:rand .
22:02 dalek : * Move rand() methods to Any.
22:02 dalek : * Add srand().
22:02 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28653
22:02 bacek perl6.pir: say -1i
22:02 nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 pir paste" (22 lines) at http://nopaste.snit.ch/13365
22:02 bacek perl6: say 0 -1i
22:02 polyglotbot OUTPUT[0-1i␤]
22:04 bacek also prefix:-, exp, and probably lot other methods requre multi(Complex)
22:04 bacek perl6: say abs(1i)
22:04 polyglotbot OUTPUT[1␤]
22:08 pmichaud probably.
22:08 moritz and they should be specced ;)
22:10 pmichaud afk #dinner
22:10 bacek perl6: say +1i
22:10 polyglotbot OUTPUT[1␤]
22:13 jjore joined #parrot
22:15 bacek pmichaud, #56230 with few multimethods for Complex. S29-num/exp.t can be unfudged after applying it.
22:15 bacek I'll try to find all of required methods little bit later.
22:16 moritz and the newly added S03-operators/assign-is-not-binding.t can be added to spectest_regression, it has one TODO-fudged test
22:16 bacek afk # $kids->school(), $self->dayjob()
22:32 Whiteknight joined #parrot
22:33 ank joined #parrot
22:42 Zaba joined #parrot
23:18 Zaba_ joined #parrot
23:21 apeiron joined #parrot
23:29 dalek r28654 | Whiteknight++ | gsoc_pdd09:
23:29 dalek : [gsoc_pdd09] update to trunk r28563
23:29 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=28654
23:31 kid51 joined #parrot
23:41 TonyC joined #parrot
23:46 Andy joined #parrot
23:56 bacek_ joined #parrot

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

Parrot | source cross referenced