pugs.blogs.com | pugscode.org | pugs.kwiki.org | paste: sial.org/pbot/perl6 | <stevan> Moose... it's the new Camel ":P | .pmc == PPI source filters!
Set by Alias_ on 16 March 2006.
svnbot6 r10332 | lwall++ | put try {} around fatal failing test 00:03
00:03 justatheory joined
svnbot6 r10333 | lwall++ | wrong number of tests 00:06
r10334 | lwall++ | wrong number of tests 00:09
00:24 shachaf joined 00:47 p5evalbot joined 00:51 p5evalbot is now known as foo213231, p5evalbot is now known as buu 00:58 p5evalbot joined 01:04 meppl joined 01:07 shachaf joined 01:25 weinig|away is now known as weinig
meppl gute nacht 01:30
01:32 rashakil joined
audreyt I'll continue triaging and releng today 01:39
but without much network connectivity
mother's day and family and all :)
bbl... &
01:59 Ymmv joined 02:24 neoesque joined 02:35 shachaf joined 02:45 Ymmv joined, meppl joined 03:04 elmex joined 03:26 frederico joined
svnbot6 r10335 | spinclad++ | - JudyHS: settled on iterator-based scanning, got rid of first scanning interface. 04:19
r10335 | spinclad++ | See doc/ext/JudyHS_3.htm for details.
r10335 | spinclad++ | Next: implement these suckers!
r10336 | spinclad++ | - JudyHS: improve safety of example code. 04:22
04:29 Quell joined
svnbot6 r10337 | Darren_Duncan++ | ext/Relation/ : updated Relation.pm to add the relational join() operator, the first of several relational operators that don't closely resemble existing Perl 6 operators 04:59
05:02 Quell joined
svnbot6 r10338 | lwall++ | !-x $file syntax broken, worked around with !(-x $file) 05:08
r10338 | lwall++ | added additional test for bug
05:09 avar joined 05:42 justatheory joined 06:15 justatheory joined
svnbot6 r10339 | Darren_Duncan++ | ext/Relation/ : added new Relation.pm methods [product (cartesian_product, cross_product, cross_join), semijoin (matching)], which are special cases of join() like intersection() is ; also added placeholders for future methods [semidifference (not_matching), compose, summarize, group, ungroup, substitute, wrap, unwrap, divide, transitive_closure (tclose)] 06:17
06:20 iblechbot joined 06:22 dduncan left 06:24 Raffaello joined
Raffaello hi everybody, I try to something, could you help me, you should only enter to www.proforumtr.com/mg 06:25
Raffaello hi everybody, I try to something, could you help me, you should only enter to www.proforumtr.com/mg 06:26
spinclad no thanks 06:32
svnbot6 r10340 | spinclad++ | - JudyHS: struct defined and functions stubbed in to JudyHS.c
spinclad (that's the JudyHSIter struct and functions) 06:34
07:35 marmic joined 08:03 r0nny joined 08:27 lisppaste3 joined 08:36 chris2 joined 09:03 DaGo joined 09:11 elmex joined 09:15 neoesque joined 09:39 neoesque joined 09:56 knewt joined
webmind can anyone tell me if the >>foo<< operators support multidimensional arrays ? 10:03
Gothmog_ I suppose it iterates over one dimension, but you can probably use it multiple times. 10:13
10:15 DaGo joined
webmind would be really nifty if it could do more at once 10:16
>><< doesn't really save much I nthink if you try to multiply 3 or 4 dimensional rasters
10:36 r0nny joined
Gothmog_ I was wrong: "Hyper operators are defined recursively on arrays" 10:38
S03
webmind hmm 10:40
does that it does it multidimensional ? 10:41
Gothmog_ dev.perl.org/perl6/doc/design/syn/S..._operators 10:43
There is an example. 10:44
10:44 ruz joined
Gothmog_ But that doesn't seem to work atm... 10:49
?eval say join ", ", (42) ōæ½xBB+ōæ½xAB (1, [2, 3], [4, 5, 6])
10:49 evalbot_10322 is now known as evalbot_10340
evalbot_10340 OUTPUT[45 ] Bool::True 10:49
Gothmog_ Uh?
At least for me, it prints "43, 44, 45"; 10:50
So it seems that it forces scalar context to the inner arrays, adding the count of elements instead of being applied recursively.
Uh, or that's with say... 10:53
You should probably ask someone who is more familiar with it. ;-)
gaal nothingmuch: ping 11:38
azuroth what is ?+? :s 11:46
ingy hi gaal 11:54
gaal hey ingy 11:58
azuroth: Gothmog_ said >>+<< but apparently your font doesn't display that
azuroth ohh, right 11:59
gaal apart from that, it look slike a user-defined operator likely to be used in a haskell arrow progam :)
wolverian the >> weren't utf8 apparently, as I didn't see them either 12:00
azuroth that makes me sad 12:01
ingy :( 12:03
12:10 ludan joined
ludan hi 12:10
12:16 chris2 joined 12:19 jsiracusa joined 12:24 nothingmuch joined 12:29 szbalint joined 12:33 rikko joined 12:39 macroron joined 13:09 bernhard joined 13:30 iblechbot joined 13:40 Ymmv joined 13:42 kanru joined 13:44 weinig is now known as weinig_, weinig_ is now known as weinig 13:46 justatheory joined
svnbot6 r10341 | fglock++ | PCR - TODO'ize tests 13:47
13:57 alexe joined, fglock joined
fglock ?eval "ab" ~~ /aa|b/ 13:59
13:59 evalbot_10340 is now known as evalbot_10341
evalbot_10341 Match.new( ok => Bool::True, from => 1, to => 2, str => "b", sub_pos => (), sub_named => {} ) 13:59
fglock ?eval "ab" ~~ /a[a|b]/ 14:00
evalbot_10341 Match.new( ok => Bool::True, from => 0, to => 2, str => "ab", sub_pos => (), sub_named => {} )
scw fglock: You could look at the $rule->{perl5} generated by ab|c 14:08
The problem is not precedence but the not-match handling 14:09
svnbot6 r10342 | fglock++ | PCR - more tests
fglock scw: right - added a test for it - thanks
scw fglock: but if we just reset $pos, it WILL backtrack 14:10
I was thinking adding a flag denoting if the subrule has matched any thing 14:11
fglock scw: "|" is a kind of backtrack, but it is allowed, I think 14:12
scw if so, other branches are cutted. Only when the unmatched subrule didn't set the flag will choose next alternation
fglock if a whole branch is matched, it doesn't backtrack - only if the branch fail 14:13
scw so ab|ac WILL match ac since it can backtrack?
seems different from what Parsec do
pmichaud for ab|ac, ab fails so it tries ac
fglock yes - but currently it is matching 'aac' because of the $pos bug 14:14
scw ok, so ratchat still backtrack in alternation
pmichaud yes, unless the alternation is in a group 14:15
(subpattern)
[ab|ac] x will match "abacx" if ratchet if off, but will fail if ratchet is on
fglock not exactly - [abc|ab]c will not match abc, for example
scw the "unit" of backtracking is a group 14:16
is it?
pmichaud every construct is treated as though it has a cut after it
(including groups)
fglock I need to leave :( &
pmichaud later, fglock 14:17
14:17 fglock left
pmichaud alternation is "special" in that there's not a natural place to cut 14:17
scw I think I'll reread the backtracking section of perlre :( 14:21
is there a construction in perl5re which does the same as ':' in rules?
pmichaud (?> ... )
(which is pretty awful)
so, the equivalent of [ab|ac]: in rules would be (?>ab|ac) in perl5re 14:22
scw enclosing the unit which is not to be backtracked over?
pmichaud yes
scw so a simple /a* : b* : c+ : d/ becomes (?>a*) (?>b*) (?>c*) d ? yuck :p 14:23
pmichaud you got it :-)
except(?>c+) 14:24
scw oh ya
pmichaud using ':' to control backtracking is *much* cleaner
TimToady++
scw I'll do some reading though, thanks, pmichaud++ 14:25
pmichaud anytime 14:26
14:28 FurnaceBoy joined 14:29 alexe left 14:36 masak left
scw oh, what I thought is '::' Backtracking over a double colon causes the surrounding group of alternations to immediately fail 14:59
Juerd There are :, ::, :::, and <commit>, each fails one more level. 15:04
Atom, group, rule, match, IIRC 15:05
15:07 gdickie joined 15:11 jserv-- joined 15:12 Aankhen`` joined
pmichaud '::' is an alternation cut, yes. 15:15
Juerd has it correct
scw that helps, clear syntax and clear meaning :) 15:18
15:44 shachaf joined 15:58 jserv-- is now known as jserv-wants-a-lo 15:59 jserv-wants-a-lo is now known as jserv-- 16:07 kanru is now known as k3u 16:14 k3u is now known as kanru 16:15 nothingmuch joined 16:44 sri_ joined
Juerd Neat. The youngest Parrot release is codenamed Feather :) 16:48
leo Juerd++ - yes
Juerd :)
leo Juerd: will you be in Delft? 16:49
Juerd Certainly 16:51
When will you travel?
leo Tue
Juerd I hope Domm contacts you before then about train tickets for me :) 16:52
leo should I take these with me or such?
Juerd That would be practical
leo aha 16:53
16:54 sri_ joined
leo well, plane is starting Tue 10:05, so he probably has to come to the airport at 9:00 16:55
Juerd afk # food :)
Okay, I'll let him know 16:56
afk
17:00 Khisanth joined 17:01 kanru joined 17:09 sri_ joined 17:35 jsiracusa joined 17:52 saorge joined 17:55 domm joined 17:56 Odin-LAP joined 17:59 Ymmv joined 18:01 masak joined 18:10 domm left 18:27 m joined 19:08 macroron joined 19:14 weinig_ joined 19:38 weinig_ is now known as weinig|away 19:54 shachaf_ joined 20:25 Quell joined 21:35 larsen joined
svnbot6 r10343 | fglock++ | PCR - fixed :ratchet + alternation bug 21:41
21:43 weinig|away is now known as weinig 21:51 fglock joined
davidfetter re 21:53
fglock davidfetter: hi! 21:54
davidfetter hi, flavio :) 21:59
what's new?
fglock everything is fine - fixing some bugs here - I've been cooking all day :) 22:07
davidfetter fglock, cooking what? 22:13
svnbot6 r10344 | fglock++ | PCR - compile_p6grammar-token.pl - added 'token' and 'regex' words; untested; may contain wrong line-endings
davidfetter fglock, apart from that... ;)
fglock first time I made pita bread that opens right 22:14
with falafel too :)
FurnaceBoy drools 22:15
fglock FurnaceBoy: :) 22:17
davidfetter pitas are easy once you know how 22:18
you need a very hot oven, tho :) 22:19
fglock otherwise they are a PITA
davidfetter lol
davidfetter looks around for people for his crazy PL/Parrot schem 22:26
+e
22:26 weinig is now known as weinig|away
fglock ducks 22:26
davidfetter heh
svnbot6 r10345 | fglock++ | PCR - warns if :sigspace is used (not implemented) 22:34
22:34 Ymmv joined
fglock davidfetter: try #parrot - but things are a bit slow today 22:37
davidfetter k 22:38
egad. "Users 3, 0@, 0%, 0+"
is that #parrot on freenode, or...? 22:39
fglock irc.perl.org I think 22:40
davidfetter ah 22:43
thanks :) 22:44
fglock np 22:45
davidfetter ponders nondeterministic polynomials 22:46
fglock no problem 22:47
davidfetter heh
fglock off to dinner & 22:51
davidfetter bon appetit
22:52 fglock left 23:17 ludan joined 23:25 froh-doh joined 23:39 oylenshpeegul joined 23:44 rashakil_ joined 23:49 neoesque joined 23:52 oylenshpeegul left