Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-07-29

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:16 penk joined #perl6
00:30 bacek joined #perl6
00:43 ruoso joined #perl6
00:43 justatheory joined #perl6
00:48 armagad joined #perl6
00:49 ruoso good night
00:49 lambdabot ruoso: You have 1 new message. '/msg lambdabot @messages' to read it.
00:52 ruoso @tell pmurias, not immediatly, "goto" would return immediatly, and when the interpreter would execute the next step, it would then call $io.print
00:52 lambdabot Consider it noted.
01:16 ruoso joined #perl6
01:31 [particle]1 joined #perl6
01:31 rakudo_svn joined #perl6
01:53 rakudo_svn joined #perl6
01:57 Schwern joined #perl6
02:10 BinGOs joined #perl6
02:15 BinGOs joined #perl6
02:20 jdv79 joined #perl6
02:21 jdv79 is there a transcript of the state of the onion yet?
02:24 penk left #perl6
02:35 penk joined #perl6
02:42 mncharity joined #perl6
02:54 alester_ joined #perl6
02:54 nybyn joined #perl6
03:00 agentzh joined #perl6
03:05 Tene jdv79: http://www.perlfoundation.org/perl6/index.cgi?st​ate_of_the_onion#the_state_of_the_onion_12_2008 -- looks like no
03:05 lambdabot Title: State of the Onion / Perl 6, http://tinyurl.com/5vxltk
03:11 pugs_svn r21602 | putter++ | [rx_on_re] Started moving AST node definition to p6.  Mostly relocated MatchN p5 unchanged into emit5.pm.
03:11 Lorn joined #perl6
03:17 pugs_svn r21603 | putter++ | misc/pX/Common/yet_another_re​gex_engine/Regexp_ModuleA.pm: Replaced a split(), called via a /(?{ })/.  Thus avoiding perl memory panic segfaults.
03:27 rhr_ joined #perl6
03:56 ingy hello!
03:57 Tene Hi!
04:20 BinGOs joined #perl6
04:24 pugs_svn r21604 | lwall++ | .** isn't a valid regex
04:24 pugs_svn r21605 | lwall++ | [STD] fix angle parsing problems
04:25 * Auzon doesn't know where he got .** from instead of .+
04:26 TimToady I changed it to .**2, but feel free to change it
04:26 Auzon The actual regex wasn't important, I don't think.
04:26 TimToady well, you don't want it to match as a string is the main thing
04:27 Auzon Yeah, so pretty much anything with a metacharacter is good
04:27 Auzon hm, except /.+/ would match '.+'
04:27 TimToady nodnod
04:28 Auzon Thanks for catching it, TimToady++
04:28 TimToady anyway, it parses now :)
04:28 * TimToady blames STD
04:28 Auzon Speaking of parsing, I'll give tryfile a try now
04:29 TimToady well, the test also found some STD bugs, to be sure
04:29 TimToady didn't have the foggiest idea how to parse <::(...)>
04:29 TimToady as it is, ::() is rather ambiguous in the standard grammar
04:30 TimToady is it a symbolic reference, or a cast to :: sigil type?
04:30 TimToady which might be a good reason for not consiring :: a sigil...
04:30 Auzon My use quoted S05 claiming that it was a symbolic reference
04:30 TimToady *considering
04:31 TimToady I think that's how people would usually think of it in that context
04:31 TimToady though <."$ref"()> would probably be clearer
04:32 TimToady maybe that's an argument for ::"$name" instead of ::($name) though
04:35 Auzon I wonder how long it'd take to run tryfile on all of t.
04:35 Auzon well, t/spec first.
04:35 TimToady it's faster than it used to be, and not fast enough :)
04:37 Auzon Is that what you're doing (running it against all files)?
04:37 TimToady make test compiles STD.pm and t/spec
04:37 TimToady takes on the order of 20 minutes on my machine
04:37 Auzon ah, cool.
04:37 TimToady but I haven't timeed it exactly.
04:38 TimToady my goal is for STD to compile itself roughly at the same speed that gimme5 does, but that's gonna be a while yet...
04:38 TimToady need about a 120x speedup for that
04:38 Auzon What does STD do when it encounters a new operator definition?
04:38 TimToady nothing currently
04:39 TimToady it calls .add_macro which does nothing yet
04:39 pen1 joined #perl6
04:39 TimToady I cheated on postfix:<!>
04:39 Auzon No fair ;)
04:39 TimToady pmurias was thinking about working on the macros though
04:40 TimToady and then it would use the definition in the test
04:40 TimToady one of the remaining failures is due to lack of infix:<>
04:41 Auzon Isn't that just nothing?
04:41 TimToady STD compiles itself in 3 minutes with a full cache rebuild, and in 2 minutes with a loaded cache
04:41 ingy speed killz
04:41 TimToady would like to get in the ballpark of a second, but it's already good enough for correctness testing
04:42 TimToady but that'll take a real dfa engine dedicated to doing p6 regex fast
04:42 TimToady Cursor spends far too much time babysitting TRE at the moment
04:42 ingy :)
04:43 ingy someone should fix tre
04:43 TimToady feel free
04:43 * ingy feels free
04:44 * fr33 slaps ingy
05:28 Tene_ joined #perl6
05:33 Psyche^ joined #perl6
06:16 _lidlpenner93_7 joined #perl6
06:19 moritz_ Tene++
06:22 cls_bsd joined #perl6
06:24 Tene Channel ban list is full?
06:24 Tene Oh, it is.
06:25 moritz_ too bad
06:26 Tene All set at the same time over three months ago by ballard.freenode.net
06:26 ashizawa joined #perl6
06:43 tcliou joined #perl6
06:55 iblechbot joined #perl6
07:40 barney joined #perl6
07:42 masak joined #perl6
07:42 thestarslookdown joined #perl6
07:47 a-jing joined #perl6
07:47 a-jing left #perl6
07:51 charsbar joined #perl6
07:53 rho joined #perl6
08:05 mj41_ joined #perl6
08:06 jferrero joined #perl6
08:18 fridim_ joined #perl6
08:29 pmurias joined #perl6
08:54 b_jonas joined #perl6
08:54 broquaint joined #perl6
08:55 b_jonas-2 joined #perl6
08:55 b_jonas left #perl6
09:08 elmex joined #perl6
09:12 donaldh joined #perl6
09:27 jferrero joined #perl6
09:28 chris2 joined #perl6
09:36 pugs_svn r21606 | fglock++ | [v6.pm] fixed bare_sigil
09:39 meppl joined #perl6
09:57 pen1 left #perl6
10:36 moritz_ @tell Auzon $handle.eof now works in rakudo
10:36 lambdabot Consider it noted.
10:42 wknight8111 joined #perl6
11:02 ruoso joined #perl6
11:16 sri_work joined #perl6
11:24 kanru joined #perl6
11:41 timbunce joined #perl6
11:45 BinGOs joined #perl6
11:52 BinGOs joined #perl6
11:54 monoid joined #perl6
11:54 monoid left #perl6
11:57 rindolf joined #perl6
12:10 moritz_ does anybody here no diakopter's real name? I'm working on an article for the perl review, and don't know how to attribute him
12:17 pugs_svn r21607 | fglock++ | [v6.pm] fixed operators, warnings
12:19 pmurias moritz_: what's your article about?
12:20 pmurias moritz_: see AUTHORS
12:20 moritz_ pmurias: it's an updated version  of "getting involved with perl 6"
12:20 moritz_ thanks (re AUTHORS)
12:21 moritz_ brian d foy read it on perlmonks and asked if he could use it for TPR
12:23 donaldh joined #perl6
12:36 * zamanfou is now away: In the rain my tears are forever lost.
12:52 BinGOs joined #perl6
13:07 cmarcelo joined #perl6
13:16 pugs_svn r21608 | pmurias++ | [smop] nested sm0p blocks
13:17 pmurias ruoso: just calling $interpreter.goto({$io.print("ok 3\n")}) doesn't seem to print anything
13:17 ruoso pmurias, exactly...
13:17 ruoso you need to call a loop afterwards
13:20 pmurias how am i supposed to do this the nodes after goto aren't executed?
13:21 ruoso oh...
13:21 ruoso this is inside a frame that is being run...
13:29 pugs_svn r21609 | pmurias++ | [smop] forgot a initial empty node
13:33 sri_work_ joined #perl6
13:37 pmurias ruoso: should i replace you Code implemenationn with a sm0p frame taking variant or layer the variant on top of it
13:39 ruoso pmurias, I think we can call the Code I implemented as CCode and let the variant to be "Code"
13:39 pmurias we could even have CCode.new("c_function_name")
13:42 ruoso indeed
13:44 m0py joined #perl6
13:46 pugs_svn r21610 | pmurias++ | [smop] renamed Code to CCode
13:46 icwiener joined #perl6
13:53 Jedai joined #perl6
13:54 BinGOs joined #perl6
13:56 Lorn_ joined #perl6
14:00 pugs_svn r21611 | pmurias++ | [smop] fixed previous commit
14:02 BinGOs joined #perl6
14:03 moritz_ @tell Auzon $handle.eof works - kind of. But instead I discovered that Str.split(Str) actually works in rakudo
14:03 lambdabot Consider it noted.
14:03 moritz_ rakudo: say "abc".split("b").perl
14:03 p6eval rakudo 29834: OUTPUT[["a", "c"]␤]
14:10 iblechbot joined #perl6
14:20 alester joined #perl6
14:35 pmurias pugs: our $foo=3;say $foo;say $*foo;
14:35 p6eval pugs: OUTPUT[3␤␤]
14:35 kanru joined #perl6
14:37 moritz_ our $foo; creates $main::foo, not $GLOBAL::foo
14:40 TJCRI joined #perl6
14:46 Exodist joined #perl6
14:56 pmurias moritz_: godd
14:56 pmurias * good
14:57 jferrero joined #perl6
14:58 r0bby joined #perl6
15:00 cjfields joined #perl6
15:00 pugs_svn r21612 | moritz++ | [spec] one more test in S16-io/basic-open.t, and fudged for rakudo
15:04 jhorwitz joined #perl6
15:06 Alias_ joined #perl6
15:08 pengrate_ joined #perl6
15:23 pugs_svn r21613 | moritz++ | [spec] more unfudgind, autounfudge++
15:24 * Alias_ tries to build Vanilla Parrot
15:24 Alias_ (again)
15:24 Alias_ 3 hours of cpu later...
15:25 moritz_ why does it need so long for you? weird platform?
15:25 Alias_ Windows
15:25 Alias_ I have to build all of strawberry first
15:26 Alias_ Because the win32 version only builds inside of a strawberry install
15:28 moritz_ then I guess windows qualifies as a "weird platform" ;-)
15:29 pmurias ruoso: why does Code use call instead of postcircumfix:<( )>?
15:50 rdice joined #perl6
15:50 pmurias (in CCode)
15:54 Exodist joined #perl6
16:16 pugs_svn r21614 | lwall++ | [STD] buglets
16:16 iblechbot joined #perl6
16:30 armagad joined #perl6
16:39 seakayone joined #perl6
16:40 alester joined #perl6
16:51 meppl joined #perl6
16:54 viklund joined #perl6
17:07 seakayone left #perl6
17:11 ruoso @tell pmurias, I usually forget about this convention....
17:11 lambdabot Consider it noted.
17:14 cjfields_ joined #perl6
17:18 cjfields joined #perl6
17:51 viklund I think I might have found a bug in rakudo. Classes declared with extra namespaces are empty
17:51 viklund class A {}; # works
17:51 viklund class A::A {}; # doesnt
17:51 Tene what does it do?
17:52 moritz_ viklund: I think that's a known issue, and there's a patch for it waiting in RT that needs review
17:52 viklund ok, great
17:53 Tene is there a failing test?
17:53 moritz_ dunno
17:54 moritz_ seems like, yes
17:54 moritz_ spec/S12-class/inheritance.t
17:54 moritz_ class Foo::Bar is Foo {
17:54 moritz_ spec/S04-statements/try.t
17:54 moritz_ 130:    class Naughty::Specific is Naughty {};
17:54 armagad left #perl6
17:55 armagad joined #perl6
17:56 armagad joined #perl6
17:57 moritz_ ok, the patch is not quite for that I think:
17:57 moritz_ http://rt.perl.org/rt3/Tic​ket/Display.html?id=56700
17:57 lambdabot Title: #56700: [PATCH] first pass at interpolated namespaces
17:57 moritz_ viklund: so it won't hurt to open a new ticket
18:03 viklund moritz_: Can I do that by mailing rakudobug  at perl.org or do I need an account on RT or both (probably should get one anyway)?
18:03 moritz_ viklund: mailing rakudobug
18:13 pugs_svn r21615 | jnthn++ | [spectest] Unskip a test for Rakudo, and remove some tests for the now-removed sub fallback semantics.
18:14 pugs_svn r21616 | jnthn++ | [spectest] Unskip a couple of tests that Rakudo can now pass.
18:25 viklund ehm, my email got rejected
18:26 moritz_ any reasons given?
18:27 viklund 550 550 sorry, your envelope sender is in my badmailfrom list (state 14).
18:27 viklund I'm using gmail (I have already tried with another account)
18:27 viklund which hasn't been rejected yet
18:28 viklund ahh, it worked
18:28 viklund http://rt.perl.org/rt3/Tic​ket/Display.html?id=57388
18:28 lambdabot Title: #57388: Namespaces don't work in class declarations
18:28 viklund my first bugreport ;)
18:29 [particle]1 viklund++
18:29 moritz_ welcome to the club viklund ;)
18:37 cjfields_ joined #perl6
18:41 pmurias joined #perl6
18:46 meppl joined #perl6
18:52 pugs_svn r21617 | fglock++ | [v6.pm] 0.030  # ~6200 tests pass
19:00 dduncan joined #perl6
19:08 * ruoso home &
19:14 hercynium joined #perl6
19:15 ludan joined #perl6
19:16 ludan hi
19:16 moritz_ hi ludan
19:20 simcop2387 joined #perl6
19:28 meppl good night
19:37 rindolf joined #perl6
19:54 pmurias TimToady: any guesses what reverts the cursor back to Perl? macros work when the cursor is reblessed from comp_unit, but are ignored when reblessed from deflongname
19:57 pmurias smop: $*OUT.print("hello world\n")
19:57 pmurias moritz_: the channel title is misleading... ;)
19:58 pmurias s/title/topic
19:59 lleksah joined #perl6
20:02 moritz_ pmurias: yes
20:03 moritz_ pmurias: but only channel ops can change the topic
20:04 pmurias why do we have so few of them?
20:05 pmurias adding smop: to the evalbot would make it self misleading
20:05 pmurias ;)
20:07 dduncan left #perl6
20:24 broquaint joined #perl6
20:29 moritz_ can smop actually run anything that a human can enter in less than 30s?
20:30 Tene pmurias: what would you like the topic set to?
20:30 moritz_ s/smop/elf/ perhaps?
20:31 Topic for #perl6is now http://pugscode.org/ | nopaste: http://sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, elf: etc.) || We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: http://irc.pugscode.org/
20:31 Tene > reverse . show $ foldl1 (*) [1..4]
20:31 lambdabot "42"
20:31 Tene Are there any haskellers in here still?
20:31 moritz_ seldom
20:32 moritz_ perhaps just delete that part as well :/
20:33 Topic for #perl6is now http://pugscode.org/ | nopaste: http://sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, elf: etc.) (or perl6: for all) | irclog: http://irc.pugscode.org/
20:33 Tene Is pugscode.org still the best url for this channel?
20:34 moritz_ dunno
20:34 moritz_ what else could we chose?
20:34 Tene dunno
20:34 moritz_ must discussion here is related to projects in the pugs repo
20:34 moritz_ so it's not such a bad choice after all
20:35 Tene The only discussions I pay attention to in here are spec questions and about tests, usually.
20:35 [particle] yes, pugscode.org is best
20:36 Tene Does pugs even compile with current ghc?  i think I heard that it didn't?
20:36 Auzon You can use cabal to install it.
20:36 lambdabot Auzon: You have 2 new messages. '/msg lambdabot @messages' to read them.
20:36 moritz_ Tene: it does, when you compile/install it via cabal
20:37 Tene And that information is on the website somewhere?
20:37 Tene Okay.
20:37 moritz_ Tene: no, in INSTALL
20:37 Tene Ah.
20:37 Auzon rakudo: my $foo = "a b c d e"; $foo.split(' ').perl.say
20:37 p6eval rakudo 29834: OUTPUT[["a", "b", "c", "d", "e"]␤]
20:37 Tene Okay.
20:37 Auzon rakudo: my $foo = "a b c d e"; $foo.split(/\s+/).perl.say
20:37 p6eval rakudo 29834: OUTPUT[["a b c d e"]␤]
20:38 Auzon It used to parsefail on the latter one. So something changed recently.
20:38 Auzon Thanks for finding that moritz_++
20:38 moritz_ you're welcome
20:38 moritz_ I'd suggest you use slurp, because .eof behaves weird (it only is true after reading the first line after the end of file)
20:39 Auzon Yeah, I backlogged in #parrot and saw that
20:42 pmurias TimToady: one of the things which stop the changed grammar propagation is _SUBSUME, not sure what's the right way to handle it
20:46 pmurias TimToady: _STARr and _PLUSr do it to, btw. shouldn't _PLUSr be defined in terms of _STARr?
20:51 pugs_svn r21618 | jnthn++ | [spectest] Unskip some more Range tests that now pass in Rakudo.
20:53 Jedai joined #perl6
21:03 donaldh joined #perl6
21:31 jferrero joined #perl6
21:37 iblechbot joined #perl6
21:44 thestarslookdown joined #perl6
22:04 pugs_svn r21619 | fglock++ | [PCR] 0.36
22:12 pugs_svn r21620 | fglock++ | [PCR] fixed last commit
22:14 ruoso joined #perl6
22:17 icwiener joined #perl6
22:23 Lorn joined #perl6
22:37 hercynium joined #perl6
22:40 araujo joined #perl6
22:42 icwiener_ joined #perl6
22:51 dduncan joined #perl6
22:57 pugs_svn r21621 | fglock++ | [v6.pm] require newer PCR
23:07 ludan joined #perl6
23:23 meteorjay joined #perl6

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

Perl 6 | Reference Documentation | Rakudo