svn switch --relocate svn.openfoundry.org/pugs svn.pugscode.org/pugs/ | run.pugscode.org | spec.pugscode.org | paste: sial.org/pbot/perl6 | pugs.blogs.com | commitbot down
Set by avar on 14 November 2006.
00:32 sweinig|food is now known as sweinig 00:44 svnbot6 joined, evalbot_r14758 joined 00:56 mako132_ joined 00:57 lyokato joined 01:14 scw joined 01:16 kanru joined 01:20 duend joined 01:23 dmq joined 01:31 fayland joined 01:38 eggzeck[laptop] is now known as eggzeck 01:46 rodi joined 01:54 sweinig is now known as sweinig|zZz 01:55 nipotaway is now known as nipotan 02:10 Alias_ joined 02:24 vel joined 03:03 H0LE joined 03:16 penk joined, dduncan joined
dduncan So, in regards to the weekly list summaries, I'm going to bet that Larry's last statement in the ordinal operators thread will make the quotable quote introduction: "You guys should read The Search for the Perfect Language, by Umberto Eco. It would disabuse you of the notion that perfect orthogonality is possible or even desirable." 03:18
03:19 AzureBOT joined
dduncan TimToady, were you implying that you don't like the proposal to rename operators to [ == , +== , ~== ] then? Or did you just dislike some of the other stuff discussed in the thread? 03:21
03:22 kanru joined 03:45 nicodaemos_ joined 03:58 awwaiid joined
svnbot6 r14759 | gnuvince++ | Added cases to t/operators/assign.t to test for skipped values in list 04:00
r14759 | gnuvince++ | assignment. The equivalent of Perl 5's my ($foo, undef, $bar)
avar svn switch --relocate svn.openfoundry.org/pugs svn.pugscode.org/pugs/ | run.pugscode.org | spec.pugscode.org | paste: sial.org/pbot/perl6 | pugs.blogs.com | 04:01
avar svn switch --relocate svn.openfoundry.org/pugs svn.pugscode.org/pugs/ | run.pugscode.org | spec.pugscode.org | paste: sial.org/pbot/perl6 | pugs.blogs.com
avar the commitbot is up! 04:01
04:19 stevan_ joined 04:22 penk joined 04:24 scw_ joined 04:41 Southen joined, clkao joined, obra joined, tewk joined, avar joined 04:42 TreyHarris joined, mr_ank joined, BooK joined 04:43 jrigby joined, nothingmuch joined 04:44 bennymack joined, jrockway joined, qmole joined, Patterner joined, penk joined, stevan_ joined, awwaiid joined, nicodaemos_ joined, dduncan joined, Alias_ joined, rodi joined, fayland joined, dmq joined, evalbot_r14758 joined, svnbot6 joined, lambdabot joined, bsb joined, Aankhen`` joined, gnuvince joined, mugwump joined, thepler_ joined, buubot joined, buu joined, frankg joined, dbrock joined, ofer0 joined, Kattana joined, nekokak__ joined, ruz joined, integral joined, mako132 joined, sweinig|zZz joined, webmind joined, pmichaud_ joined, plural joined, leo_ joined, chip joined, Juerd joined, audreyt joined, wolverian joined, lde joined, xinming joined, eviltwin_b joined, spo0nman joined, f0rth joined, miyagawa_ joined, lumi_ joined, puddingpimp_work joined, perlbot joined, mdiep joined, araujo joined, PerlJam joined, pdcawley joined, TimToady joined, ashleyb joined, norageek joined, [particle] joined, sjn joined, idiotmax joined, kane-xs joined, gantrixx joined, scsibug joined, Odin- joined, wilx joined, revdiablo joined, meppl joined, takesako joined, takanori_ joined, cognominal joined, hcchien joined, tcliou joined, kalven joined, jiing joined, Yappo joined, rafl joined, nine joined, Ikarus joined, nipotan joined, kolibrie joined, pnu joined, Maddingue joined, Shabble joined, gaal joined, broquaint joined, nnunley joined, kcwu joined, rafl_ joined, cj joined, kane-xs_ joined, orafu joined, Debolaz joined, sri joined, rgs joined, knewt joined, spinclad joined, GeJ joined, Grrrr joined, cmeyer joined, LCamel joined, cookys joined, masak joined, dvorak joined, prism joined, beppu_ joined, buu joined 04:45 baest joined, Daveman joined 04:49 amv joined 04:53 seano joined 05:20 fayland joined 05:26 baest joined 05:46 klausen joined 05:47 H0LE joined 05:49 klausen left 06:04 awwaiid joined 06:15 BooK joined 06:17 iblechbot joined 06:21 buetow joined 06:32 Khisanth joined 06:33 Grrrr joined 06:44 drrho joined 07:00 fayland_ joined
masak print unless (state $)++; 07:06
is this equal to print; ?
07:27 marmic joined
gaal @moose 07:49
lambdabot Maybe you meant: choose more
gaal @moosages
lambdabot nothingmuch said 9h 45m 18s ago: i'm off to sleep now, i'll do it first thing in the morning
nothingmuch said 9h 44m 45s ago: btw, i have more maint work so this fits in (cookiecutter, etc). in short, don't bother
08:03 nipotan is now known as nipotaway 08:20 duend is now known as duend`sleeping 08:32 zakharyas joined 08:36 root4o joined
root4o just watching this : video.google.com/videoplay?docid=85...rogramming 08:37
lambdabot Title: Aspect Oriented Programming: Radical Research in Modularity - Google Video, tinyurl.com/y86nhh
root4o with perl6 we will have similar stuff right ?
after, before ...and things similar to that mentioned int the video...poincuts and jointpoints ? 08:38
I mean Roles cover this ? right ? 08:39
i mean aspect oriented programming 08:40
Alias_ We can do that to a degree now
Things like Hook::LexWrap let you insert the hooks on the fly 08:41
root4o what about perl6 ..? 08:48
Alias_ not sure, but I imagine people would hate to lose features :) 08:49
So my bet would be yes :)
root4o :) 08:50
me too ..but asking here.. to be sure
08:50 nipotaway is now known as nipotan 08:51 BooK_ joined 09:17 root4o left 09:22 Lorn joined 09:23 ron_ joined, elmex joined 09:26 ron_ joined 09:37 andara joined 10:17 Kattana joined, ludan joined 10:25 wolverian_ joined
nothingmuch @pl map (\f -> f x) 10:29
lambdabot map ($ x)
10:40 lumi_ is now known as lumi 10:46 ludan joined
ludan hi 10:47
10:50 buetow joined 10:55 SamB joined
nothingmuch gaal: /scrollback end 10:56
nothingmuch had 4 days of unscrolled #haskell ;-)
11:03 nipotan is now known as nipotaway
svnbot6 r14760 | fglock++ | v6.pm - allow non-modifiable params in "token" 11:03
11:07 fglock joined
svnbot6 r14761 | fglock++ | MP6 - fixed perl5 runtime; implemented built-in tokens like <ident> 11:09
11:10 pjcj joined 11:12 kanru joined
fglock [OT] anyone from TPF around? re: redirect 'www.yapc.org/SA' to 'yapc.perl.org.br' 11:12
11:14 mj41 joined 11:40 eggzeck joined 11:42 eggzeck joined
gaal nothingmuch: excellent, thanks 11:48
11:48 ofer1 joined 12:06 mj41_ joined 12:11 kane-xs_ left 12:14 chris2 joined 12:20 Psyche^ joined 12:23 boo__ is now known as boo_ 12:28 gaal_ joined 12:30 H0LE joined, gaal_ is now known as gaal 12:32 dduncan left 12:36 Psyche^ is now known as Patterner 12:37 baest joined
svnbot6 r14762 | fglock++ | MP6 - implemented postcircumfix:<( )> method, as in '$obj.()' 12:46
13:06 Limbic_Region joined
dmq looks in 13:07
13:07 anatolyv joined 13:08 Psyche^ joined 13:25 Psyche^ is now known as Patterner 13:28 capixaba joined 13:33 gene9 joined
cognominal I can't see why I am wrong here: $_ = "token a"; s :s :g /(token (\w+))/a name="$1">$0<\/a>/; say $_; 13:39
I would expect a sucessful substition
..substitution! 13:40
13:42 GnuVince joined 13:46 HiTech69 joined 13:50 bonesss joined
kolibrie cognominal: regex captures nest, so you have $0 (token a) and $0[0] (a), but no $1 13:52
Limbic_Region kolibrie - and presumably things "nest" from left to right? /( () () ( () ) )( )/ so there is a $0 and a $1, $0 has 3 elements, and the 3rd element of $0 has 1 element the other 2 0? 13:55
13:56 iblechbot joined
kolibrie Limbic_Region: that is how I understand things 13:58
Limbic_Region oh, very nice 13:59
cognominal well, that does not explain the non-substitution
Limbic_Region cognomial - except that there is no $1
or rather - aside from the fact there is no $1
cognominal I am not yet at the problem of a wrong substitution, I am at the problem of no substittion 14:00
your are right about nesting though 14:01
Limbic_Region ?eval temp $_ = "token a"; s/(token (\w+))/foo/; say $_;
14:01 evalbot_r14758 is now known as evalbot_r14762
evalbot_r14762 OUTPUT[token aā¤] Bool::True 14:01
Limbic_Region ?eval temp $_ is rw = "token a"; s/(token (\w+))/foo/; say $_;
evalbot_r14762 OUTPUT[token aā¤] Bool::True
Limbic_Region ?eval temp $_ is rw = "token a"; .s/(token (\w+))/foo/; say $_; 14:02
evalbot_r14762 Error: ā¤Unexpected "(\\"ā¤expecting ":" or "{"
Limbic_Region ?eval temp $_ is rw = "token a"; $_ =~ s/(token (\w+))/foo/; say $_;
evalbot_r14762 OUTPUT[<Subst>ā¤] Bool::True
Limbic_Region cognomial - AFAIK, in order to get methods that normally work on $_ to work on them in Perl 6, they need to be prefaced with a .
as in
.chomp
it appears that s/// is not working on $_ by default 14:03
Limbic_Region doesn't know if that is correct behavior or not
Limbic_Region wanders off to get a chocolate covered donut
14:03 H0LE left
kolibrie ?eval $_ = "token a"; s :s /token a/foo/; say $_ 14:03
cognominal I doubt that, s :g /\&/&amp;/; works fine
evalbot_r14762 OUTPUT[token aā¤] Bool::True
cognominal thinks he need to work more incrementally. my perl5 expertise does not translate readily hre 14:04
kolibrie does look like substitution is having issues, at least in evalbot 14:05
Limbic_Region ?eval temp $_ = "token a"; s/.*/foo/; say $_; 14:07
evalbot_r14762 OUTPUT[fooā¤] Bool::True
Limbic_Region the match portion of the regex is failing
you should put it in a conditional
?eval temp $_ = "token a"; if ( /token (\w+)/ ) { say "match" } else { say "no match" } 14:08
evalbot_r14762 OUTPUT[no matchā¤] Bool::True
Limbic_Region ?eval temp $_ = "token a"; if ( /token\s+(\w+)/ ) { say "match" } else { say "no match" }
evalbot_r14762 OUTPUT[matchā¤] Bool::True
Limbic_Region it is barfing on the whitespace
?eval temp $_ = "token a"; $_ =~ s/(token\s+(\w+))/a name="$0[0]">$0<\/a>/; say $_; 14:09
evalbot_r14762 OUTPUT[<Subst>ā¤] Bool::True
Limbic_Region whatever - the issue is the whitespace and not the replacement 14:10
kolibrie ?eval $_ = 'token a'; s :s /token <ws> a/foo/; say $_;
evalbot_r14762 OUTPUT[fooā¤] Bool::True
kolibrie so it's not picking up the :s
Limbic_Region sounds like it should be a failing test case 14:11
Limbic_Region wanders off for some more donuts
cognominal ?eval my $_ = "token a"; s/token\s+(\w)/<a name=$0">token $0<\/a>/; say $_ 14:12
evalbot_r14762 OUTPUT[<a name=a">token ā¤] Bool::True
cognominal another problem here
kolibrie that is interesting 14:13
14:13 elmex joined 14:15 rodi joined
cognominal this is fucking frustrating 14:16
oops, this is not #perl :)
?eval my $_ = "token a"; s/token\s+(\w)/<a name=$0">token $0\<\/a>/; say $_ 14:21
?eval my $_ = "token a"; s/token\s+(\w)/<a name=$0">token $0\<\/a>/; say $_
evalbot_r14762 OUTPUT[<a name=a">token a</a>ā¤] Bool::True
cognominal I think by default using an non existing capture should emit a warning 14:22
this will happen all the time when dealing with html 14:23
Limbic_Region cognomial - not sure but perhaps you should test this using PGE instead of P::C::R
cognomial - don't think it is an option with evalbot but locally you can set an env var to tell pugs which to use
you may get different results with PGE (and if so, fglock will want to know) 14:24
cognominal I tried but it core dumped. But so far, limitations are mine
Limbic_Region let me try locally, I haven't done this in a while myself 14:25
cognominal I have not yet smashed my head on all potential walls
Limbic_Region this could take a while - I am doing a realclean as well
cognominal syntax hilighting would have avoided me my last error 14:30
14:32 rodi joined
Limbic_Region 68 of 97 14:41
svnbot6 r14763 | fglock++ | MP6 - fixed return-blocks
14:42 fglock joined
Limbic_Region hey fglock - cognomial pointed out some apparent issues with P::C::R 14:43
cognominal Limbic_Region: no, real issues with my narrow mind :) 14:44
14:45 fglock_ joined
fglock_ Limbic_Region: hi 14:45
cognominal: tudo bem aĆ­? 14:46
cognominal fglock: ?? 14:47
14:47 ludan joined
fglock_ I'm recompiling the bootstrapped MP6 for the nth time 14:47
cognominal: sorry, I confused with "cog" 14:49
cog speaks portuguese 14:50
14:50 pranavaswaroop joined
capixaba audreyt: hello audrey 15:02
fglock_ pranavaswaroop: hi
[particle] Limbic_Region: you using cygwin? 15:03
15:05 Alias_ joined
pranavaswaroop hello 15:05
Limbic_Region [particle] - um, yes and no - depends on what specifically you are interested in
pranavaswaroop are anyone upto the documentation part
Limbic_Region cognomial - was AFK but pugs has finished rebuilding - will test now
anatolyv ?seen TimToady 15:06
lambdabot TimToady is in #perl6. I don't know when TimToady last spoke.
Limbic_Region ?eval temp $_ = "one bright day"; s :s/one (\w+)/foo/; say $_; 15:07
15:07 evalbot_r14762 is now known as evalbot_r14763
evalbot_r14763 OUTPUT[one bright dayā¤] Bool::True 15:07
Limbic_Region ?eval temp $_ = "one bright day"; s :s/one\s+(\w+)/foo/; say $_;
evalbot_r14763 OUTPUT[foo dayā¤] Bool::True
Limbic_Region fglock - that behavior is the same for P::C::R and for PGE - seems wrong - confirm/deny? 15:08
[particle] Limbic_Region: hoping you could test a devel version of Data::UUID for rjbs
Limbic_Region sure
[particle] great, i'll let him know
Limbic_Region need tarball and test (if not in the test suite) 15:09
[particle] cpan R/RJ/RJBS/Data-UUID-0.147_01.tar.gz
just see if make install works, Limbic_Region++
15:10 rjbs joined
rjbs Limbic_Region++: I hear you're going to tell me whether there is finally a Data::UUID release that works on more than one Windows platform at once... 15:10
[particle] oh, you may have to get it from incoming, not sure if it's been indexed yet
avar what's the best way now to distribute Perl 6 modules?
Limbic_Region give me full URL then
rjbs pause.perl.org/incoming/Data-UUID-0..._01.tar.gz 15:11
Limbic_Region rjbs - I have Cygwin Perl and AS w/MinGW I can test with
lambdabot tinyurl.com/ymju3t
Limbic_Region can do both if interested
15:11 SCalimlim2 joined
rjbs Great! 15:11
[particle] Limbic_Region: i've tested asperl/msvc successfully
Limbic_Region rjbs - FYI in perl Makefile.PL on Cygwin - 'LICENSE' is not a known MakeMaker parameter name. 15:13
rjbs It's a recent addition. I guess I should check version, to make people happy, before including it.
rjbs figured nobody would care!
fglock_ Limbic_Region: not sure how temp, s///, and $_ work together 15:14
Limbic_Region ok, all of t/basic passed
skipped the POD tests cause I don't have those modules installed
rjbs sure
Limbic_Region ?eval $_ = "one bright day"; s :s/one (\w+)/foo/; say $_;
evalbot_r14763 OUTPUT[one bright dayā¤] Bool::True
kolibrie fglock_: and :s
Limbic_Region fglock_ - the temp status didn't have anything to do with it
rjbs - so Cygwin Perl is a go 15:15
do you want my perl -V
?
fglock_ avar: Perl6 modules can go to CPAN, with a precompiled .pmc file - if you can get v6.pm to execute the module
15:15 vel joined
rjbs Sure. 15:15
Limbic_Region k - testing AS + MinGW now 15:16
will nopaste both perl -V assuming success
yep - both worked
avar .pmc? 15:18
parrot magic cookie?
eviltwin_b perl module compiled?
[particle] avar: in this context, eviltwin_b is correct 15:19
pasteling "Limbic_Region" at 129.33.119.12 pasted "rjbs Cygwin Perl and AS Perl + MinGW output of perl -V" (124 lines, 5.9K) at sial.org/pbot/21158
[particle] there's also perl magic cookies, too
avar that'll run on parrot?
Limbic_Region rjbs - if there is anything else, let me know
[particle] avar: no 15:20
Limbic_Region fglock_ - you see what I mean about the behavior not being related to temp?
avar why do I want to be distributing something precompiled?
[particle] avar: perl5 looks for .pmc files before it looks for .pm files
avar hrm
Limbic_Region ?eval my $str = "one bright day"; $str =~ s :s/one (\w+)/foo/; say $str;
evalbot_r14763 OUTPUT[<Subst>ā¤] Bool::True
Limbic_Region ?eval my $str = "one bright day"; $str =~ s :s/one\s+(\w+)/foo/; say $str;
evalbot_r14763 OUTPUT[<Subst>ā¤] Bool::True
15:20 cjeris joined
avar huh, it'll work on Perl 5 then? 15:20
[particle] yes
Limbic_Region ?eval my $str = "one bright day"; $str ~~ s :s/one\s+(\w+)/foo/; say $str;
evalbot_r14763 OUTPUT[foo dayā¤] Bool::True
Limbic_Region ?eval my $str = "one bright day"; $str ~~ s :s/one (\w+)/foo/; say $str;
evalbot_r14763 OUTPUT[one bright dayā¤] Bool::True
avar wasn't aware of that hack 15:21
[particle] avar: it facilitates perl6-on-perl5
Limbic_Region there it is - problem exists even if it is a lexical
fglock_ avar: look for 'v6' on CPAN
rjbs Limbic_Region: Thanks, much obliged.
fglock_ ?eval my $str = "onebrightday"; $str ~~ s :s/one(\w+)/foo/; $str; 15:22
evalbot_r14763 \"foo"
Limbic_Region walang anuman
fglock_ ?eval my $str = "one brightday"; $str ~~ s :s/one (\w+)/foo/; $str; 15:23
evalbot_r14763 \"one brightday"
Limbic_Region it is the space
broquaint What does :s mean?
Limbic_Region if you replace it with \s it works fine
fglock_ 'sigspace'
Limbic_Region the :s doesn't change the behavior in this case
15:23 rjbs left
broquaint Isn't a :w necessary to make whitespace significant? 15:24
Limbic_Region ?eval my $str = "one bright day"; $str ~~ s/one (\w+)/foo/; say $str;
evalbot_r14763 OUTPUT[one bright dayā¤] Bool::True
broquaint I haven't been keeping up ...
Limbic_Region ?eval my $str = "one bright day"; $str ~~ s :w/one (\w+)/foo/; say $str;
evalbot_r14763 OUTPUT[one bright dayā¤] Bool::True
broquaint Apparently not.
Limbic_Region broquaint - if so, it is still b0rk in implementation
broquaint Yah. 15:25
Limbic_Region behavior seems identical with either backend (PGE & P::C::R)
though I haven't tested extensively
fglock_ I removed all optimizations in MP6 - and it now takes >20min to compile :P
Limbic_Region: it may be a problem in the Haskell side 15:26
brb & 15:27
avar wonders why he hasn't seen .pmc used for perl5 stuff
Limbic_Region fglock_ - that's why I pointed out PGE exhibiting the same behavior. Or rather, my hunch as well 15:28
Limbic_Region wanders off to a $meeting 15:30
15:32 ruoso joined 15:42 pranavaswaroop left, pranavaswaroop joined
ofer1 what's MP6 ? 15:44
avar MiniPerl6 15:45
15:57 orafu joined
pranavaswaroop audreyt 16:01
are you there
Limbic_Region ?seen audreyt 16:08
lambdabot audreyt is in #perl6, #ghc and #haskell. I don't know when audreyt last spoke.
Limbic_Region oh, pranavaswaroop already left
she said in her blog that she will be out of "net" band for the next week 16:09
cognominal what is the perl6 idiom for : $_= 'a a a a'; my @a = m/(a)/g; print @a 16:10
Limbic_Region cognomial - if I remember what TimToady said correctly that could be done using .words 16:11
?eval my $str = 'one two three'; my @word = $str.words; ~@word
evalbot_r14763 Error: No compatible subroutine found: "&words"
Limbic_Region apparently not implemented (and perhaps not spec'd yet) 16:12
oh, except what you are asking for doesn't always match what .words would give. If the string was 'a b a c a d a e' and you did m/(a)/ you would get different results 16:13
Limbic_Region doesn't know
16:20 buetow joined 16:21 eggzeck joined 16:23 ruoso joined
broquaint ?eval "a b a c a" ~~ m:g/(a)/ 16:24
evalbot_r14763 3 16:25
broquaint ?eval my $r = "a b a c a" ~~ m:g/(a)/; $r.perl
evalbot_r14763 "\\3"
broquaint Hrm.
Limbic_Region ?eval my @match = 'a b a c a' ~~ m:g/(a)/; ~@match 16:29
evalbot_r14763 "a a a"
Limbic_Region heh
?eval my @match = 'a b a c a' ~~ m:g/(a)/; @match.length
evalbot_r14763 Error: No compatible subroutine found: "&length"
Limbic_Region ?eval my @match = 'a b a c a' ~~ m:g/(a)/; @match.elems
evalbot_r14763 3 16:30
Limbic_Region that works
16:30 sweinig|zZz is now known as sweinig
Limbic_Region ?eval my ($r) = "a b a c a" ~~ m:g/(a)/; $r.perl 16:31
evalbot_r14763 "\\Match.new(\n ok => Bool::True, \n from => 0, \n to => 1, \n str => \"a\", \n sub_pos => (), \n sub_named => \{}\n)"
Limbic_Region ?eval my ($r) = "a b a c a" ~~ m:g/(a)/; ~$r
evalbot_r14763 "a"
Limbic_Region ?eval my ($r) = "a b a c a" ~~ m:g/(a)/; $r[2] 16:32
evalbot_r14763 \undef
16:36 pranavaswaroop joined
pranavaswaroop hi 16:38
TimToady ?eval $_ = 'a b a c a'; say ~.comb(/a/) 16:39
evalbot_r14763 OUTPUT[a a aā¤] Bool::True
TimToady ?eval $_ = 'a b a c a'; say ~.comb
evalbot_r14763 OUTPUT[a b a c aā¤] Bool::True
Limbic_Region pranavaswaroop - audreyt says on her blog she won't be around much for another week 16:40
if it is important you speak to her directly - try email, if not, ask your question in the channel
TimToady - should the following work?
?eval my $str = 'hello world'; $str ~~ s :s/hello (\w+)/foo/; say $str; 16:41
evalbot_r14763 OUTPUT[hello worldā¤] Bool::True
16:41 SCalimlim2 joined
Limbic_Region if I change the whitespace to \s 16:41
TimToady it does appear that :s is b0rk
Limbic_Region ?eval my $str = 'hello world'; $str ~~ s :s/hello\s(\w+)/foo/; say $str;
evalbot_r14763 OUTPUT[fooā¤] Bool::True
Limbic_Region ahh, ok - will commit a failing test then 16:42
TimToady ?eval my $str = 'hello world'; $str.subst(rx:s/hello (\w+)/, 'foo') 16:44
evalbot_r14763 Error: No compatible subroutine found: "&subst"
Limbic_Region is looking for a good place in t/regex to put the test but isn't sure
TimToady ?eval my $str = 'hello world'; $str.subst(rx:s/hello (\w+)/, {'foo'})
evalbot_r14763 Error: No compatible subroutine found: "&subst"
pranavaswaroop I just wanted to ask whether I can contribute to the perl documentation team 16:45
Limbic_Region pranavaswaroop - you needn't ask audreyt for that 16:46
you can submit patches to perl6.language
cognominal thx Limbic_Region 16:47
TimToady or for things sourced in pugs/, you can just change them directly if you have a commit bit
Limbic_Region TimToady, or pmichaud, or someone with commit rights will evaluate and apply
cognominal pugs> $_= 'a a a a'; my string @a = m:g/(a)/
({regex},)
is this correct?
TimToady pranavaswaroop: do you have a commit bit to pugs?
Limbic_Region pranavaswaroop - what TimToady said
TimToady if not, send your who at where dot whatever here and we'll give you one. 16:48
Limbic_Region cognomial - you saw the example of that I put here that did work right
?eval my @match = "a b a c a d" ~~ m:g/(a)/; ~@match
evalbot_r14763 "a a a"
Limbic_Region so any advice where to put the failing regex test? 16:49
GnuVince ?eval uc("Pōæ½xE9pōæ½xE8re")
evalbot_r14763 "PƉPƈRE"
GnuVince oops, /me is not in UTF-8 here
TimToady t/regex/from_perl6_rules/subst.t maybe 16:54
pranavaswaroop TimToady: Sir can you please help me out 16:56
TimToady pranavaswaroop: you need to send your email addr somehow to get a commit bit 17:01
pranavaswaroop k my email add>>>> [email@hidden.address]
TimToady commit bit on its way 17:04
please add yourself to AUTHORS as first commit 17:05
pranavaswaroop oh ok sir 17:06
17:07 andara left
TimToady and don't neglect your studies to work on pugs. :) 17:07
except when you want to. :)_
pranavaswaroop oh I wont sir 17:08
17:08 sweinig is now known as sweinig|bbl
pranavaswaroop step 1 completed sir I am registered 17:09
dmq hrm.
timtoady: i hope my recent \R1 stuff wasnt an issue. 17:11
pranavaswaroop so shall I get involved with my project
pasteling "Limbic_Region" at 129.33.119.12 pasted "Would someone be kind enough to commit these nice failing tests pointed out by cognomial++ I seem to have commitment issues" (20 lines, 477B) at sial.org/pbot/21165 17:13
dmq how could someone who is married have commitment issues? 17:14
Limbic_Region I can't seem to commit ATM so could someone else do so?
dmq - have you seen the divorce rate in the US?
dmq heh
Limbic_Region oh, and please not that the first 3 fail regardless of PGE or P::C::R and the last one succeeds 17:17
pranavaswaroop well me some work!!!!
can I get 17:18
Limbic_Region TimToady - does commitbit.pugscode.org have an option for resetting a password, apparently mine has become fubar
I can't login there either 17:19
woah - don't bother
it just started working
weird
still can't seem to commit though 17:21
Ontolog omg I'm learning haskell so I can help with pugs
Limbic_Region grrrs 17:22
yay - I did it - please disregard the request to submit the test 17:23
svnbot6 r14764 | Limbic_Region++ | Added some failing regex tests in both PGE and P::C::R pointed out by cognomial++
pranavaswaroop can I get some documentation task now 17:24
17:24 thepler joined
Limbic_Region pranavaswaroop - you mean you want to help with documentation but you don't know what to work on? 17:25
pranavaswaroop - then you should say that
pranavaswaroop yup I do not know what to work on 17:26
but given a task I will surely
17:27 vel joined
Limbic_Region pranavaswaroop - look at TASKS 17:29
there is likely to be one or more documentation activities there
17:32 vel joined
pranavaswaroop I did go to this svn.openfoundry.org/pugs/TASKS but found a 404 Not found Message displayed 17:33
The requested URL /pugs/TASKS was not found on this server.
that was what i could find
Limbic_Region pranavaswaroop - you haven't checked out a local copy of Pugs on your machine or have a feather acct? 17:34
btw - see the channel topic
17:34 vel joined
Limbic_Region it is now svn.pugscode.org/ not openfoundary 17:34
lambdabot Title: Perl6 Community Development Server
Limbic_Region svn.pugscode.org/pugs/TASKS 17:35
pranavaswaroop oh uh thanks Limbic_Region 17:40
Itz working now
17:40 vel joined
pranavaswaroop Limbic can I know something about the user name and the password that I need to put 17:47
in feather.perl6.nl/irc/ 17:48
17:49 lazer joined, kanru joined 17:51 rodi joined
svnbot6 r14765 | particle++ | add task to s/svn\.openfoundry/svn\.pugscode/g 17:53
Limbic_Region pranavaswaroop - you should have seen a link at feather.perl6.nl 17:58
lambdabot Title: Perl6 Community Development Server 17:59
Limbic_Region pranavaswaroop - see www.mail-archive.com/perl6-language...20060.html for details on getting an acct
lambdabot Title: Perl development server, tinyurl.com/y4whb7
[particle] heh, my wife just ran into tom skerritt while out on a run 18:00
dmq i interviewed him when i was grade 6 for school. 18:01
[particle] lol
dmq No seriously i did.
I think he was annoyed all i did was ask about Tom Cruise tho. 18:02
[particle] i believe it. i just expected responses more along the lines of, "who's tom skerritt?"
dmq Yeah, heh, it is weird.
[particle] he lives not too far from us in seattle, apparently.
dmq I remember he was a pretty nice guy 18:03
Limbic_Region oh - I have pretty big news too 18:07
Jasmine took her first step last night
[particle] congrats! time to lock away the liquor.... 18:08
18:20 duend`sleeping is now known as duend 18:35 vel joined 18:39 bernhard joined 18:47 Corion joined 18:48 Corion left 18:50 fglock joined
svnbot6 r14766 | fglock++ | MP6 - optimized ram usage 18:54
Ontolog How do you use ":load" with a Windows pathname? 18:57
and btw WinHugs doesn't uninstall!! don't install it :p
oops I got it 18:59
in GHC you have to use double backslashes
19:00 ashelyb_ joined 19:17 justatheory joined 19:21 GabrielVieira joined
GabrielVieira audreyt fglock hey.. some pics from CONISLI are on :) pasting the url in pvt, ok? 19:21
fglock GabrielVieira: got it - thanks! 19:23
GabrielVieira ok :) 19:24
svnbot6 r14767 | fglock++ | MP6 - fixed syntax in Emitter.pm 19:36
[particle] fglock: is MP6 self-hosting yet?
19:36 sweinig|bbl is now known as sweinig
fglock [particle]: not yet, the token compiler still has some bugs 19:37
[particle] ok, i'll wait :) 19:38
fglock small programs compile ok, and the compiler can compile itself 19:39
but the 'regex' compiler is not good enough
[particle] the new PAST compiler is in parrot, and arrays should be done shortly
fglock you mean array objects? Parrot already have arrays, right? 19:41
[particle] well, the ast representation 19:42
and emitter
for array variables
fglock actually, MP6 only needs plain Parrot - it includes it's own parser and ast 19:43
[particle] i was hoping to xform between ast
it seems the logical place to me 19:44
but we could go with emitter-only
fglock the idea is to have a single ast for all implementations, so you don't have to make transformations
[particle] that's the parrot idea, too 19:45
but so far, pugs ast and parrot ast are different
fglock and MP6 ast is also different
but you can port MP6 19:46
but of course one can emit higher level ast, and finish the emitter using native tools 19:48
[particle] yes, i think the natural place to move from one parser to another emitter is via ast transformations 19:49
it's the best place to decouple front- and back-ends 19:50
fglock wow - the parser is starting to work :) 19:56
[particle]: audreyt meant MP6 as a tree-transformation tool 19:58
which could be used to make AST transformations
[particle] oh, right.
would be nice to port that to parrot
now we're still using the old tge, which is ugly and b0rked 19:59
whereas MP6 is pretty and b0rked :) 20:00
fglock I hope it doesn't stay b0rked for too long
[particle] meetoo
fglock I'm following a compilation with the bootstrapped compiler step-by-step, it seems to be doing ok 20:01
[particle]: the bootstrapped code is in v6/v6-MiniPerl6/lib5/ 20:02
I'm still fixing bugs
home & 20:16
20:16 fglock left 20:20 polettix joined, Limbic_Region joined 20:23 araujo joined 20:31 rhizo joined 20:32 SCalimlim joined
Ontolog So does Pugs actually implement the entire Perl6 standard yet? 20:41
[particle] no. and the entire standard hasn't been defined yet, either :) 20:42
Limbic_Region if by standard you mean specification then no
the biggest reason being what [particle] said - the specification isn't finished yet
GnuVince Does Perl 6 have a non-destructive version of s/// ? 20:49
Gothmog_ Like Perl 5 has? 20:50
($new = $old) =~ s///
Limbic_Region ?eval my $old = "foo"; my $new; ($new = $old) ~~ s :g/o/x/; say "$new\t$old"; 20:52
20:52 evalbot_r14763 is now known as evalbot_r14767
evalbot_r14767 OUTPUT[fxxfooā¤] Bool::True 20:52
Limbic_Region apparently so
Gothmog_ - you do realize that 1. That IS a destructive s/// and 2. This is equivalent to my $new = $old; $new =~ s///; 20:58
TimToady the method form of .subst is also supposed to be non-destructive, since .=subst would be the destructive form.
but it seems a bit underimplemented
Limbic_Region TimToady - am I misremebering that there is supposed to be a .words method?
for strings anyway
TimToady .comb now
which defaults to combing out the words 20:59
Limbic_Region ah
and there is someway to tell it how to identify a word with the default being \b or \s ?
TimToady ?eval $_ = "foo bar bletch"; .comb.join(':')
evalbot_r14767 "foo:bar:bletch"
TimToady anything you can match with m:g// should work 21:00
?eval $_ = "foo bar bletch"; .comb(/\S+/).join(':') 21:01
evalbot_r14767 "foo:bar:bletch"
Limbic_Region ?eval my $str = "one two three"; my @word = $str.comb.split(' '); ~@word
evalbot_r14767 " "
TimToady split(' ') is not magical
Limbic_Region ?eval my $str = "one two three"; my @word = $str.comb(' '); ~@word 21:02
evalbot_r14767 " "
Limbic_Region ok - but that is a single whitespace
so is that another whitespace bug
TimToady no
Limbic_Region ?eval my $str = "one two three"; my @word = $str.comb(/\s/); ~@word
evalbot_r14767 " "
TimToady ~ inserts the 3rd space
Limbic_Region ok, please hand me a clue stick then 21:03
if I want to get all the words in between spaces, what do I use
or - if I want to get all words on \b boundaries what do I use
TimToady ?eval $_ = "foo bar bletch"; .comb(/<< .*? >>/).join(':') 21:04
evalbot_r14767 "foo:bar:bletch"
TimToady << and >> are the new \b
?eval $_ = "foo-bar bletch"; .comb(/<< .*? >>/).join(':') 21:05
evalbot_r14767 "foo:bar:bletch"
TimToady ?eval $_ = "foo-bar bletch"; .comb.join(':') 21:06
evalbot_r14767 "foo-bar:bletch"
TimToady default is \S+
?eval $_ = "foo-bar bletch"; .comb(/\w+/).join(':')
evalbot_r14767 "foo:bar:bletch"
Limbic_Region ok - but I don't want to join them at all 21:07
TimToady er, then don't
Limbic_Region ?eval my $str = "foo-bar bletch"; my @word = $str.comb(/\w+/); ~@word;
evalbot_r14767 "foo bar bletch"
Limbic_Region though he had tried that
?eval my $str = "one two three"; my @word = $str.comb(' '); ~@word 21:08
evalbot_r14767 " "
Limbic_Region ?eval my $str = "one two three"; my @word = $str.comb(/\s+/); ~@word
evalbot_r14767 " "
TimToady those are both correct
Limbic_Region oh duh 21:09
TimToady your list has two spaces, and ~ adds the 3rd
Limbic_Region it is what to "take" not what to split on
TimToady ?eval my $str = "one two three"; my @word = $str.comb('e'); ~@word
evalbot_r14767 "e e e"
TimToady yes, why duplicate split? 21:10
the whole cork-brained split(' ') thing in P5 was based on a figure-ground inversion.
21:11 GnuVince joined
TimToady by the way, .comb is just implemented in Prelude.pm, not in Haskell, since it's really syntactic sugar. 21:12
Limbic_Region ?eval my $str = "one two three"; my @word = $str.comb(); ~@word
evalbot_r14767 "one two three" 21:13
GnuVince ?eval 1..3
evalbot_r14767 (1, 2, 3)
GnuVince ?eval 1.1..3
evalbot_r14767 (11/10, 21/10, 31/10)
TimToady ?eval my $str = " one two three "; my @word = $str.comb; ~@word
GnuVince ?eval 1.1 .. 4.7
evalbot_r14767 "one two three"
(11/10, 21/10, 31/10, 41/10, 51/10)
TimToady I think .. is still doing eager eval, which is non-spec. 21:14
really should just print out a Range object. 21:15
Ontolog why the hell isn't the spec done yet? 21:16
21:16 hyegeek joined
[particle] ontolog: it's not christmas 21:17
Ontolog is it suppose to be done by this christmas?
[particle] no, by *a* christmas
Ontolog good lord
what are the major obstacles to getting the spec completed? 21:18
[particle] ...perhaps the designer would like to enumerate them?
Ontolog ōæ½xB0ōæ½xA5Ó“ōæ½xA3ōæ½xA1ōæ½xCBōæ½xFBōæ½xCAōæ½xC7ōæ½xB1ōæ½xBFōæ½xB5ōæ½xB0ōæ½xA1ōæ½xA3 21:19
[particle] ...or perhaps he wouldn't. 21:20
anyway, pugs in pretty usable, and is being used in production by more than one company
ontolog: what's the rush? 21:21
we're working on it. do you have a commit bit? 21:22
21:25 Aankhen`` joined
TimToady Ontolog: the specs are asymtotically approaching complete. The "obstacles" are merely understanding what issues the implementors and documentors will run into and dealing with them, by and large. 21:26
21:26 gene9 joined
TimToady but that means waiting for the implementors and documentors to implement and document. :) 21:26
[particle] don't forget about the testers!
TimToady we do not work to a waterfall here
well, they're supposed to be paying attention to the spec anyway... :) 21:27
anyway, the design methodology is intentionally a whirlpool or strange attractor rather than a waterfall.
[particle] no wonder i fit right in 21:28
TimToady nobody is smart enough to design a good language without feedback.
s/asymtotically/asymptotically/ 21:29
araujo Hello 21:33
araujo kind of free this weekend
Let's see if i can get some perl6 fun :-)
Ontolog why do you guys have to make me learn this rediculous language Haskell to make sexy time with Perl6 prototype? 21:34
araujo wt!?!
Limbic_Region Ontolog - we don't, you can happily enjoy Perl 6 without knowing any Haskell (that's my situation)
araujo Ontolog, Because all the cool kids are doing Haskell
And so we want Perl6 to be cool 21:35
[particle] is not one of the cool kids
Limbic_Region Ontolog - if you want to contribute to the continuing implementation of Perl 6 you needn't learn Haskell either
Ontolog Haskell gives me make brown in pants
[particle] ontolog: check out the test suite... it's all written in perl6
no haskell necessary
Limbic_Region Ontolog - one of the main points of Perl 6 is having a specification that allows for multiple implementations so please, finish up implementing all of the existing Perl 6 specification by this Xmas in your language of choice 21:36
we will all be greatful
Ontolog okay I will get right on it
Yackshimash!
Limbic_Region Ontolog - OTOH, if you wish to continue to move the snowball forward that has the most momentum - learn Haskell
Ontolog I am learning Haskell right now
Limbic_Region notes the time and runs for the door 21:37
21:40 pmurias joined
pmurias Ontolog: or if you prefere murky perl5 generation you could try to help fglock make MiniPerl6 self hosting... 21:41
Ontolog no no i'm learning haskell
but my question is this
how long must i study this mud monkey of a language before i can start hacking on pugs? 21:42
integral IIRC I took about a month 21:43
Ontolog aww man a whole month 21:44
ok
pmurias haskell makes up for the radical tradeoffs/limitations with some pretty scary/advanced stuff
Ontolog i'm just curious, do you pugs coders use the crappy white-space formatting or do you use explicit braces and semicolons? 21:45
integral ws forever! It's very neat
(As long as you don't use it excessively on page-long functions... of course, page long functions should not exist)
21:46 rodi joined
pmurias semicolons and braces are frowned upon from in haskell land (from what little i read) 21:46
sleep& 21:47
21:47 pmurias left 22:04 eggzeck joined 22:12 trym_ joined 22:24 hyegeek left 22:34 Limbic_Region joined
SamB integral: you might sometimes have page-long where clauses 22:35
22:41 lazer left 23:02 cjeris left
Limbic_Region anyone else find that smoking hangs on t/perl5/modify_inside_p5_p6.t ? 23:17
or is that just another Win32 thing? 23:18
@tell audreyt Win32 hangs smoking on t/perl5/modify_inside_p5_p6.t 23:19
lambdabot Consider it noted.
23:25 loumz joined 23:26 rodi joined 23:27 hexmode joined 23:29 mako132_ joined 23:38 mako132_ joined
loumz A comment on the pugs blog said that the "This week on Perl 6" link on pugscode.org is outdated (points to www.perl.com/pub/au/Fowles_Matt), last update august 2005 23:43
TimToady Limbic_Region: it appears that it is waiting for standard input for some reason.
loumz I can fix this by changing docs/feather/pugscode.org/index.html right? 23:44
TimToady try it and see.
23:45 sweinig_ joined
loumz OK, where should I link to? www.oreillynet.com/pub/au/1926 , pugs.blogs.com/pugs/summary/index.html , or www.mail-archive.com/perl6-announce@perl.org/ 23:46
23:46 gnuvince` joined 23:47 gnuvince joined
TimToady I'd go for the middle one. 23:50
gnuvince Good evening people in EST 23:51
svnbot6 r14768 | loumz++ | * Changed Perl6 mailing list summary link to pugs.blogs.com/pugs/summary/index.html
r14768 | loumz++ | since the old one (www.perl.com/pub/au/Fowles_Matt) was outdated.
TimToady doesn't seem to fix the page. oh well. 23:53
probably needs to be copied somewhere.
[particle] good night, mrs. calabash, wherever you are
timtoady: i think it syncs every n minutes
TimToady well, that's a kind of copy... :) 23:54
page doesn't seem to set utf-8 properly either. 23:56