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.
meppl good night 00:39
pugs_svn r21876 | ruoso++ | [smop] more work being done on lexical scope. The test is still failing 01:17
nothingmuch i think "polymorphic eval" is audreyt's fault... it sounds audreyesque 02:16
gaal Eval takes many shapes. 05:43
meppl good morning 09:59
pmurias ruoso: hi 17:55
ruoso: are you blocking on any part of mold now? 17:56
pmurias what is the printf format in C to print exactly n chars? 18:29
s1n rakudo: say 18446744073709551616/2 18:32
p6eval rakudo 29834: OUTPUT[9.22335e+18␤]
s1n pmurias: %5c (for 5 characters)? 18:33
rakudo: say 18446744073709551616/1
p6eval rakudo 29834: OUTPUT[1.84467e+19␤] 18:33
s1n rakudo: 18446744073709551616/1
p6eval rakudo 29834: RESULT[1.84467e+19]
pmurias s1n: %s.* was what I was looking for 18:39
s1n pmurias: there's a number of ways really, if it's c++ you should really use setw or something similar 18:42
if it's c, then you can use truncated strings, or the count specifier with a string 18:43
pmurias it's smop so it's C, truncated strings means? 18:44
pugs_svn r21877 | s1n++ | [spec] failing regression test due to division inaccuracy
pmurias i'm using a length field in our string object 18:46
s1n what are you doing with the length field? got an example? 18:48
pmurias sure, printf("%s.*",len,str); 18:50
walk& 18:51
s1n pmurias: yeah, that's more or less the runtime version of the length specifier (like how i showed the example with the 5 in it) 18:52
s1n err well, it could be compile time (i don't want to be misleading), but you get the idea, your use is perfectly valid 18:53
pmurias s1n: len and str are variables not just placeholders 18:55
it could be "%*c" as well
s1n Auzon: did you finish the gsoc work? 19:00
Auzon I have one more week of it.
Auzon So my project will be finished then (even though the test suite work will continue, and I'm likely to be around to lend an hour here and there) 19:01
pmurias walk&
s1n Auzon: well it's good to see the test suite moving forward, thanks for the work :) 19:05
Auzon It's been fun, and a great learning experience too. 19:07
s1n anyone have a link to the web-based spec (the one hosted on feather with the collapsable spec tests)? 19:10
Auzon perlcabal.org/syn/ <-- that? 19:11
lambdabot Title: Official Perl 6 Documentation
s1n Auzon: yeah, the cabal, thanks
s1n bah, nothing on either readline or eof 19:13
Auzon t/spec/S16-filehandles/io.t mentions readline 19:19
t/spec/S16-io/basic-open.t mentions eof
s1n yeah, it doesn't say what the return is when an eof is reached and whether a final readline is needed to detect the eof or it sets the eof after the last valid read 19:20
right now, it looks like a final readline with undef returned is needed to detect it 19:21
err well, it looks like it doesn't actually return undef 19:22
Auzon Yeah, .eof looks underspecced 19:24
s1n hmmm
Auzon I imagine it should return Bool::True after the final line so you can use it as: until $fh.eof {.say} 19:25
hm, well, imagine that I put a $fh.readline in there too.
s1n is there a good way to get a better print of a scalar (like how the evalbot does)? 19:26
Auzon Try .perl 19:28
s1n do you see where the =$filehandle operator is? 19:32
nm, s03 19:33
Auzon =$foo is generic iteration so you can use it on Ranges and such 19:36
s1n yeah i read that
Auzon You can also .shift and .pop iterators, which looks like a lot of fun on filehandles. 19:37
s1n it looks like =$foo on filehandles isn't working
s1n it looks like '@foo = =$bar' is returning the IOIterator, according to the spec, it doesn't look like it works 19:39
Auzon Jonathan++ worked on this recently, so let me dig up his notes on it 19:40
Ah, right, it's broken until Rakudo has lazy lists 19:41
s1n ahh 19:42
got a link to his notes?
pmurias ruoso: what do you think i should have in the SMOP talk, a glimps of the metamodel,the smop RI stuff, m0ld?
Auzon www.rakudo.org/2008/08/fixing-bugs-...t-whe.html
lambdabot Title: Fixing bugs, and looking at where we're at - Rakudo.org
s1n Auzon: okay, that clears up that mess, thanks, i hadn't read his blog in a little while (maybe i should catch up) 19:44
Auzon Yeah, I subscribe to several P6 feeds to keep on top of things. Attending Parrotsketch is also informative, though it also has non-Rakudo stuff. 19:44
s1n i do too but i have been falling behind lately 19:45
lots of non-technical things going on around here
pugs_svn r21878 | pmurias++ | [smop] fixed typo in lexicalscope, better printing of constant identifiers 19:47
pugs_svn r21879 | s1n++ | [spec] skip the prefix:= tests until lazy-lists are implemented 20:02
ruoso pmurias, although the metamodel is the most important aspect of smop, I think the roadmap on how to take a pragmatic approach to p6 will probably be more important... 20:09
pugs_svn r21880 | ruoso++ | [smop] lexical scope test pass, but lots of leaks happens... 20:15
pmurias ruoso: should i put the first sketch of the talk on the wiki? 20:42
i hesitate a bit to go into the roadmap, as the things with have done are dwarfed by the things to yet remaining 20:44
pmurias s/to// 20:56
s1n it looks like S28 is still in draft, is that correct? 21:04
s1n if so, do we mark the S02-magicals as rakudo skip? 21:05
(i guess i was soliciting moritz_ and pmichaud on that last question)
pmurias ruoso: the leaks are caused by a circular refenernce with ¢continuation, not realeasing mold and something else 21:12