pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, elf: etc.) (or perl6: for all) | irclog: irc.pugscode.org/
Set by Tene on 29 July 2008.
00:01 FurnaceBoy left 00:09 stephang left 00:11 pbuetow left 00:39 zpeiron is now known as apeiron 00:47 bacek__ left 00:48 bacek__ joined
meppl good night 00:50
00:50 ZuLuuuuuu joined 00:52 meppl left 00:57 aindilis left, jferrero left, ab5tract left, eternaleye left, wknight8111 left, dbrock left, sri_kraih left, ruoso left, rakudo_svn left, yahooooo3 left, lambdabot left 01:03 hercynium joined, aindilis joined, jferrero joined, ab5tract joined, eternaleye joined, dbrock joined, wknight8111 joined, sri_kraih joined, ruoso joined, rakudo_svn joined, lambdabot joined, yahooooo3 joined, iblechbot left 01:09 justatheory joined 01:16 nacho_ left 01:18 DemoPhreak left, jferrero left 01:31 justatheory left 01:40 silug left 01:43 ab5tract left 01:52 justatheory joined 01:57 Jedai left 02:05 eternaleye left 02:08 rakudo_svn left, hercynium left, yahooooo3 left, lambdabot left, sri_kraih left, wknight8111 left, dbrock left, aindilis left, ruoso left 02:09 hercynium joined, aindilis joined, dbrock joined, wknight8111 joined, sri_kraih joined, ruoso joined, rakudo_svn joined, lambdabot joined, yahooooo3 joined
pugs_svn r22934 | lwall++ | [Cursor] random fiddling 02:09
r22934 | lwall++ | [STD] add type on ::T
02:12 eternaleye joined 02:15 dduncan joined
dduncan question about module names ... is it no longer valid to say "module Foo-1.2.3-CPAN:jrandom;"? ... the current synopsis 11 doesn't seem to mention that form, but it would make sense to excise it if Perl 6 nonquoted symbol names may now have a hyphen in them? 02:17
at least I thought I saw the latter change documented the other week, allowing - in symbols 02:18
02:19 REPLeffect left 02:27 jfredett_ joined
dduncan okay, I found it 02:36
apparently back in March 2007, synopsis revision 14317, got rid of the ordered hyphen form, leaving just the adverbial form
02:42 eternaleye left 02:43 justatheory left 02:52 rakudo_svn left, hercynium left, yahooooo3 left, lambdabot left, sri_kraih left, wknight8111 left, dbrock left, aindilis left, ruoso left, ZuLuuuuuu left 02:56 hercynium joined, aindilis joined, dbrock joined, wknight8111 joined, sri_kraih joined, ruoso joined, rakudo_svn joined, lambdabot joined, yahooooo3 joined 02:59 wknight8111 left 03:13 sri_kraih_ joined 03:23 sri_kraih left 03:28 Patterner1 joined 03:37 silug joined 03:39 silug left 03:44 Patterner left, Patterner1 is now known as Patterner 03:46 Aisling left 03:55 alexn_org left 04:02 elmex_ joined 04:07 jfredett_ left 04:15 Limbic_Region left 04:16 elmex left, elmex_ is now known as elmex 04:18 dduncan left 04:35 Aisling joined 04:52 azawawi left 05:19 slavik left 05:23 hercynium left 05:37 silug joined 05:39 tewk_ joined, silug left 05:45 tewk left 06:13 cognominal left 06:19 justatheory joined 06:20 cognominal joined 06:22 cognominal left 06:27 cognominal joined 06:28 justatheory left 06:36 cognominal left 06:40 bacek__ left 06:43 nacho_ joined 06:44 cognominal joined 06:50 bacek__ joined 06:52 z80ASM joined 07:04 Bzek joined 07:14 shlomi joined, shlomi is now known as rindolf 07:24 nacho_ left 07:49 rindolf left 07:55 bsb joined 08:23 samlh joined 08:24 imbafrog joined 08:27 imbafrog left 08:33 Jedai joined 08:48 bacek_ joined 08:50 bacek__ left, |Jedai| left 08:54 abra joined 08:55 abra left, abra joined 08:59 mberends left 09:07 iblechbot joined, DemoFreak joined 09:29 rindolf joined 10:11 z80ASM left 10:14 KidShenck left 10:22 pbuetow joined 10:25 pmurias joined
pugs_svn r22935 | pmurias++ | [smop] deleted old mention of smop's previous name 10:26
pmurias ruoso: should i delete smop documentation from the wiki?
10:29 PZt joined, ejs joined 10:31 adc_Penner joined 10:32 meppl joined
pmurias ruoso: s/smop/slime/ 10:39
10:40 Southen left 10:48 adc_Penner left 10:54 lizsac joined
lizsac hey 10:54
is it possible to iterate through the alphabet with something like [A-Z] or with .. 10:55
pmurias lizsac: you mean in regexes? 10:56
<[A..Z]> 10:57
lizsac hrmm i was hoping to do it in a for loop
i want to tack on a letter to the end of a string 10:58
a-z
i can unroll an array of letters i was just curious of there was a better method 11:00
pmurias pugs: say 'a'..'b' 11:01
p6eval pugs: OUTPUT[abā¤]
pmurias pugs: say 'a'..'f'
p6eval pugs: OUTPUT[abcdefā¤]
lizsac heh 11:02
that messed up my terminal
damn 11:03
11:07 lizsac left, lizsac joined
lizsac hah i guess you can 11:10
my @alphabet = "A" .. "Z";
how would i do that in a loop 11:12
err why would i want to 11:16
pmurias pugs: my $str;for 'A' .. 'Z' -> $x {$str = $str ~ $x};say $str
p6eval pugs: OUTPUT[ABCDEFGHIJKLMNOPQRSTUVWXYZā¤]
11:17 smg left 11:39 abra left
dbrock I have return "... {$method<name>} ...", and that works; but if I change it to my $name = $method<name>; return "... {$name} ...", it doesn't --- any ideas? 11:48
I just get a blank string instead of $name 11:49
oh, I changed it to my $name = ~$method<name>; return "... {$name} ..." and now it works 11:53
11:53 plash_ left, plash joined
dbrock is ?? :: not implemented yet? 11:56
rindolf dbrock: isn't it ?? !! 11:58
dbrock ah!
12:10 alexn_org joined
dbrock how do I do a regexp substitution in Rakudo? 12:13
I've tried $foo ~~ s/bar/baz/; and $foo ~~ s[bar] = 'baz'; and neither works 12:14
ah, $foo.subst(/bar/, 'baz') works 12:15
12:29 Chillance joined 12:30 alexn_org left 12:39 bsb left 12:47 smg joined 12:49 wknight8111 joined 12:58 ashizawa joined 13:05 alexn_org joined 13:11 rindolf left 13:19 rindolf joined 13:52 kisu left, jan_ left, z80ASM joined 13:54 r0bby left 14:01 rindolf left 14:52 z80ASM left 14:53 pbuetow left 14:58 charsbar left 15:01 charsbar joined 15:06 alexn_org left, jan_ joined 15:12 pmurias left 15:28 pbuetow joined 15:31 pmurias joined
pmurias ruoso: do we have a bool method or is it true? 15:31
and do we have "true" and false for the native true and false constants 15:33
s/false/"false"
15:34 abra joined
pugs_svn r22936 | pmurias++ | [m0ld] added noop 15:35
r22936 | pmurias++ | [mildew] noop is used for the then label in an if
15:39 rindolf joined 15:41 maennj joined 15:42 Chillance left, ashizawa left 15:50 maennj left 15:51 alester joined 15:55 jhorwitz joined
pugs_svn r22937 | particle++ | [t/spec rakudo] fudge some tests for slurpy params 15:57
16:27 kisu joined 16:34 abra_ joined 16:36 abra left
ruoso pmurias, we have a "bool" method, but it's wrong... it should be .true... 16:56
pmurias, in SMOP we have native true and native false, I'm not sure how that's represented in Perl 6 16:57
it seems that nobody has a lowercase true
16:57 smg left
ruoso but I think there should be a way to say "native true" and "native false" 16:57
perl6: say true; 16:58
p6eval elf 22847: OUTPUT[Undefined subroutine &GLOBAL::true called at (eval 119) line 3.ā¤ at ./elf_f line 3861ā¤]
..rakudo 32467: OUTPUT[Statement not terminated properly at line 1, near "true;"ā¤ā¤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)ā¤]
..pugs: OUTPUT[*** ā¤ Unexpected ";"ā¤ at /tmp/yjf3Cg1bai line 1, column 9ā¤]
16:59 alester left, alester joined
ruoso maybe True.true and False.true 17:02
since they both override the true method
later & 17:05
17:45 justatheory joined 17:51 abra_ left
pmurias according to S02 perl6 has a bool type 18:01
moritz_ re 18:11
lambdabot moritz_: You have 3 new messages. '/msg lambdabot @messages' to read them.
18:14 justatheory left 18:16 ilbot2 joined 18:17 ejs_ joined
pugs_svn r22938 | moritz++ | [t] move some junction tests 18:21
18:27 smg joined
pmurias moritz_: hi 18:34
pugs_svn r22939 | moritz++ | [t] update to TASKS and set attributes of arrayhash.t
moritz_ hi pmurias
pmurias the irclog is back nice 18:35
moritz_ it died because it couldn't connect to the DB 18:36
18:36 ejs left
moritz_ usually I start it an endless loop from the shell, but this time I seem to have screwed it up :/ 18:37
18:42 hercynium joined 18:47 nacho_ joined
rakudo_svn r32469 | pmichaud++ | [rakudo]: Add pointy blocks to if/unless statements (partial RT #58008) 18:50
18:50 abra joined, alester left 18:51 bjorn` left 18:55 DemoPhreak joined
rakudo_svn r32471 | pmichaud++ | [rakudo]: Add pointy blocks to while/until statements (RT #58008). 19:00
pmichaud std: repeat -> $x { say $x; } while 0; 19:03
p6eval std 22847: OUTPUT[Unknown routines:ā¤ repeat called at 1 ā¤parsedā¤]
pmichaud std: repeat while 0 -> $x { say $x; }
p6eval std 22847: OUTPUT[parsedā¤]
19:09 DemoFreak left 19:10 eternaleye joined, abra left 19:30 hanekomu joined, hanekomu left 19:32 ejs_ left 19:35 cognominal_ joined 19:39 DemoPhreak is now known as DemoFreak 19:40 adc_Penner joined 19:43 cognominal left 19:48 hercynium left
rakudo_svn r32472 | jonathan++ | [rakudo] First cut of 'is also'. Allows methods to be added to classes at runtime. 19:50
pmurias ruoso: native int is a value type so it shouldn't have a postfix:<++> right? 19:58
20:00 KingDong joined, KingDong left
rakudo_svn r32473 | moritz++ | [rakudo] More fiddling with ++/-- aka succ/pred. Closes [perl #59596]. 20:10
r32473 | moritz++ | Patch courtesy by Vasily Chekalkin, bacek++
20:14 bacek__ joined 20:15 bacek_ left 20:18 cognominal_ left 20:19 cognominal joined, Bzek left
pugs_svn r22940 | pmurias++ | [smop] changed "bool" to "true", native_int uses the RI DSL 20:26
rakudo_svn r32474 | pmichaud++ | [rakudo]: refactor xblock handling somewhat 20:30
pugs_svn r22941 | moritz++ | [t/spec] silence a bogus success report for rakudo. 20:33
r22942 | moritz++ | [t/spec] unfudge two tests for rakudo in boolean-context.t 20:34
20:48 masak joined 20:50 adc_Penner2 joined
pugs_svn r22943 | pmurias++ | [mildew] if works 20:55
20:55 eternaleye left
pugs_svn r22944 | moritz++ | [t/spec] in my.t, don't actually generate a Signature. 20:56
20:58 spx2 left, spx2 joined
moritz_ perlgeek.de/blog-en/perl-6/tidings-2008-11.html comments welcome. 21:04
lambdabot Title: blog | Perlgeek.de Blog :: Perl 6 Tiding for November 2008
21:05 adc_Penner left 21:07 bacek__ left 21:16 bacek__ joined 21:22 plash left, xinming_ joined
pmurias moritz_: the XS bindings not allow you to do very much now, just run some mold bytecode atm but once we figure out how to handle continuation barriers sanely it should be very easy to finish simple smop embedding 21:25
moritz_ what does "finish simple smop embedding" mean for the Perl 5 programmer? that he can write an OO system with smop as backend? 21:28
21:30 xinming left
pmurias moritz_: call methods on smop objects 21:33
21:33 masak left 21:35 nacho_ left 21:36 Patterner1 joined
pmurias using smop as a backend for an OO system would require more advanced integration to be done efficiently 21:38
moritz_ wonders if the Moose folks are interested in that ;) 21:41
21:44 Patterner left, Patterner1 is now known as Patterner 21:45 rindolf left
pmurias moritz_: it's an interesting question 21:50
22:03 pedrob joined
pugs_svn r22945 | pmurias++ | [mildew] small fixes to make t/p6opaque and t/pure_prototype_how work again 22:04
r22945 | pmurias++ | [smop] small changes to p6opaque which should be examined by ruoso++
22:10 apeiron left 22:21 bacek__ left 22:26 fridim_ joined 22:29 justatheory joined 22:33 dbrock left
pmurias does bind := return the right or the left side? 22:35
22:43 smg left
moritz_ it's right associative, so $a := $b := $c should be the same as $a := ($b := $c)... 22:43
but that doesn't answer your question, does it?
pmurias what does ($a := $b) := $c do? 22:44
22:44 Caelum left
pugs_svn r22946 | pmurias++ | [smop] moved tests 19,15 to mildew, infix:<:=> returns the left side 22:45
moritz_ croak?
moritz_ doesn't know, and doesn't have his wits available either
pmurias moritz_: what happened to your wits? 22:46
22:47 iblechbot left
moritz_ dunno... too much work and too little sleep, probably 22:47
22:53 Caelum joined
pmurias sleep& 22:57
22:57 pmurias left
moritz_ (and a slight overdose of Fortran 77, perhaps ;) 22:57
good night
23:06 alester joined, pbuetow left 23:11 elmex left, justatheory left
ruoso @tell pmurias yes, postfix:<++> is supposed to be a sub not a method of int... it was dumbness of my part 23:21
lambdabot Consider it noted.
23:21 DemoFreak left 23:23 alester left 23:24 pedrob_ joined 23:25 pedrob left
ruoso @tell pmurias I had seen the changes in p6opaque and it seems very much ok 23:32
lambdabot Consider it noted.
23:34 pedrob joined 23:42 silug joined 23:45 pedrob left 23:52 pedrob_ left