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