Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-05-25

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:00 moritz it works good enough to build working debian packages from it
00:00 Limbic_Region @tell audreyt the Win32/MinGW problem with the build is still a problem as of r16520
00:00 lambdabot Consider it noted.
00:00 Tene Caelum: do you have a commit bit yet?
00:00 * Limbic_Region wanders off
00:00 moritz and it's bad enough that I wouldn't dare a "make install" ;)
00:00 Aankhen`` Caelum: If you mean the thing where it overwrites your installed Perl 5 modules, yes.
00:00 Aankhen`` I learned the hard way that it does apply.
00:00 Aankhen`` Had to give up and reinstall Perl from scratch.
00:01 Caelum ouch
00:01 Aankhen`` It wasn't too hard to get most of CPAN installed, though.
00:01 Aankhen`` I just said `i Task::Catalyst`.
00:01 Caelum Tene: I wouldn't ask for one until I actually have something to commit :)
00:01 Caelum haha
00:01 Tene Aankhen``: find /usr/lib/perl5 -cmin -30 -print0|xargs -0 rm
00:04 Aankhen`` Tene: What does that do? Sorry, I'm not familiar with `find` syntax beyond -name.
00:04 Tene Aankhen``: finds all files created in the last 30 minutes.
00:04 Aankhen`` Oh, neat.
00:04 Tene actually, you'd probably want to redirect the 'find' output to a file and go through it by hand
00:04 Tene just to be sure
00:04 Aankhen`` I dunno why I was parsing -cmin as -c, -m, -i and -n.
00:04 Aankhen`` Guess it must be needing to sleep.
00:05 Tene Perhaps!
00:05 Aankhen`` DON'T YOU JUDGE ME.
00:07 rindolf joined #perl6
00:09 Aankhen`` Which punctuational variables haven't been given more descriptive names in Perl 6?
00:09 Aankhen`` I keep reading that *most* of them were renamed, but I thought they've all been renamed.
00:09 Tene $/ is still around, I think
00:10 Aankhen`` Isn't that $fh.something?
00:10 baest_ joined #perl6
00:11 Tene ?eval "foo" ~~ /<ident>/; $/
00:11 evalbot_r16510 changed their nick to evalbot_r16521
00:11 evalbot_r16521 *** Cannot parse regex: <ident>␤*** Error: ␤\Match.new(␤  ok => Bool::False, ␤  from => 0, ␤  to => 0, ␤  str => "", ␤  sub_pos => (), ␤  sub_named => {}␤)
00:15 beppu ?eval "woe is me"
00:15 evalbot_r16521 "woe is me"
00:15 moritz night &
00:18 Aankhen`` LOL beppu.
00:18 Aankhen`` G'night moritz.
00:40 nipotaway changed their nick to nipotan
00:52 nipotan changed their nick to nipotaway
01:27 nipotaway changed their nick to nipotan
01:59 svnbot6 r16522 | unobe++ | * updated buildbot config and added README w/link to currently active buildbot
02:12 luqui joined #perl6
02:12 luqui left #perl6
02:13 Aankhen`` ?eval my %foo{ Any }; $foo{<a b c d>} = 5; $foo{<a b c d>}
02:13 evalbot_r16521 [5, undef, undef, undef]
02:13 Aankhen`` Hmm.
02:14 Aankhen`` ?eval class Foo { }; my %foo{ Any }; my $obj = Foo.new(); $foo{ $obj } = 5; $foo{ $obj }
02:14 evalbot_r16521 \5
02:14 Aankhen`` ?eval class Foo { }; my %foo{ Any }; my $obj = [ Foo.new() ]; $foo{ $obj } = 5; $foo{ $obj }
02:15 evalbot_r16521 \5
02:15 Aankhen`` Oooh.
02:15 Aankhen`` Sweet.
02:15 Aankhen`` ?eval class Foo { }; my %foo{ Any }; my $obj = [ Foo.new() ]; $foo{ $obj } = 5; $foo{ $obj }; $foo.perl
02:15 Aankhen`` ?eval class Foo { }; my %foo{ Any }; my $obj = [ Foo.new() ]; $foo{ $obj } = 5; $foo{ $obj }; %foo.perl
02:15 evalbot_r16521 "\{(\"<obj:Foo>\" => 5),}"
02:15 evalbot_r16521 "\{(\"Any\" => undef),}"
02:15 Aankhen`` ?eval class Foo { }; my %foo; my $obj = [ Foo.new() ]; $foo{ $obj } = 5; $foo{ $obj }; %foo.perl
02:16 evalbot_r16521 "\{}"
02:23 spinclad ?eval class Foo { }; my %foo; my $obj = [ Foo.new() ]; %foo{ $obj } = 5; say %foo{ $obj }; %foo.perl
02:23 evalbot_r16521 OUTPUT[5␤] "\{(\"<obj:Foo>\" => 5),}"
02:25 spinclad ?eval class Foo { }; my %foo; my $obj1 = [ Foo.new() ]; my $obj2 = [ Foo.new() ]; %foo{ $obj1 } = 5; %foo{ $obj2 } = 6; say %foo{ $obj1 }, %foo{ $obj2 }; %foo.perl
02:25 evalbot_r16521 OUTPUT[66␤] "\{(\"<obj:Foo>\" => 6),}"
02:27 spinclad probably %foo{$obj} indexes by stringification still
02:29 Caelum trying to compile pugs brought my computer to a crawl... I think I'll start that when I go home
02:30 Aankhen`` spinclad: Yeah, I guess so.
02:30 Caelum pugs doesn't stringify the memory addresses?
02:30 Aankhen`` Nope.
02:30 Caelum why? to not scare people?
02:31 Aankhen`` I dunno.
02:32 Aankhen`` Maybe it's a conspiracy.
02:38 obvio171_ joined #perl6
02:39 obvio171_ joined #perl6
02:44 justatheory joined #perl6
02:53 mako132 joined #perl6
02:59 dolmans joined #perl6
02:59 jrockway joined #perl6
03:21 prly_ joined #perl6
03:29 Aankhen`` ?eval [+] (1, 2, $_ if $_ % 2 for 1 .. 10, 8)
03:29 evalbot_r16521 changed their nick to evalbot_r16522
03:29 evalbot_r16522 Error: ␤Unexpected "if"␤expecting operator or ")"
03:29 Aankhen`` Dang.
03:38 prly joined #perl6
03:39 SubStack joined #perl6
03:51 prly__ joined #perl6
03:56 prly_ joined #perl6
04:01 prly___ joined #perl6
04:02 meppl good morning
04:04 Aankhen`` rhr: Are you sure you can have both a module Units and a grammar Units?  Don't they share the same namespace?
04:07 prly____ joined #perl6
04:10 amnesiac joined #perl6
04:12 Aankhen`` rhr++ # unitsdat-grammar.pm makes for very interesting reading
04:12 prly joined #perl6
04:13 toku_away changed their nick to tokuhirom_
04:34 prly_ joined #perl6
04:34 svnbot6 r16523 | rhr++ | [unitsdat-grammar.pm] Call the generic grammar UnitsGeneric Aankhen``++
04:34 svnbot6 r16523 | rhr++ | Perl doesn't have those weird 1|2 fractions
04:38 rhr Aankhen``: I'm not sure if they have the same namespace or not.  S10 and S11 don't seem to mention grammars.  It should have had a better name anyway...
04:45 REPLeffe1t joined #perl6
04:53 GeJ_ joined #perl6
04:58 myren left #perl6
05:03 REPLeffect joined #perl6
05:08 BooK_ joined #perl6
05:22 Aankhen`` rhr: AFAIK, grammars are just a specialized version of classes, so I think they share the same namespace.
05:23 Aankhen`` rhr: So, a question about the units grammars.  Is UnitsGeneric supposed to function as an abstract base grammar of sorts?
05:23 Aankhen`` I ask since `m` and `p` appear to be left to derived grammars to define.
05:24 Aankhen`` If so, do you think it would make sense to put in `regex m { { ... } }; regex p { { ... } };`?
05:24 buetow joined #perl6
05:25 jisom joined #perl6
05:28 ddwagnz joined #perl6
05:30 kanru joined #perl6
05:37 * Aankhen`` suddenly can't remember why he was reading A05.
05:38 ddwagnz left #perl6
06:08 zperl joined #perl6
06:09 buetow joined #perl6
06:10 zperl New FreeBSD 6.2i386 Smoke report
06:10 zperl http://m19s28.vlinux.de/iblech/stuff/pugs-sm​okes/pugs-smoke-6.2.13-r16522-freebsd-normal​--1180072974-3721--14141-13171-970-1589-679-​28--fa8a2010c1544e26eac312119a096a8b.html
06:10 lambdabot Title: TAP Matrix - Fri May 25 05:48:58 2007 GMT, http://tinyurl.com/24xz37
06:12 dduncan joined #perl6
06:23 uncle joined #perl6
06:24 obvio171_ changed their nick to obvio171
06:24 uncle how do i list all of the modules that are in perl
06:25 uncle im at cpan and one of the modules has dependent modules.. i need to see if i have these already installed
06:27 Averell joined #perl6
06:30 mjk joined #perl6
06:38 Aankhen`` uncle: I think you want #perl
06:41 amnesiac I want #perl6 :(
07:01 davidwu joined #perl6
07:14 devogon joined #perl6
07:21 iblechbot joined #perl6
07:26 elmex joined #perl6
07:26 franck__ joined #perl6
07:53 rho joined #perl6
08:01 BooK joined #perl6
08:20 kanru2 joined #perl6
08:49 riffraff joined #perl6
08:50 riffraff hi
08:51 Tene hi
08:53 ozo left #perl6
08:54 moritz hi ;)
08:55 riffraff nice topi :)
08:55 riffraff *topic
08:56 moritz it would be nicer if it was just a choke ;)
08:57 baest joined #perl6
08:58 riffraff eh
09:00 moritz s/ch/j/
09:00 moritz I'm not yet fully awake ;)
09:00 weinigLap joined #perl6
09:01 riffraff is there a graph of the perl6 class/role hierarchy somewhere ?
09:02 Aankhen`` If you mean "all builtin classes and roles", I don't believe there's any up-to-date graph.
09:02 riffraff though so
09:03 riffraff *thought
09:03 riffraff I have a problem with /.$/ today
09:03 Aankhen`` You don't like having your lines end with a character?
09:03 aukjan|gone changed their nick to aukjan
09:04 riffraff no, I just forgot to type the right one 2 times out of 4
09:04 moritz what about /.\b/?
09:04 Aankhen`` Awww.
09:06 * riffraff uploads smoke tests
09:10 trunix joined #perl6
09:35 isaacd joined #perl6
09:38 aukjan changed their nick to aukjan|gone
09:38 aukjan|gone changed their nick to aukjan
09:41 rindolf joined #perl6
09:52 takanori joined #perl6
09:57 miyagawa joined #perl6
09:58 the_dormant joined #perl6
10:10 rfordinal_ joined #perl6
10:37 Aankh|Clone joined #perl6
10:39 iblechbot joined #perl6
10:43 IllvilJa joined #perl6
10:47 nipotan changed their nick to nipotaway
10:48 dduncan left #perl6
10:52 Zaba joined #perl6
10:52 Zaba moin
10:52 Zaba Extra space found after &test (...) -- did you mean &test(...) instead?
10:53 Zaba why is it so?
10:53 prism joined #perl6
10:55 Gothmog_ func() differs from func (), so print (func 2, 3), @bar; now prints @bar, too, and you don't have to say print((func 2, 3), @bar) any more.
10:55 moritz I guess too many people fell into the 'print (2+3)*4' trap
10:55 Juerd Errh, no.
10:56 moritz that would evaluate to (print(2+3)+4
10:56 Juerd print (func 2, 3), @bar does not print @bar.
10:56 Juerd moritz: )
10:56 moritz Juerd: right
10:56 Zaba hrm
10:56 Juerd Zaba: You shouldn't use &test
10:56 Zaba Juerd, i don't.
10:56 Juerd Zaba: Drop the &.
10:56 Zaba i don't use the &.
10:56 Juerd ok
10:58 moritz depending on what you want to do, maybe you could use test: @args; or something
10:58 moritz but I don't understand the : syntax sufficiently ;(
10:59 Zaba seems perl gets more comp[licated
10:59 Zaba =(
11:03 chris2 joined #perl6
11:05 mj41 joined #perl6
11:09 Juerd moritz: $object.method: LIST
11:09 Juerd moritz: method $object: LIST
11:09 Juerd print $fh: LIST;
11:09 Juerd $fh.print: LIST;
11:09 Juerd $fh.print(LIST);
11:10 moritz Juerd: no more magic than that? cool ;)
11:10 Juerd moritz: It's OO only.
11:10 Juerd moritz: It's the "invocant marker"
11:10 moritz Juerd: thanks
11:10 Juerd Normal subs don't need special syntax to be used without parens.
11:11 Juerd moritz: There is very little magic in Perl 6.
11:12 moritz Juerd: I disagree, but perhaps we have different notions of "magic" ;)
11:12 moritz how can you read S05 without thinking "wow, that's magic"? *g*
11:24 renormalist joined #perl6
11:35 isaacd joined #perl6
11:40 fglock joined #perl6
12:04 Limbic_Region joined #perl6
12:09 fglock the YAPC::Europe Perl6-in-Perl6 and Perl6-in-Perl5 hackathon is confirmed - I'll be there :)
12:10 kolibrie woot!
12:10 riffraff when is it?
12:10 fglock by the end of august
12:12 Limbic_Region salutations all
12:13 Schwarze-Allianz joined #perl6
12:20 rindolf Hi all.
12:20 rindolf Hi Limbic_Region, fglock, riffraff , moritz , Juerd
12:20 rindolf Limbic_Region: what's up?
12:20 rindolf Limbic_Region: didn't you say you had children?
12:20 Limbic_Region My daughter is almost 16 months yes
12:21 dmq joined #perl6
12:21 riffraff hei rindolf
12:22 rindolf riffraff: ahoy.
12:22 rindolf Limbic_Region: nice.
12:22 rindolf Limbic_Region: I didn't have a gf yet.
12:23 Yaakov Limbic_Region: My daughter is almost 85 months.
12:25 rindolf Yaakov: heh.
12:25 rindolf Limbic_Region: I wonder if Yaakov saw what I said. He may have lost context.
12:25 rindolf /ignore is stupid most of the time.
12:26 rindolf And lots of people abuse it.
12:26 rindolf I used it only once and it was in #politics.
12:26 rindolf With someone that everyone believed should have been banned.
12:28 Limbic_Region rindolf - I am not paying attention to the channel (work) so I apologize if I sound rude for not replying
12:29 rindolf Limbic_Region: that's OK.
12:30 dmq naty man
12:30 dmq :-)
12:32 Schwarze-Allianz left #perl6
12:47 moritz re
12:52 vel joined #perl6
13:04 the_dormant joined #perl6
13:07 Zaba eh
13:46 isaacd_ joined #perl6
13:46 pmurias joined #perl6
13:49 pmurias fglock: it's great you will be at YAPC::Europe
13:58 aukjan changed their nick to aukjan|gone
13:58 renormalist pmurias: ack, seems the next YAPC::Europe is a "must attend"
14:00 pmurias ack means?
14:01 moritz acknowledge
14:11 Psyche^ joined #perl6
14:23 amnesiac joined #perl6
14:29 Psyche^ changed their nick to Patterner
14:38 jabbot joined #perl6
14:59 rafl joined #perl6
15:00 avarab joined #perl6
15:11 avarab_ joined #perl6
15:19 REPLeffect joined #perl6
15:19 _bernhard joined #perl6
15:19 weinigLap joined #perl6
15:21 avar joined #perl6
15:24 pmurias mortiz: thanks
15:24 lumi joined #perl6
15:31 avarab joined #perl6
15:36 kunwon1 joined #perl6
15:39 REPLeffect joined #perl6
15:40 rindolf joined #perl6
15:40 avarab_ joined #perl6
15:50 avar joined #perl6
15:54 rashakil joined #perl6
15:59 aukjan812 joined #perl6
15:59 aukjan812 changed their nick to aukjan
16:00 avarab joined #perl6
16:04 rafl joined #perl6
16:09 cj anything new and exciting here?
16:13 justatheory joined #perl6
16:16 fglock joined #perl6
16:17 avarab changed their nick to avar
16:32 zperl joined #perl6
16:32 thepler joined #perl6
16:34 * offby1 glances around nervously.
17:16 fglock pmurias: will you be in Vienna?
17:16 IllvilJa joined #perl6
17:35 Psyche^ joined #perl6
17:42 SubStack joined #perl6
17:50 Psyche^ changed their nick to Patterner
17:57 zperl hi
17:58 zperl is runjs.pl working or not atm?
17:58 zperl i tried the following but didnt work: ./runjs.pl -e 'say "Hello, World!"'
17:59 lichtkind joined #perl6
17:59 zperl Getting the following error: internalerror: Too much recursion
18:03 renormalist joined #perl6
18:13 jisom joined #perl6
18:17 fglock zperl: the javascript backend is in need for a maintainer
18:19 * offby1 nominates zperl
18:33 zperl_1 joined #perl6
18:38 stef_ joined #perl6
18:39 Loro_ joined #perl6
18:40 the_dormant joined #perl6
18:46 fglock http://search.cpan.org is down?
18:46 lambdabot Title: The CPAN Search Site - search.cpan.org
18:47 moritz then lambdabot wouldn't print its title ;)
18:51 fglock I get a proxy error; not from my proxy
18:52 * moritz tries it
18:52 moritz works like a charm
18:53 fglock moritz: thanks
18:53 mr_ank joined #perl6
18:54 stevan__ joined #perl6
18:55 sahadev joined #perl6
19:09 isaacd__ joined #perl6
19:22 REPLeffe1t joined #perl6
19:30 moritz fglock: you're not alone though - somebody in #perlde complained as well
19:31 sahadev greetings everyone. it's been a while since i've been in pugs-land. can anyone elaborate or provide pointers to what the topic means?
19:31 japhb joined #perl6
19:31 moritz sahadev: pugs "make install" might overwrite some p5 modules
19:32 moritz which pretty much breaks perl
19:32 moritz so if you compile it, just run it locally without installing for now
19:35 the_dormant_ joined #perl6
19:40 sahadev moritz: thanks.
19:42 moritz you're welcome
19:54 moritz in the "Perl 6 Design Minutes" on use.perl.org there was link to a fairly new perl 6 blog: http://diveintoperl6.blogspot.com/
19:54 lambdabot Title: Dive into Perl 6
19:54 svnbot6 r16524 | unobe++ |  unobe-- | * require buildbot slaves to change config.yml in order to upload smoke
19:57 svnbot6 r16525 | unobe++ |  unobe-- | * typo
19:58 cap joined #perl6
19:59 moritz unobe++ # correcting his/her own mistakes
20:00 dduncan joined #perl6
20:01 fglock thoughtpolice++ # new blog
20:01 moritz that's thoughpolice? I didn't notice that ;)
20:02 dduncan does anyone know if irc.perl.org is down?
20:03 moritz it's not, I'm still connected
20:03 renormalist me2
20:03 dduncan hm, nevermind
20:03 dduncan it was just slow to resolve
20:04 SubStack joined #perl6
20:09 cap left #perl6
20:14 fglock @tell thoughtpolice: re blog - "say @arr[1]; //this will output 2" should be "say @arr[1]; # this will output 2"
20:14 lambdabot Consider it noted.
20:18 stef_ joined #perl6
20:18 sahadev left #perl6
20:27 Gwall joined #perl6
20:27 Gwall left #perl6
20:30 the_dormant joined #perl6
20:34 fglock the TPF page at http://www.perlfoundation.org/sponsors had the html escaped to &gt;/&lt;
20:35 moritz ;)
20:36 Aankh|Clone changed their nick to Aankhen``
20:38 spinclad @tell fglock: you won't get this message (try @tell nick, not nick:)
20:38 lambdabot Consider it noted.
20:38 Aankhen`` Heh.
20:39 jabbot joined #perl6
20:39 fglock spinclad: thanks
20:39 Aankhen`` thoughtpolice == blogger on Dive Into Perl 6?
20:40 fglock Aankhen``: it seems so
20:40 Aankhen`` Ah.
20:41 Aankhen`` thoughtpolice++ # very cool stuff
20:43 Aankhen`` Also, you must always explicitly define your variables in Perl 6 using 'my.' # is this correct, though?  Even when strict is off?
20:44 Tene ?eval $f = 1; print $f;
20:44 evalbot_r16522 changed their nick to evalbot_r16524
20:44 evalbot_r16524 OUTPUT[1] Bool::True
20:45 thoughtpolice joined #perl6
20:46 Aankhen`` Okay. :-)
20:46 Aankhen`` Hiya thoughtpolice.
20:46 thoughtpolice hey :)
20:46 Aankhen`` (Dive into Perl 6)++
20:46 thoughtpolice oh
20:46 thoughtpolice you saw it?
20:47 Aankhen`` One nit though: "Also, you must always explicitly define your variables in Perl 6 using 'my.'" isn't entirely true.  Strict just happens to be the default.
20:47 thoughtpolice thanks :)
20:47 Aankhen`` Yup, came across a link in #perl @ irc.perl.org yesterday.
20:47 thoughtpolice hah
20:47 thoughtpolice didn't figure it got mentioned there
20:47 thoughtpolice i was about to ask you guys to look over it and give me some criticisms
20:47 Aankhen`` avar probably had some deeper plan. ;-)
20:48 thoughtpolice i'm still pretty new to perl 6 in general but the blog is helping to develop my skills in the language and hopefully spread some info; both are my goals.
20:48 Aankhen`` It's an excellent idea.
20:48 thoughtpolice and since today was the last day of school, i have plenty of time to write during the summer.
20:48 thoughtpolice thanks.
20:48 moritz ?eval "123" ~~ m/.+/; +$/
20:48 thoughtpolice i remember seeing blogs like "dive into INTERCAL" and I thought "why doesn't perl 6 have it's own 'dive into'?"
20:48 Aankhen`` Heh.
20:48 evalbot_r16524 123.0
20:48 thoughtpolice but so far i've been getting some good feedback
20:49 moritz thoughtpolice: it's a pity that I can't comment without a google account
20:49 moritz otherwise it's very cool ;)
20:49 thoughtpolice moritz: i can change that right quick
20:49 spinclad in INTERCAL that's "PLEASE dive from <otherlang>"
20:49 thoughtpolice haha
20:49 thoughtpolice i actually wrote some INTERCAL recently
20:50 thoughtpolice to count from 1 to 10, but I never got it to fully work, I mean, it counted, but it failed on err after it was done.
20:50 thoughtpolice i'm actually writing 'round 2' for the blog right now, but I'm sort of compiling the latest pugs repo.
20:52 fglock thoughtpolice: re blog - "say @arr[1]; //this will output 2" should read "say @arr[1]; # this will output 2"
20:52 Aankhen`` spinclad++ # ROTFLMAO
20:52 spinclad INTERCAL teaches politeness
20:52 thoughtpolice fglock: oh, right. sorry :)
20:53 thoughtpolice Aankhen``: I edited the post and gave you a shout out :)
20:53 fglock home &
20:53 Aankhen`` thoughtpolice: Heh, cool.
20:53 thoughtpolice fglock: i changed that too.
20:53 thoughtpolice keep the errata coming, guys. i'd appreciate it. :)
20:54 the_dormant_ joined #perl6
20:54 thoughtpolice moritz: I changed the comment setting; if you still want to, go for it. :)
20:54 moritz thoughtpolice: you write about "builtin functions" that can be called like methods - that's because they _are_ _methods_, not functions
20:54 moritz that's what I wanted to comment ;)
20:54 thoughtpolice ah. thanks.
20:55 thoughtpolice :)
20:55 thoughtpolice like I said, if you guys would keep pointing out errata i'd appreciate it; it'd help progress the blog and keep it up to date.
20:56 Aankhen`` Sur.e
20:56 Aankhen`` s/.e/e./
20:57 moritz can I use m/ <( ... )> | something/ in a regex?
20:57 Aankhen`` Whatcha mean?
20:57 moritz rather m/ '"'<( ... )>'"' | something/
20:57 Aankhen`` Seems like valid syntax to me.
20:57 moritz ok
20:57 Aankhen`` Er, what are you trying to do?
20:57 moritz Aankhen``: I'm parsing apache log files...
20:58 moritz Aankhen``: and the referer is either a - or "..."
20:58 Aankhen`` Ohh.
20:58 Aankhen`` / '...' | something /
20:58 moritz Aankhen``: and in case of "..." I don't want the quotes in the match object
20:58 Aankhen`` / '"' <( '...' )> '"' | something /
20:59 Aankhen`` <( ... )> # AIUI, this matches three characters and saves that as the match object.
20:59 moritz <( <-["]> )> actually
20:59 Aankhen`` Well, you know what I mean. ;-)
20:59 moritz Aankhen``: the ... were metsayntactic ;)
20:59 Aankhen`` Oh.
20:59 Aankhen`` Mmm.
20:59 Aankhen`` Yes, well, seems like valid syntax.
21:00 Aankhen`` "Either match these characters and save the result in $/, or match something else."
21:06 moritz commitbit not working/timeouting again :(
21:07 moritz a few minutes ago there was a patch posted
21:08 moritz should I incorporate it, or just send a commitbit to the poster?
21:08 moritz or apply the patch, and ask him if he want a commitbit?
21:09 Tene moritz: a patch to commitbit?
21:09 moritz Tene: no, to pugs ;)
21:09 moritz sorry, was jumping between topics ;)
21:09 obra Anyone who wants a commitbit commitbit should poke me ;)
21:10 * Aankhen`` commits bits of obra.
21:11 moritz ok, I'm applying the patch
21:13 svnbot6 r16526 | moritz++ | patch and test cases for zero or negative argument to 'x' and 'xx' operator
21:13 svnbot6 r16526 | moritz++ | postet ond p6l by chas_owens++
21:17 JarJarBinks joined #perl6
21:20 moritz s/postet/posted/ # sorry, I'm from Franconia, we don't distinguish between 'd' and 't' very clearly ;-)
21:22 svnbot6 r16527 | rhr++ | [unitsdat-grammar.pm] Add NumUnit, StrUnit, and StrDispUnit roles
21:22 svnbot6 r16527 | rhr++ | Commentary explaining how it's all supposed to work
21:22 svnbot6 r16527 | rhr++ | lots of little fixes etc. Aankhen``++
21:25 Aankhen`` rhr: One comment.  If you just say `token m { ... }`, doesn't that match three characters in a row rather than functioning as the yada yada yada operator?
21:25 wolverian hm, apache2 is eating a lot of pu
21:26 wolverian er, cpu
21:26 Aankhen`` NO PU.
21:27 Aankhen`` rhr: My suggestion was `token m { { ... } }` and so on.
21:27 moritz pugs build is taking lots of memory - the ony thing that regularly consumes more on my box is enblend
21:27 moritz s/ony/only/
21:28 Aankhen`` What's enblend?
21:28 Aankhen`` Ugh.
21:28 * Aankhen`` wanders off to shower.
21:28 moritz Aankhen``: when you stitch panorma images that maks the colors smoother
21:28 Yaakov Yes, I feel dirty too!
21:28 moritz at the edges of images
21:30 rhr Aankhen``: doh!
21:37 svnbot6 r16528 | rhr++ | [unitsdat-grammar.pm] s/'...'/'{ ... }'/ Aankhen``++
21:37 svnbot6 r16529 | moritz++ | added an example log file parser in its early stage to misc/pX/Common/
21:37 moritz in the example just commit I get a weird error message (documented in README). Could anbody please take a look into the grammar?
21:38 moritz s/commit/commited/
21:40 * moritz is too tired to be really productive
21:41 * Tene svn up
21:42 ggoebel joined #perl6
22:06 Aankhen`` moritz: Ah, I see.  Interesting app.
22:07 Aankhen`` Yaakov: That's because you *are* dirty. Filthy. All that sort of stuff.
22:07 Aankhen`` rhr: Heh, no worries, it happens. ;-)
22:07 moritz Aankhen``: any idea what might be problem?
22:07 moritz or just an implementation bug?
22:07 Aankhen`` moritz: Sorry, I meant <moritz> Aankhen``: when you stitch panorma images that maks the colors smoother
22:07 Aankhen`` Haven't seen the parser yet.
22:08 moritz Aankhen``: ok ;)
22:08 Aankhen`` Do keep in mind that most major features don't work yet with regards to rules. :-(
22:09 Aankhen`` $<requesttype> := <+[A-Z]> # usually GET or POST # I'm guessing that's the problem...
22:09 Aankhen`` ?eval my $foo = "abcd"; $foo ~~ /$<bar> := (..) $/; $/<bar>
22:10 evalbot_r16524 changed their nick to evalbot_r16527
22:10 evalbot_r16527 *** Cannot parse regex: $<bar> := (..) $␤*** Error: ␤\undef
22:10 moritz damned, A-Z is old syntax
22:10 Aankhen`` yus thut too
22:11 moritz Aankhen``: the regex you just posted works for me locally
22:11 Aankhen`` Hmm, you're right.
22:12 moritz that's just evalbot's weirdness with character classes
22:12 Aankhen`` Hey, isn't there no \v any more?
22:12 Aankhen`` $<url> := (\v+)
22:12 moritz where?
22:12 moritz i looked in S05 before I wrote that
22:12 moritz it was still there
22:13 Aankhen`` Oh, whoops.
22:13 Aankhen`` Hmm, which one was it that disappeared?
22:13 moritz still, the output is "invalid aliased subrule"
22:13 Aankhen`` Yeah.
22:14 Aankhen`` By the way... token remotehost  { \V+ };         # anything but horizontal spaces
22:14 Aankhen`` Don't you want \H+ there since you want anything but horizontal spaces?
22:14 moritz ah, right
22:15 moritz maybe it's a problem that the tokens and the object variables have the same name
22:15 Aankhen`` Durr.  I didn't realize that non-working examples shouldn't be in examples/.
22:24 rhr hmm, should I move examples/rules/unitsdat-grammar.pm to misc/pX/Common/Units.pm or something like that?
22:41 Aankhen`` rhr: I was trying to figure out whether I should move mine too.
22:42 Aankhen`` Though I take heart from the fact that examples/rules/basic.pl doesn't work either.
23:01 malar joined #perl6
23:20 demq joined #perl6
23:22 REPLeffect joined #perl6
23:26 fridim joined #perl6
23:28 stef_ joined #perl6
23:39 trunix joined #perl6

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

Perl 6 | Reference Documentation | Rakudo