Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-07-06

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:15 vsoni joined #perl6
00:20 eternaleye_ joined #perl6
01:06 bacek_ joined #perl6
01:43 pugs_svn r21229 | cjfields++ | add complement, deletion, squash tests
01:57 cjfields joined #perl6
01:58 cjfields_ joined #perl6
01:58 a-jing1 joined #perl6
01:59 a-jing1 left #perl6
01:59 bacek__ joined #perl6
02:06 bacek__ perl6: my $a=(1..5|6..10); say ~min($a);
02:06 p6eval elf 21229: OUTPUT[Parse error in: /tmp/kplAu6c9LD␤panic at line 1 column 15 (pos 15): "#<Match:0xb7832aa4>" is not associative␤WHERE: my $a=(1..5|6..10); say ~min($a);␤WHERE:               /\<-- HERE␤  STD_red/prelude.rb:99:in `panic'␤  STD_red/std.rb:2102:in `_EXPR_raw'␤  STD_red/std.rb:1948:in
02:06 p6eval ..`...
02:06 p6eval ..kp6 21229: OUTPUT[syntax error at position 5, line 1 column 5:␤my $a=(1..5|6..10); say ~min($a)␤     ^ HERE␤]
02:06 p6eval ..pugs: OUTPUT[*** ␤    Unexpected "$a"␤    expecting "=", "_", exponent, term postfix, operator, ")", context, ":" or "("␤    ambiguous use of a non associative operator␤    at /tmp/xUSHJt9upV line 1, column 4␤]
02:06 p6eval ..rakudo 29090: OUTPUT[MMD function __cmp not found for types (104, 95)␤current instr.: 'parrot;Range;!to_test' pc 5028 (src/gen_builtins.pir:3365)␤]
02:07 bacek__ perl6: my $a=(1..5|6..10); say $a.min;
02:07 p6eval elf 21229: OUTPUT[Parse error in: /tmp/7e6uNNfNsv␤panic at line 1 column 15 (pos 15): "#<Match:0xb7803b14>" is not associative␤WHERE: my $a=(1..5|6..10); say $a.min;␤WHERE:               /\<-- HERE␤  STD_red/prelude.rb:99:in `panic'␤  STD_red/std.rb:2102:in `_EXPR_raw'␤  STD_red/std.rb:1948:in
02:07 p6eval ..`bl...
02:07 p6eval ..kp6 21229: OUTPUT[syntax error at position 5, line 1 column 5:␤my $a=(1..5|6..10); say $a.min␤     ^ HERE␤]
02:07 p6eval ..pugs: OUTPUT[*** ␤    Unexpected "$a"␤    expecting "=", "_", exponent, term postfix, operator, ")", context, ":" or "("␤    ambiguous use of a non associative operator␤    at /tmp/JY9gQs2e4s line 1, column 4␤]
02:07 p6eval ..rakudo 29090: OUTPUT[get_integer() not implemented in class 'Junction'␤current instr.: 'parrot;Range;!to_test' pc 5028 (src/gen_builtins.pir:3365)␤]
02:08 bacek__ perl6: my $a:=(1..5|6..10); say $a.min;
02:08 p6eval elf 21229: OUTPUT[Parse error in: /tmp/BOKCGf4QrZ␤panic at line 1 column 16 (pos 16): "#<Match:0xb783d468>" is not associative␤WHERE: my $a:=(1..5|6..10); say $a.min;␤WHERE:                /\<-- HERE␤  STD_red/prelude.rb:99:in `panic'␤  STD_red/std.rb:2102:in `_EXPR_raw'␤  STD_red/std.rb:1948:in
02:08 p6eval ..`...
02:08 p6eval ..kp6 21229: OUTPUT[syntax error at position 5, line 1 column 5:␤my $a:=(1..5|6..10); say $a.min␤     ^ HERE␤]
02:08 p6eval ..pugs: OUTPUT[*** ␤    Unexpected ".."␤    expecting "_", exponent, term postfix, operator or ")"␤    ambiguous use of a non associative operator␤    at /tmp/9W1DFyRbaJ line 1, column 15␤]
02:08 p6eval ..rakudo 29090: OUTPUT[get_integer() not implemented in class 'Junction'␤current instr.: 'parrot;Range;!to_test' pc 5028 (src/gen_builtins.pir:3365)␤]
02:08 bacek__ perl6: my $a:=((1..5)|(6..10)); say $a.min;
02:09 p6eval elf 21229: No output (you need to produce output to STDOUT)
02:09 p6eval ..kp6 21229: OUTPUT[syntax error at position 5, line 1 column 5:␤my $a:=((1..5)|(6..10)); say $a.min␤     ^ HERE␤]
02:09 p6eval ..pugs: OUTPUT[any(VList [VInt 1,VInt 2,VInt 3,VInt 4,VInt 5],VList [VInt 6,VInt 7,VInt 8,VInt 9,VInt 10])␤]
02:09 p6eval ..rakudo 29090: OUTPUT[Method 'min' not found for invocant of class 'Junction'␤current instr.: '_block11' pc 84 (EVAL_14:26)␤]
02:25 meppl joined #perl6
02:27 bacek_ joined #perl6
02:46 xinming_ joined #perl6
02:55 apeiron joined #perl6
02:56 xinming__ joined #perl6
02:59 drbean_ joined #perl6
03:02 drbean joined #perl6
03:02 elmex_ joined #perl6
03:04 drbean joined #perl6
03:05 xinming joined #perl6
03:27 alester_ joined #perl6
03:37 pbuetow_ joined #perl6
03:43 vsoni joined #perl6
03:47 slavi1 joined #perl6
03:48 slavi1 are any of the perl6 books worth getting? also, are there any perl5 to perl6 guides?
04:06 bacek_ pugs: my $a := (1|2|3); say $a;
04:06 p6eval pugs: OUTPUT[any(VInt 1,VInt 2,VInt 3)␤]
04:06 bacek_ pugs: sub foo($a) { say 'foo ' ~$a); my $a := (1|2|3); foo $a;
04:06 p6eval pugs: OUTPUT[*** ␤    Unexpected ");"␤    expecting "::", term postfix, operator, ":", "," or "}"␤    at /tmp/bUjVPNWm08 line 1, column 29␤]
04:07 bacek_ pugs: sub foo($a) { say 'foo ' ~$a}; my $a := (1|2|3); foo $a;
04:07 p6eval pugs: OUTPUT[any(VStr "foo 1",VStr "foo 2",VStr "foo 3")␤]
04:07 bacek_ rakudo: sub foo($a) { say 'foo ' ~$a}; my $a := (1|2|3); foo $a;
04:07 p6eval rakudo 29090: OUTPUT[get_string() not implemented in class 'Junction'␤current instr.: 'foo' pc 158 (EVAL_14:60)␤]
04:08 bacek_ pugs: sub foo($a) { say 'foo ' ~$a}; my $a := (1|2|3); $a.foo;
04:08 p6eval pugs: OUTPUT[any(VStr "foo 1",VStr "foo 2",VStr "foo 3")␤]
04:18 slavi1 left #perl6
04:20 bacek_ pugs: say 'hello'.index((e|l))
04:20 p6eval pugs: OUTPUT[*** No such subroutine: "&e"␤    at /tmp/ZfYzkUg1lY line 1, column 19-24␤]
04:20 bacek_ pugs: say 'hello'.index(('e'|'l'))
04:20 p6eval pugs: OUTPUT[any(VInt 1,VInt 2)␤]
04:21 bacek_ pugs: say ('hello'|'world').index('o')
04:21 p6eval pugs: OUTPUT[any(VInt 1,VInt 4)␤]
04:21 bacek_ pugs: say ('hello'|'world').index('o'|'l')
04:21 p6eval pugs: OUTPUT[any(VJunc any(VInt 1,VInt 3),VJunc any(VInt 2,VInt 4))␤]
04:28 lambdabot joined #perl6
04:29 masak joined #perl6
04:40 xinming joined #perl6
04:41 Entonian joined #perl6
04:48 vsoni joined #perl6
05:02 xinming_ joined #perl6
05:09 eternaleye_ joined #perl6
05:10 xinming__ joined #perl6
05:11 vsoni left #perl6
05:20 xinming joined #perl6
05:27 Psyche^ joined #perl6
05:27 xinming__ joined #perl6
05:36 xinming_ joined #perl6
06:09 c9s joined #perl6
06:11 xinming joined #perl6
06:14 bacek_ rakudo: sub foo($a) { say 'foo ' ~$a}; my $a := (1|2|3); $a.foo;
06:14 p6eval rakudo 29090: OUTPUT[Method 'foo' not found for invocant of class 'Junction'␤current instr.: '_block11' pc 55 (EVAL_14:22)␤]
06:15 masak rakudo: sub foo($a) { say 'foo ' ~$a}; my $a := (1|2|3); foo($a)
06:15 p6eval rakudo 29090: OUTPUT[get_string() not implemented in class 'Junction'␤current instr.: 'foo' pc 158 (EVAL_15:60)␤]
06:15 masak that oughta work.
06:15 bacek_ masak: rakudo lack autothreading for junctions...
06:16 masak :/
06:18 xinming__ joined #perl6
06:21 ingy Alias_: ok
06:22 masak rakudo: say 4 == 1|2|3|4|5
06:22 p6eval rakudo 29090: OUTPUT[1␤]
06:22 masak not completely lacking, though
06:23 ingy Alias_: are you online?
06:24 Alias_ yo
06:24 ingy join magnet
06:24 Alias_ I am
06:25 ingy 23:25 [magnet] [msg(Alias_)] hi
06:25 ingy 23:25 [magnet] -!- Alias_: No such nick/channel
06:25 Alias_ I'm not forced to adopt the trailing underscore there
06:29 xinming_ joined #perl6
06:36 bacek_ masak: it's a lot of ugly copypasted code in Junction.pir...
06:36 masak bacek_: anything we can do about it?
06:36 bacek_ masak: I'm trying to understand MMD...
06:37 masak who isn't? :)
06:37 bacek_ masak: probably chromatic understands it :)
06:59 Jedai joined #perl6
07:05 c9s__ joined #perl6
07:33 xinming joined #perl6
07:33 eternaleye_ joined #perl6
07:35 a-jing1 joined #perl6
07:35 a-jing1 left #perl6
07:41 barney joined #perl6
07:58 pmurias joined #perl6
08:01 dburning joined #perl6
08:05 cls_bsd joined #perl6
08:14 GarulfoUnix joined #perl6
08:23 pugs_svn r21230 | pmurias++ | removed irx1_describe
09:16 iblechbot joined #perl6
09:18 Entonian joined #perl6
09:34 meppl joined #perl6
09:35 ruoso joined #perl6
09:42 pmurias ruoso: hi
09:46 pmurias_ joined #perl6
09:46 pmurias joined #perl6
10:11 meppl joined #perl6
10:19 Entonian joined #perl6
10:30 pmurias walk&
10:37 elmex joined #perl6
10:38 elmex joined #perl6
10:47 bacek_ joined #perl6
10:50 Entonian_ joined #perl6
11:16 a-jing1 joined #perl6
11:16 a-jing1 left #perl6
11:17 masak joined #perl6
11:18 Entonian__ joined #perl6
11:29 masak rakudo: sub f { return }; f
11:29 p6eval rakudo 29097: OUTPUT[too few arguments passed (0) - 1 params expected␤current instr.: 'f' pc 68 (EVAL_13:34)␤]
11:30 masak so, it turns out that return takes only one argument
11:31 masak not several, not even zero, _one_
11:31 masak I've submitted a bug report/patch for this, but it's still being processed
11:31 masak also,
11:31 masak rakudo: sub f {}; f
11:31 p6eval rakudo 29097: RESULT[Null PMC access in find_method()␤current instr.: '_block11' pc 25 (EVAL_13:11)␤]
11:31 masak this is a bit worse, and harder to fix
11:32 masak no special provisions are made to make the return value of an empty sub be undef
11:32 masak so right now, it's even more undefined than undef :/
11:34 masak hm, maybe this belongs more on #parrot
11:48 Entonian_ joined #perl6
11:53 Chillance joined #perl6
12:01 baest joined #perl6
12:06 chris2 joined #perl6
12:09 Schwern joined #perl6
12:38 alanhaggai joined #perl6
12:45 Helios joined #perl6
13:08 FurnaceBoy joined #perl6
13:20 pugs_svn r21231 | masak++ | [array.t] removed blocks that prevented variables from seeing each other
13:29 Coleoid joined #perl6
13:30 bacek__ joined #perl6
13:52 pmurias joined #perl6
13:53 Entonian_ joined #perl6
13:53 icwiener joined #perl6
13:56 xinming joined #perl6
14:16 Entonian_ joined #perl6
14:39 pmurias it's quiet on the weekends here ;)
14:39 Entonian__ joined #perl6
14:48 a-jing1 joined #perl6
14:48 a-jing1 left #perl6
14:56 rakudo_svn r29098 | jonathan++ | [rakudo] Replace usage of :instanceof with storing the proto as a property. Still need to fixup isa to work, but this resolves some other issues for now that the :instanceof usage introduced. Also lays the groundwork for storing signature objects.
14:59 meppl joined #perl6
14:59 Entonian__ joined #perl6
15:14 barney joined #perl6
15:20 Entonian_ joined #perl6
15:49 Entonian__ joined #perl6
15:55 Schwern joined #perl6
15:57 meteorjay joined #perl6
16:02 Alias_ joined #perl6
16:04 jan_ joined #perl6
16:08 Alias_ joined #perl6
16:17 Entonian__ joined #perl6
16:44 araujo joined #perl6
16:48 pmurias agentzh: hi
16:55 Entonian__ joined #perl6
16:56 pmurias agentzh: i'm looking into using your rule tracer for STD.pm/gimme5
16:58 xinming_ joined #perl6
17:11 moritz_ re
17:12 pmurias moritz_: hi
17:13 pmurias cycling&
17:16 xinming joined #perl6
17:19 sri_work joined #perl6
17:21 Entonian__ joined #perl6
17:22 alester_ joined #perl6
17:25 alanhaggai joined #perl6
17:26 pugs_svn r21232 | Auzon++ | [gsoc_spectest] reorganization and partial fudging on perl.t.
17:36 FurnaceBoy joined #perl6
18:43 pmurias joined #perl6
18:45 jferrero joined #perl6
18:47 Gruber joined #perl6
19:10 Schwern joined #perl6
19:27 charsbar joined #perl6
19:30 pmurias is there a vi clone which is faster than vim for large files (like STD5.pm)?
19:32 xinming_ joined #perl6
19:35 Gothmog_ pmurias: http://www.vim.org/tips/tip.php?tip_id=611
19:35 lambdabot Title: Tip #611 - Open big files and work fast : vim online
19:39 icwiener_ joined #perl6
19:42 cjfields joined #perl6
19:45 rindolf joined #perl6
19:45 rindolf Hi all.
19:45 rindolf http://search.cpan.org/~btrott/XML-Feed-0.12/ - WTF?
19:45 lambdabot Title: Benjamin Trott / XML-Feed-0.12 - search.cpan.org
19:58 moritz_ @tell slavi1 latests pugs builds when the build is triggered with 'cabal install' - see the INSTALL file on how to do it
19:58 lambdabot Consider it noted.
20:02 rindolf moritz_: Cabal?
20:02 pmurias s
20:02 rindolf moritz_: There is no IGLU Cabal!
20:02 pmurias rindolf: hi
20:02 rindolf Hi pmurias
20:02 rindolf Seems like XML-Feed and XML-Atom both need some TLC.
20:03 moritz_ rindolf: the haskell package manager
20:03 rindolf moritz_: ah, heh.
20:03 rindolf Is there still work on Pugs?
20:04 moritz_ audreyt++ made it installable with ghc-6.8.2 and cabal
20:04 moritz_ that's the only work for now
20:04 rindolf moritz_: ah.
20:04 rindolf moritz_: does Pugs require ghc-6.8.2 now?
20:05 moritz_ rindolf: dunno, but I think so, yes
20:05 moritz_ but the last version of pugs that also works with ghc 6.6.1 is feature identical to current pugs
20:05 pmurias rindolf: other (more actively develped) Perl 6 implementations live in the pugs repo too
20:06 SamB and more importantly, a huge test suite...
20:06 pmurias Gothmog_: i got errors when i pasted the tip into my .vimrc
20:07 rindolf moritz_: crud.
20:07 rindolf moritz_: this is the No. 1 thing I hate about Pugs.
20:07 rindolf Always Bleeding-edge GHC.
20:08 rindolf Well, not the No. 1 thing.
20:08 rindolf But some (most ?) people are not using bleeding edge distros.
20:08 rindolf There's Debian who's stable is about a year old.
20:08 rindolf and used to be much worse.
20:09 rindolf There's Mandriva which was released a few months back.
20:09 rindolf And Fedoa.
20:09 rindolf Fedora, I mean.
20:09 * pmurias has very bad experience with Mandrake linux
20:09 pugs_svn r21233 | Auzon++ | [gsoc_spectest] reorganization of reduce tests
20:09 SamB so what's wrong with testing?
20:09 moritz_ Debian Lenny is quite usable, comes with perl 5.10.0 and ghc 6.8.2 or 6.8.1
20:09 SamB stable is obviously designed for the paranoid
20:09 rindolf pmurias: Mandriva.
20:10 rindolf pmurias: Mandrake Linux is its old name.
20:10 rindolf pmurias: I used it since 7.
20:10 rindolf 7.1
20:10 rindolf I'm on MDV Cooker now.
20:11 pmurias rindolf: Mandrake Linux is the thing i have bad experience with
20:11 rindolf pmurias: ah, which version?
20:11 rindolf pmurias: Mandriva/Mandrake often used to have some cute bugs.
20:11 rindolf pmurias: which required some manual tweaking.
20:12 pmurias can't remember
20:12 rindolf pmurias: what are you using now?
20:12 pmurias it involved lots of cds
20:12 moritz_ pmurias: re vim being slow, is it still too slow if you disable syntax hilighting?
20:14 rindolf moritz_: and possible the auto-indentation.
20:14 rindolf moritz_: and the filetype.
20:14 pmurias moritz_: less so
20:15 pmurias it takes a while to load file, but if i don't close vim it's fast enough
20:16 pmurias rindolf: what's TLC?
20:17 moritz_ for example a very bad band ;-)
20:17 rindolf pmurias: Tender Loving Care.
20:23 pmurias rindolf: what's up recently?
20:24 rindolf pmurias: I've syndicated my fortune cookies to Atom.
20:24 rindolf pmurias: using XML-Feed.
20:24 rindolf But now I want the feed to validate.
20:25 rindolf pmurias: where I ran into a few bugs/limitations of XML-Feed.
20:28 gbacon joined #perl6
20:29 pugs_svn r21234 | moritz++ | [t] lots of POD corrections and minor improvements in t/blocks/
20:44 pmurias rindolf: i'm looking for fun perl6 tasks now, and will get to now if i will be studing CS or maths tomorrow
20:45 rindolf pmurias: ah.
20:45 rindolf pmurias: work on Rakudo or something.
20:56 pmurias rindolf: elf/smop is more my sort of stuff
20:57 rindolf pmurias: what is elf/smop?
20:58 moritz_ http://rakudo.de/progress-nonstacked.png # rakudo progress graph as non-stacked graph
20:59 rindolf moritz_: I don't see anything (FF 3 on MDV-Cooker)
20:59 Auzon It's weird here too unless I zoom in.
21:00 moritz_ transparent png
21:00 Auzon (here is Fedora 9, Konqueror 4.0.5)
21:00 moritz_ maybe that's the problem?
21:00 moritz_ it's 640x480
21:01 Auzon Looks fine in a standard HTML page
21:01 Auzon though, Firefox 3 works just fine
21:03 moritz_ on the train I had some time to play with gnuplot
21:03 Auzon Very cool :)
21:03 Coleoid moritz_: Nice graph! Last full run I did was over 2000 passing, is that bad?  :s
21:03 moritz_ Coleoid: rakudo? are you sure?
21:03 Coleoid Well, less sure than I was three seconds ago...
21:04 Coleoid :D
21:04 Auzon Coleoid: If you are doing 'make spectest_regression', the passed amount counts the skipped tests too
21:04 Coleoid I've kind of got array.t blown apart, but I could move that aside, revert, and rerun, to be sure.
21:04 Coleoid Oh!
21:04 moritz_ docs/spectest-progress.csv lists over 2000 tests run, but at most 1587 pass
21:04 Coleoid Auzon:  That's the answer.
21:05 Coleoid Drat.
21:05 moritz_ that's why the data is assembled with tools/test_summary.
21:05 moritz_ pl
21:09 Coleoid I'm trying to figure out the incantation to fudge and run a single *.t file.
21:09 rakudo_svn r29104 | pmichaud++ | [rakudo]: spectest-progress.csv update:  87 files, 1587 passing tests
21:09 Coleoid I've got: perl t/harness --fudge --keep-exit-code t\spec\S02-builtin_data_types\array.t
21:09 moritz_ Coleoid: the easiest is to add it to t/localtest.data and then 'make localtest'
21:10 Coleoid moritz_: Oooh!
21:10 moritz_ that was [particle]++'s work
21:10 Auzon neat, I didn't know that
21:11 Auzon I was stringing together a longish line of commands :)
21:15 rakudo_svn r29105 | moritz++ | [rakudo] cosmetic changes to tools/*.pl
21:16 Coleoid Odd, I get the failure I saw before, after I'd jiggered array.t.  I smoked array.rakudo and retried for good measure, same result.
21:16 moritz_ which weird error?
21:17 Coleoid Er, I'm pasting to the wrong channel.
21:18 Coleoid Paste where for here, please?
21:18 moritz_ see /topic
21:18 moritz_ anyway, i'm in #parrot as well ;)
21:19 Coleoid I read it twice before asking, but panic makes me stupid.  Sorry.
21:19 moritz_ Coleoid: that's most likely not-yet implemented list assignment
21:19 pasteling "Coleoid" at 76.251.83.159 pasted "error from array.t" (24 lines, 1.6K) at http://sial.org/pbot/31488
21:19 moritz_ something like ($a, $b) = (1, 2)
21:20 cjfields joined #perl6
21:21 Coleoid Perhaps make spectest_regression hides these messages.
21:22 moritz_ no, it doesn't include array.t
21:23 Coleoid Hmm.  There's a bit of array.t that passes, most of it blocked off.  Iit looked to me like a few more were actually passing, and that the rest could use more detailed messages.
21:23 moritz_ ../../parrot perl6.pbc t/spec/S02-builtin_data_types/array.t
21:24 Coleoid Perhaps that was from a 'make spectest', but...
21:25 moritz_ ok, http://rakudo.de/ now shows both charts
21:25 lambdabot Title: Rakudo - A Perl 6 Compiler
21:25 moritz_ Coleoid: 'make spectest' is mostly useless atm
21:25 pasteling "Coleoid" at 76.251.83.159 pasted "More directly run array.t" (13 lines, 1.1K) at http://sial.org/pbot/31489
21:26 Coleoid moritz_:  Well, I'll stop doing that, then.  :D
21:26 Auzon Would it be possible to implement .eval on Perl6Str fairly easily in Rakudo?
21:26 moritz_ Coleoid: it's only interesting if you want to fudge tests and import them into spectest_regression
21:26 pmichaud Auzon: eval already works, as long as the eval'd string doesn't need access to outer lexicals
21:27 moritz_ rakudo: eval 'say 1';
21:27 pmichaud oh, you mean as a method call?
21:27 p6eval rakudo 29107: OUTPUT[1␤]
21:27 Auzon pmichaud: eval($foo) works; $foo.eval doesn't
21:27 moritz_ rakudo: 'say 1'.eval
21:27 pmichaud yes, it should be a method call.  yes, that's easy.
21:27 p6eval rakudo 29107: OUTPUT[Method 'eval' not found for invocant of class 'Perl6Str'␤current instr.: '_block11' pc 21 (EVAL_10:13)␤]
21:27 pmichaud I'll do it now.
21:27 Auzon Thanks pmichaud++
21:27 pmichaud I'm fixing the for loop issue too
21:28 pugs_svn r21235 | pmichaud++ | Add some temporary #?rakudo skip markers until
21:28 pugs_svn r21235 | pmichaud++ | block types and closures work again
21:29 moritz_ rakudo: my @array2 = ("test", 1, undef); say @array2.perl
21:29 p6eval rakudo 29107: OUTPUT[Method 'perl' not found for invocant of class 'Failure'␤current instr.: 'parrot;List;perl' pc 2583 (src/gen_builtins.pir:1804)␤]
21:29 pmichaud interesting.
21:29 pmichaud that's fixable too.  :-)
21:29 pugs_svn r21236 | Auzon++ | [gsoc_spectest] staging commit for perl2.t. Partially fudged.
21:30 Auzon moritz_: I just moved perl.t and perl2.t to t/spec/S02-names_and_variables. They both look very similar (to the point of testing the same cases). Should one be removed?
21:30 pmichaud merged, probably
21:30 pmichaud (removing duplicate cases, of course)
21:32 pmichaud S29 doesn't define .eval
21:33 pmichaud which means that it's a fallback
21:33 Auzon It almost looks like perl2.t was automatically generated from perl.t
21:33 pmichaud (which rakudo doesn't implement yet)
21:33 pmichaud have we gotten official word yet on whether Perl 6 will use fallback dispatch?
21:34 moritz_ pmichaud: no, we haven't
21:35 pmichaud that said, I think it's reasonable to assume that .eval will be an Any method
21:36 pmichaud hrm
21:36 pmichaud well, or maybe not
21:37 alester_ joined #perl6
21:37 pmichaud I like the stacked plot a bit better.  :-)
21:38 * moritz_ too
21:38 pmichaud it makes it easier to see the growth in the regression suite, as well as the passing tests
21:38 Auzon also, can I assume that this is true in general?: eval($foo.perl) eqv $foo
21:38 moritz_ but I assume that when the number of data points increase significantly the better quality of the gnuplot stuff will matter more
21:39 Auzon (yes, I know I could have an object that randomly returns a value for .eqv, but excepting cases like those.)
21:39 moritz_ Auzon: normally yes
21:40 justatheory joined #perl6
21:40 Auzon great :)
21:41 rakudo_svn r29108 | pmichaud++ | [rakudo]: add .perl method to Failure (moritz++)
21:43 pugs_svn r21237 | moritz++ | [spec] partly fudged S02-builtin_data_types/array.t. Plan is offbyone, and a
21:43 pugs_svn r21237 | moritz++ | few failures are still there, but no runtime errors anymore
21:46 pugs_svn r21238 | moritz++ | [spec] array.t: isa_ok with type name (not Str) as second argument
21:51 moritz_ pmichaud: what do you think, is it ok to add a test file with passing TODO tests to spectest_regression?
21:55 pugs_svn r21239 | moritz++ | [spec] fudged array.t, fixed plan (at least I hope so).
21:55 pugs_svn r21239 | moritz++ | Unfudged two tests from arith.t
21:58 Auzon hm. perl.t and perl2.t test the same things (with one more case in perl.t). So I think I'll keep perl.t instead of perl2.t
21:59 moritz_ pmichaud: if you don't mind passing TODO test then we can add array.t to spectest_regression (but I won't fudge it in all detail because the passing tests are just silly)
21:59 moritz_ Auzon: then remove perl2.t
22:00 moritz_ btw t/general/basic.t seems like a good candidate for removal as well
22:02 Auzon ok
22:08 pugs_svn r21240 | moritz++ | [spec] move blocks/placeholders.t to spec/, Tene++ for such a nice test file
22:12 pugs_svn r21241 | moritz++ | [t/block] more POD changing, and a few vim mode lines
22:16 pugs_svn r21242 | moritz++ | [spec] moved blocks/dollar_underscore.t to spec/
22:39 wknight8111 joined #perl6
22:42 Auzon Is there an online rakudo bug tracker?
22:43 moritz_ http://rt.perl.org/rt3/Search/Results.html?Query=Queue%20%3D%20'perl6'%20AND%20(Status%20%3D%20'open'%20OR%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'stalled')
22:43 Auzon Thanks :)
22:43 moritz_ or just http://rt.perl.org/rt3 and then click on the 'perl6' queue
22:43 lambdabot Title: Login
22:44 moritz_ that freakin' RT seems to bother you with login requests until you either give up or give in ;)
22:44 Auzon It's not bothering me for some reason O.o
22:45 Auzon maybe it's because I accepted its cookie
22:45 moritz_ or it smells that I'd give in after enough bothering, and thus intensifies its effort
22:45 Auzon heh
22:45 Auzon So I've found several bugs regarding .perl
22:46 Auzon Should I report them there or does someone here want the fairly easy reports?
22:46 Auzon rakudo: '$a'.perl.say # for instance
22:46 p6eval rakudo 29109: OUTPUT["$a"␤]
22:47 * moritz_ looks if he can do it
22:47 Auzon also, rakudo: '{'.perl.say
22:47 Auzon rakudo: '{'.perl.say
22:47 p6eval rakudo 29109: OUTPUT["{"␤]
22:48 Auzon rakudo: '\''.perl.say
22:48 p6eval rakudo 29109: OUTPUT["'"␤]
22:48 Auzon rakudo: '\\'.perl.say
22:48 p6eval rakudo 29109: OUTPUT["\\"␤]
22:48 Auzon It might be easier to switch to single quotes
22:49 moritz_ aye
22:49 Auzon then you'd only need to add an escape for '
22:49 * moritz_ tries that, and runs spectest_regression
22:49 Auzon and not @ $ % & {
22:50 moritz_ d'oh, S02-builtin_data_types/range.t expects strings to be escaped with double quotes
22:51 * moritz_ seems to recall telling somebody that testing for a literal value of '.perl' doesn't make sense most of the time
22:57 pugs_svn r21243 | moritz++ | [t] mentioned non-canonical .perl in deprecated-syntax.pod
22:57 pugs_svn r21244 | moritz++ | [spec] fudged Range.perl tests as unspecced
22:58 moritz_ "You have 900 points until level 19 - Abbot." too much time spent on perlmonks ;)
23:00 rakudo_svn r29111 | moritz++ | [rakudo] Str.perl uses single quotes, Auzon++
23:00 moritz_ Auzon: r29111 fixes '$a'.perl
23:00 Auzon excellent. rebuilding now to see what this gets us.
23:00 rakudo_svn r29112 | moritz++ | [rakudo] three more files for spectest_regression
23:02 moritz_ world domination, of course ;-)
23:02 Auzon :D
23:02 Auzon bbiab.
23:03 moritz_ bbi8h (aka "sleep" ;-)
23:04 moritz_ I hope I didn't screw up anything essential ;)
23:29 Id10tBoy left #perl6
23:49 wknight8111 joined #perl6
23:52 meppl good night

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

Perl 6 | Reference Documentation | Rakudo