% DietCoke has left DietCoke!~coke@cpe-72-228-52-192.nycap.res.rr.com % iblechbot has joined #parrot % Auzon has left Auzon!~ak9@24-171-76-148.dhcp.mtvr.il.charter.com % ruoso has left ruoso!~ruoso@81.84.157.134 % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot > my $a = (1..5); my @b = $a; say 'One '~@b; @b = $a; say 'Two '~@b; One 1 2 3 4 5 Two Range is broken badly. * bacek_ going to implement lazy lists during long weekend... I just need little bit of luck to find free time. bacek_, eh.. what should my $a = (1..5); assign to $a? I can't think perl 6 yet :/ Zaba: a capture that holds the range, or a Range object or something along these lines hmm.. what about my @b = $a, then? it evaluates $a in list context pugs assigns a List or Range to the first item of @b and Range knows how to get converted to an array, right? I hope so ;-) well, yes it's supposed to, at least * Zaba svn ups his parrot trunk my workstation's been somehow slow last days and my connection very unstable % UltraDM has joined #parrot % jq- is now known as jq % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru A Range is an iterator, and it's .from (or .to if you iterate from the other end) change as you iterate it. allison@perl.org | A foundation for Parrot: link: http://www.perlfoundation.org/parrot/index.cgi?a_foundation_for_parrot dalek's url is at http://xrl.us/bkxq5 Thus in the above example, it's getting iterated to produce values when it's evaluated in list context the first time. But it should perhaps clone itself so you can do that many times...I'm not completely sure. allison@perl.org | A foundation for Parrot: link: http://www.perlfoundation.org/parrot/index.cgi?a_foundation_for_parrot dalek's url is at http://xrl.us/bkxq5 % jonathan_ is now known as jonathan jonathan: I have patch for Range it clones itself in get_iter and use this clone in list() * bacek_ sent it to RT few minutes ago. allison@perl.org | Articles of Incorporation: link: http://www.perlfoundation.org/parrot/index.cgi?articles_of_incorporation dalek's url is at http://xrl.us/bkyfj jonathan: 55400 bacek_: I think it should clone itself in list instead In get_iter it should return itself, because it is an iterator but shift_pmc destructive. or its supposed to be destructive? allison@perl.org | Bylaws: link: http://www.perlfoundation.org/parrot/index.cgi?bylaws Yes, it is. See S03, Range Semantics. Explicitly says these operations are destructive. I'm not completely sure the semantics you saw in your program above are out of line with S03, if a bit surprising. But if they are wrong, the place to clone the iterator is inside Range's 'list' method. jonathan: already remade my patch actually implement clone :vtable Aha, good. "bacek" at 211.29.157.151 pasted "Fixed Range with clone using" (40 lines) at http://nopaste.snit.ch/13193 I'm tied up with $other_job today, please send patch to list. Then pm can review it too and give his thoughts on how this should work. allison@perl.org | Articles of Incorporation: link: http://www.perlfoundation.org/parrot/index.cgi?articles_of_incorporation dalek's url is at http://xrl.us/bkyfj jonathan: ok allison@perl.org | A foundation for Parrot: link: http://www.perlfoundation.org/parrot/index.cgi?a_foundation_for_parrot dalek's url is at http://xrl.us/bkxq5 allison@perl.org | A foundation for Parrot: link: http://www.perlfoundation.org/parrot/index.cgi?a_foundation_for_parrot dalek's url is at http://xrl.us/bkxq5 % Ademan_ has left Ademan_!~dan@h-68-167-207-98.snfccasy.dynamic.covad.net % Ademan has joined #parrot (from backlog) re whether abs always preserves type: abs(Cpx) => Num # a counterexample spinclad: that's right, but the tests don't do such foolish things ;) rakudo: say 1 ~~ Num EWRONGCHANNEL % bacek_ has left bacek_!~bacek@mcas-151.usr.optusnet.com.au % TonyC has joined #parrot % masak has joined #parrot % ruoso has joined #parrot japbh : it compiles ant the triangle demo runs fine. kudos. how do I build and run the demo? parrot ./examples/opengl/triangle.pir cool % TiMBuS has left TiMBuS!~Hurf@123-243-167-27.static.tpgi.com.au * bacek wanders why 'return' not implemented yet... bacek: yeah, I see what you mean. apparently it's not trivial. masak, why? I don't really know bacek: because it's not yet in PAST it's implemented through control exceptions and that was only recently refactored in parrot how recently? so now it's possible? now it's possible to do it in PAST wow moritz: is there a PDD explaining all this? masak: presumably, yes... looking (or a document of some sort) docs/pdds/pdd23_exceptions.pod gracias https://svn.perl.org/parrot/trunk/docs/pdds/pdd23_exceptions.pod moritz's url is at http://xrl.us/bmmku purl, moritz's url? bugger all, i dunno, moritz ok, not that stupid ;) that's a humorous interchange :) I try to hack and IRC -Ofun ;) so -- see if I get this correctly -- a return is a kind of exception? yes a "control exception" I think we just overused the term 'exception' in its original sense to me returns are very unexceptional but nvm "exception" = "dynamically scoped stack unwinding" yeah, sure or s/stack/continuation/ my complaint was more along the lines that 'exception' is taking on a semantic life of its own within CS but it probably did long ago anyway so did words like "regular" % UltraDM has left UltraDM!~george@dasapass.avira.com and "function" :) getting back to return=exception, what is it that catches a return exception? an implicit try block around the method call? I think an implict try block around the function body so the try is on the callee side, not on the caller side % Whiteknight has joined #parrot ah, so the thrown exception makes the control flow end up at the bottom of the callee? makes sense and it's this mechanism that needs to be added? and it's essentially a Simple Matter Of Programming? think so, yes if it's done in PAST, it should be trivial to add in any HLL that uses PAST but I don't know how "Simple" that SMOP is ;) 'HLL'? high level language ah parrot-speak for "language implemented on top of parrot" in other words "send PATCH" ;-) so all HLLs compile down to PAST? most is this what rakudo's actions.pm generates? aye nice -- another stepping-stone towards enlightenment thank you yw so once actions.pm has done its work, where does the PAST go? one of the compiler/*/ thingies I guess compilers/pct/ that is compilers/pct/src/past/compiler.pir, I believe Which turns it into POST PAST->POST PAST->POST is (designed to be) hll independent thx, purl please don't say "thx", if you're genuinely grateful it's worth the effort to type three extra characters and say "thanks". this is IRC, after all, not SMS or twitter :) ic purl, PAST->POST is also compilers/pct/src/past/compiler.pir okay, moritz. would it be feasible to intercept the PAST before it goes off to compilers/pct/src/past/compiler.pir, and manually add in nodes that simulate a return? just to get a feel for how it would all work ../../parrot perl6.pbc --target=PAST $source_file don't know if the output format is easily usable for re-evaluation, though Well, you can also insert a stage into the pipeline There's just a string inside I think perl6.pir We already added the check stage to make -c work. In the ML compiler I'm planning to work on, I expect I'll add a typecheck stage. I'll look into how make -c works, then s/make -c/-c/ And I'll make cheese sarnies for lunch. :) % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net sarnies? http://cgi.peak.org/~jeremy/retort.cgi?British=sarnie right when you think you know the English language fairly well, you meet an Englishman... ... or you go to scottland and think "wtf? this is *english*?" * masak loves Scottish of course they don't speak English there, but a somewhat rude approximation. Tooke me some time to figure out I listen in to BBC Scotland sometimes % iblechbot has left iblechbot!~iblechbot@ppp-62-216-204-65.dynamic.mnet-online.de masak, I spent 3 years in the silicon valley, so I am more used to american english than regular english. I have trouble with many English accents. But jonathan, I understand pretty well when he speaks. and he is giving great talks too at conferences definitely I visited .nz a few years ago, and had to learn new words for ordinary concepts, like "boot" and "beanie" and he appreciates french cooking so he has become a regular at french perl workshops. cool % iblechbot has joined #parrot ho! I've implemented 'return' based on exceptions! bacek: send patch! Unpack Rachel and get out the puncture repair kit! I'm alive! (or mopaste) literal send patch! moritz: send patch =is= Unpack Rachel and get out the puncture repair kit! I'm alive! bacek++ it requires a bit of polish no matter. show us, now! :) do we have polish hackers here? ;-) "bacek" at 202.7.166.182 pasted "Ugly hack for return 'statement'" (103 lines) at http://nopaste.snit.ch/13194 It's ugly. Really ugly :) % barney has joined #parrot yes moritz, but it works :) why does it need an extra namespace? for 'isa'. I don't want to catch wrong exception ok, makes sense so the namespace isn't visible in p6 land? patch -p1 < the-return-of-bacek moritz, not sure. Probably visible. aye, just tested it it builds ;) moritz, WOW :) tests so far were all fine hm, I got "Could not find non-existent sub return" > sub foo { 2; return 3; 5; }; say foo() 3 maybe I ran make in the wrong way... masak: did you add the Return.pir file? let me check if you just did a patch -p1 < patch you didn't t/spec/S12-role/composition................Null PMC access in type() ah bacek: your patch breaks a few tests in 'make fulltest', but it's a nice start > sub foo { 2;{ return 3;}; 5; }; say foo() [oops; continuation 0xb64243cc of type 22 is trying to jump from runloop 985 to runloop 52] moritz: don't do that then! :) the except handler belongs inside the called sub not in the caller also, not all statement_blocks are subs. so actually the sub|method|submethod|...| action should install the exception handler, right? it _really_ belongs in past, not in actions.pm I know ;) beyond that, we want generic exception handlers for all blocks -- e.g., for CATCH, ENTER, LEAVE, START, etc. I'd take an incomplete implementation of return over these any day this early on, that is yes, bacek's patch is quite clever. pmichaud_, i forgot pop_eh.. maybe I can do control exceptions today. yay! pmichaud++ at least 'return' pmichaud_++ r28128 | fperrad++ | trunk: : [Lua] : - changes format of rules, now Perl (previously .ini) diff: http://www.parrotvm.org/svn/parrot/revision?rev=28128 pmichaud_: 'leave' isn't used taht often in the test suite pmichaud_, there is also fixed Range in #55400 waiting for review. except in builtins/control_flow/leave.t moritz: how about 'next' and 'last' ? pmichaud_: not all that often okay. mostly as "last element" or "next element" in test descriptions ;) % pmichaud_ is now known as pmichaud pmichaud, welcome back :) afk % cjfields has joined #parrot oops, can't do 'return' this morning -- have to do $otherjob first :-( okay, this afternoon then. still very good news well, only if I manage to do it :-) course you will :) % cjfields has left cjfields!~cjfields@adsl-76-247-164-209.dsl.chmpil.sbcglobal.net % DietCoke has joined #parrot % gryphon has joined #parrot r28129 | pmichaud++ | trunk: : [rakudo]: : * Handling cloning of ranges (RT#55400, bacek++) : * Patch courtesy Vasily Chekalkin : * Minor modifications by Pm diff: http://www.parrotvm.org/svn/parrot/revision?rev=28129 pmichaud: Should the iterator method really do $P0 = clone self? Since a Range is an iterator anyway. I think that 'shift' should modify the range, but shifting on the thing returned by 'get_iter' should not. in particular: my $a = 1..5; for =$a { say $_; }; say $a; I don't know that iterating over a range should deplete the range. I'm not 100% sure on this either. However, a range is an iterator itself, and S03 says that when as it is iterated, the to and from change. s/when// Well, to or from if you iterate at just one end. :-) % Whiteknight has joined #parrot well, I'm sure that shifting or popping a range modifies it. Despite what S03 says about prefix:<=>, I'm not so sure. % Zero_Yao has joined #parrot let's see what pugs has to say :-) 13:24 pugs: my $a = 1..5; for =$a { say $_; }; say $a; 13:25 OUTPUT[1␤2␤3␤4␤5␤1 2 3 4 5␤] r28130 | coke++ | trunk: : [DOCS] mention the other RT queue diff: http://www.parrotvm.org/svn/parrot/revision?rev=28130 does parrot currently support multiple iterators via get_iter? you mean for the base types? I don't know. seems like it should. tcl's syntax gives you an ID for the iterator... [ set a array startsearch arrayName] [array nextelement arrayName $a] gonna have to store a list of iterator ids on my hash-like object. (er, tcl spells hash, 'array') pmichaud: Hmm. Pugs seems to agree with you. :-) yes. but we also have: But I think maybe best is posting to p6l for clarification. 13:28 pugs: my $a = 1..5; my $b = =$a; say $b; $b = =$a; say $b; say $a; 13:28 OUTPUT[1␤2␤3 4 5␤] Curious. * purl hands jonathan a dead cat I'd probably post the question to p6c. ok will tonight if you don't beat me to it. I tend to use p6l for questions about Perl 6 design, and p6c for questions about clarification of the spec Right now I'm bogged down in some...wait for it...CSS refactoring. :-( you'll probably beat me to it, at any rate. pmichaud: since you own PGE, can you comment on http://rt.perl.org/rt3/Ticket/Display.html?id=55210 ? I'll take the ticket for now. I don't have a good comment at the moment. it's a good idea, but instead of adding the opcode and then trying to figure out how PGE can use it, I'd rather figure out what PGE needs and then write an opcode to support it. but I've been thinking along these lines with respect to longest token matching, yes. % Andy has joined #parrot ah, that's a more positive rxn than I anticipated. so good. =-) % jhorwitz has joined #parrot % Zero_Yao has left Zero_Yao!~Zero_Yao@125.33.198.209 I've actually had a little time to think about it. :-) okay, commented. DietCoke++ # closing/handling old tickets. hrmmmmmm. > say (1..5).WHAT; [oops; continuation 0xb751f038 of type 22 is trying to jump from runloop 3226 to runloop 3066] Null PMC access in clone() > say Range.WHAT; weird. [oops; continuation 0xb7516fec of type 22 is trying to jump from runloop 3339 to runloop 3226] Null PMC access in clone() oh. $!from and $!to are uninitialized in the protoobject. $P0 = self.'from'() from = clone $P0 pmichaud: I worked around that bug in Junction. .sub 'from' :method $P0 = getattribute self, '$!from' .return ($P0) .end we should check for null there. whenever I see that now, it's often an exception getting thrown from PIR through C into PIR again. you might actually get the exception properly in the cx branch. (if it's building atm.) pmichaud: It's only the proto that has the issue. The call to new, for instances, fills all attribute slots with undefs. We are down to 48 tickets that don't have some kind of [TAG] in them. Thus for any normal instance you know it's never null and can skip the check. I *think* proto-objects probably should blow up on state access anyway... I wonder why .WHAT is generating a clone anyway (protoobject blowups)++ however, I'm not sure that calling new should fill all attributes with undefs. (for the same reason that saying my $a; should not automatically fill $a with undef) (namely, existence.) pmichaud: any further thoughts on the metaclass issue i was having yesterday? namely this: Method 'item' not found for invocant of class 'Apache;RequestRec' jhorwitz: yes, I think I need to convert item() into a function. that then re-dispatches to the method if it exists. when is that invoked? assignment. assignment is different in scalar contexts than in array context ah, so when i pass $r to a mod_perl6 handler, it gets assigned yes. is that significant work on your part? but I don't think we can rely on every object (e.g., non-Perl6 objects) having a .item method. no, not too significant. I can take care of it in about an hour or so. actually 90 mins. (right now $otherjob calls.) * jhorwitz needs to pay the bills as well. :) % barney has left barney!~bernhard@p549A112A.dip0.t-ipconnect.de % ank has left ank!~ank@ppp121-44-210-24.lns1.hba1.internode.on.net % uniejo has left uniejo!~uniejo@langebro.adapt.dk % cjfields has joined #parrot r28131 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] update to trunk r28129 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28131 % DietCoke has left #parrot r28132 | fperrad++ | trunk: : [Lua] : - factorize some rules (easy with Perl) diff: http://www.parrotvm.org/svn/parrot/revision?rev=28132 r28133 | Whiteknight++ | trunk: : [nqp] update to use ".namespace []" instead of ".namespace", as per #48549 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28133 r28134 | Whiteknight++ | trunk: : [languages/squaak] update to use ".namespace []" instead of ".namespace", as per #48549 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28134 r28135 | Whiteknight++ | trunk: : [docs/art] update to use ".namespace []" instead of ".namespace", as per #48549 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28135 r28136 | Whiteknight++ | trunk: : [docs/pct] update to use ".namespace []" instead of ".namespace", as per #48549 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28136 r28137 | Whiteknight++ | trunk: : [tools/dev] update to use ".namespace []" instead of ".namespace", as per #48549 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28137 r28138 | Whiteknight++ | trunk: : [examples/past] update to use ".namespace []" instead of ".namespace", as per #48549 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28138 r28139 | Whiteknight++ | trunk: : [examples/pir] update to use ".namespace []" instead of ".namespace", as per #48549 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28139 r28140 | Whiteknight++ | trunk: : [Rakudo] update builtins to use ".namespace []" instead of ".namespace", as per #48549 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28140 r28141 | Whiteknight++ | trunk: : [Rakudo] update classes to use ".namespace []" instead of ".namespace", as per #48549 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28141 % NotFound has left NotFound!~julian@50.Red-213-96-228.staticIP.rima-tde.net % cjfields_ has joined #parrot % cjfields has left cjfields!~cjfields@newrad.igb.uiuc.edu % cout has left cout!~cout@c-68-58-247-49.hsd1.sc.comcast.net % Zaba_ has joined #parrot r28142 | pmichaud++ | rakudoparam: : Removing obsolete rakudoparam branch. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28142 r28143 | pmichaud++ | mutablerakudo: : Merged to trunk, removing obsolete branch. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28143 % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru r28144 | pmichaud++ | mutamerge: : Merged to trunk, removing obsolete branch. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28144 r28145 | pmichaud++ | userstack: : Merged to trunk, removing obsolete branch. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28145 pmichaud++ # dead branch cleanup (spring cleaning)++ purl, spring cleaning is http://www.ibiblio.org/Dave/Dr-Fun/df200204/df20020402.jpg OK, cotto_home. (gmail labs)++ # mouse gestures in gmail % cout has joined #parrot Why is everyone so careful to delete old branches? we don't need them anymore keeps the size of the repo smaller keeps the perceived size of the repo smaller :-) the repo itself doesn't actually get smaller :-) pmichaud: hence my confusion. git would make the repo smaller ;) So it's just perception then? I like the practice... less clutter makes it easier to pick out the useful stuff pmichaud: If it's still there, mutamerge can go too, I guess. moritz: +1 on that idea ... too bad it's probably not as portable as SVN yet japhb: you get a better overview of the active branches when you delete the inactive ones japhb: It's simply easier if they're removed when no longer needed, so that we no longer ask ourselves "is this branch imporant? What's happening here?" pmichaud: That was my guess. Makes sense, I suppose. .oO( and reduces the size if somebody is stupid enough to check out /branches or even / ) vany: ping for example, there's a branches/gmc/ branch which none of us really knows is worth keeping around. (However, it's so old by now we should probably just get rid of it.) Could someone with Win32 try the latest (2008-06-05) OpenGL patch attached to RT #55228, please? pmichaud: nodnod pmichaud: it's a generational garbage collector, from 2006 SoC project it is blocking on some stm fixes that may not have been resolved in any case, branches/gms has been a help to Whiteknight i believe yes, I've been reading it i haven't gotten to that point, but i'll probably steal some code wholesale % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % Theory has joined #parrot purl: nopaste? nopaste is at http://nopaste.snit.ch/ (ask TonyC for new channels) or http://rafb.net/paste or http://paste.husk.org/ or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ or don't bother me while I'm eating or App::Nopaste or tools/dev/nopaste.pl % cosimo_ has left cosimo_!~cosimo@pat-tdc.opera.com "tene" at 160.79.186.34 pasted "Failing build. Has anyone ever seen this before?" (8 lines) at http://nopaste.snit.ch/13196 * Tene prods buildy-people. tene: no, but i suspect he has an old Storable there were incompatible changes at some point cpan Storable ; make -j realclean etc pmichaud, ping Whiteknight: pong particle++ # on-demand problem-fixing I'm working on 48549 and I have to update PCT to emit the proper directives Tene: that's why they pay me the big bucks here! I think i've traced the issue to the CodeString.pmc:key (big bucks)++ purl: give particle a deer Tene: huh? a deer? ;-) "big buck" == "deer" a large, male one, to be exact Whiteknight: I don't know that you'll be able to "fix" this particular issue just yet masak: thanks ;) np ;) in particular, because PIR doesn't recognize "[]" as an empty key yet pmichaud, that's okay, that's what I figured (this is why I was also commenting that we shouldn't rush to deprecate ".namespace" yet.) that's why I ask first * masak has been listening too much to 'tirdy point buck' I think the answer is for PCT to see if CodeString.key returns an empty string, and replace it with "[]" when generating the namespace directive. okay, well both ".namespace" and ".namespace []" work currently, so there is no hurry either way. I'll put the ticket on the back burner or, have CodeString.key generate "[]" for an empty namespace, and check for that when generating a get_* opcode. but I think this latter option is much more difficult. (because there are so many opcodes involved.) okay, i'll make a note of the options in the ticket, and we can wait till we're ready to move on it % cotto-work has left cotto-work!~cotto@tide534.microsoft.com % masak has left masak!~user@130.238.45.242 % cotto-work has joined #parrot http://webkit.org/blog/189/announcing-squirrelfish/ # yet another register based vm % ruoso has left ruoso!~ruoso@195.23.92.2 % Ademan has left Ademan!~dan@h-68-167-207-98.snfccasy.dynamic.covad.net http://amazon.com/ # amazon is down! % iblechbot has left iblechbot!~iblechbot@20.18-dial.augustakom.net don't you mean http://amazon.com/?referrer-id=tene ? particle: maybe they were bought by Microsoft % sjansen has joined #parrot % iblechbot has joined #parrot % ruoso has joined #parrot particle | A foundation for Parrot: link: http://www.perlfoundation.org/parrot/index.cgi?a_foundation_for_parrot dalek's url is at http://xrl.us/bkxq5 particle | parrot_foundation_notes: link: http://www.perlfoundation.org/parrot/index.cgi?parrot_foundation_notes dalek's url is at http://xrl.us/bmna5 % DietCoke has joined #parrot patches welcome? purl, feel fre? dietcoke: i haven't a clue purl, feel free? dietcoke: bugger all, i dunno you suck, purl. that be FIE DOLLAH % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % sjansen has left sjansen!~sjansen@64.207.31.107 % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru hey dalek! i want karma for wiki edits, too! particle: the problem is that folks' names on the wiki site vary widely from their irc names except yours except yours is 9" bigger. purl is inappropriate indeed * jhorwitz was expecting a witty comeback purl, forget except yours moritz: I forgot except yours :) you're just thinking inappropriate things, she could have been referring to any number of things jhorwitz: Jeff. er, ! % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot Is there someone here who can test the #55228 patch on Windows? I can tonight. DietCoke: Ah, cool. DietCoke: I will be away for a few days ... if your Win32 test is successful with that patch, go ahead and commit it. I already have Linux and Mac OS X signoff. particle: change your nick on perlfoundation.org to "particle++" pmichaud: that doesn't look right then you'll get karma for wiki edits :-) % ruoso has left ruoso!~ruoso@81.84.157.134 Hm. If I'm going to get something done on the plane, I need caffiene. % slightlyoff has joined #parrot % slightlyoff has left #parrot :) Coke++ DietCoke: pinging me? % japhb has left japhb!~geoff@76-191-190-8.dsl.static.sonic.net jhorwitz: I'll ping you if you'd like. % Zaba_ has joined #parrot % davidfetter has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % teknomunk has joined #parrot % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk particle | parrot_foundation_notes: link: http://www.perlfoundation.org/parrot/index.cgi?parrot_foundation_notes dalek's url is at http://xrl.us/bmna5 Tene: don't tease me when's that parrot hacking thing going on @ yapc? weekend prior * jhorwitz can only make sunday afternoon. :( d'oh i'm thinking of flying in friday evening i'm there friday night, as is chromatic, I think. -> % IllvilJa has joined #parrot % cjfields_ has left cjfields_!~cjfields@cjfields.igb.uiuc.edu jhorwitz, any chance i can steal some of your time in re: my ever-expanding vaporware integrating parrot and pg? * davidfetter wonders whether there are plans to have parrot generate C davidfetter: PGE or parrot? um, i guess pge basically, i'd like to see about replacing lexx/yacc PGE then % ank has joined #parrot how far is pge from being able to emit C? is anyone else interested in that? % iblechbot has left iblechbot!~iblechbot@ppp-62-216-200-181.dynamic.mnet-online.de % Andy has left Andy!~AndyL@host3130.follett.com % dolmen has joined #parrot * davidfetter listens to chirping crickets I don't have any plans for PGE to emit C. PGE really expects to have an underlying hash and array support. (and it wouldn't help anyway, unless we know that parrot is bundled with a C compiler :-) hrm although I have thought about making PGE into its own vm compnent i'm not following that last statement PGE emits PIR as its output. k couldn't PIR be compiled to C? I suppose, but PIR really expects to have the equivalent of the parrot VM underneath it. So, you could compile it to C, but you'd still need "objects" representing arrays and hashes and garbage collection, and coroutines. hrm you could of course compile PIR to pbc, and link that with libparrot.so just like the 'perl6' executable is built % ank has left ank!~ank@ppp121-44-210-24.lns1.hba1.internode.on.net :) bed & * davidfetter heads to airport to pick up more people % dolmen has left dolmen!~dolmen@cho94-1-81-57-157-99.fbx.proxad.net % dolmen has joined #parrot have to be careful not to let the airports become too full of people. I think the TSA is already doing a good job with that. r28146 | pmichaud++ | trunk: : [rakudo]: : * Fix .list and !flatten so they don't generate clones of the elements. : * This also fixes Range.WHAT. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28146 % tetragon has joined #parrot % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net Is there a way to stop PGE from lexing/parsing a file once it reaches a certain token? % dolmen has left dolmen!~dolmen@cho94-1-81-57-157-99.fbx.proxad.net kill -9 usually works :) % AndyA has left AndyA!~andy@82.152.157.85 % Limbic_Region has joined #parrot % AndyA has joined #parrot % jjore is now known as zz_jjore % zz_jjore is now known as jjore TimToady: :P % cjfields has joined #parrot % cjfields has left cjfields!~cjfields@adsl-76-199-1-10.dsl.chmpil.sbcglobal.net \ % kid51 has joined #parrot % Maddingu1 has joined #parrot % d4l3k_ has joined #parrot % dalek has left dalek!dalek@feather.perl6.nl % d4l3k_ is now known as dalek % Maddingue has left Maddingue!~Maddingue@profane.mongueurs.net % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % skv__ has joined #parrot % skv_ has left skv_!~skv_@87.242.97.68 % skv__ is now known as skv % skv__ has joined #parrot % skv has left skv!~skv_@87.242.97.68 % skv__ is now known as skv % clunker3 has left clunker3!~IRC@procura.xs4all.nl % paco has left paco!~chatzilla@139.Red-80-36-122.staticIP.rima-tde.net % paco has joined #parrot % clunker3 has joined #parrot % grim_fandango has joined #parrot token & ? % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au ... not that that's the right syntax, of course. let me find something. 'HAI' (that will die if it matches the literal HAI, methinks. davidfetter: you can steal my time at YAPC. the price is beer. :) oh noes! what kind of beer? the good kind * davidfetter did *not* intend to steal, and was told there'd been a cancellation what kind of beer do you like? all kinds. i'm a fan of belgians in particular. k % davidfetter has left davidfetter!~chatzilla@start.fetter.org % jhorwitz has left jhorwitz!~chatzilla@96.245.16.45 DietCoke, it's for php's little-known __halt_compiler() directive, which causes PHP's parser to completely ignore the rest of a script after that point http://www.sitepoint.com/blogs/2006/05/12/__halt_compiler-how-nuts/ cotto-work's url is at http://xrl.us/bmnws (it dresses like a function, but obviously it has to operate at a much lower level) % bacek has joined #parrot cotto-work: could it be implemented as some fancy sort of comment? like # or // but more so... I feel like I should have thought of that Infinoid++ for stating the retrospectively obvious well, if it works, great :) I was just curious... I know nothing about PHP. It'll be a while before I can find out, but I can't poke a hole in it You're lucky that way. going home & % DietCoke has left DietCoke!~coke@cpe-72-228-52-192.nycap.res.rr.com r28147 | jkeenan++ | trunk: : Move print_tree() out of Parrot::Pmc2c::Pmc2cMain and into : Parrot::Pmc2c::PMC::PrintTree. Eliminate '--tree' option from : tools/build/pmc2c.pl; replace it with a new program, tools/dev/pmc_tree.pl. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28147 r28148 | jkeenan++ | trunk: : Simplify program name: get rid of the underscore. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28148 r28149 | coke++ | trunk: : : Remove the Version PMC. (RT#55366) : It was only referenced in its own instantiation : test and a few other infrastructure locations. : This changes the list of available core PMCs, so a reconfig is probably : required. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28149 Infinoid, it's sensitive to scope, since halting the compiler in a block or function definition (etc) would cause a syntax error It might be possible to make a scope-sensitive comment, though. % TiMBuS has joined #parrot r28150 | jkeenan++ | trunk: : Transform t/tools/pmc2cutils/06-print_tree.t into t/tools/dev/pmctree.t. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28150 r28151 | jkeenan++ | trunk: : Update MANIFEST to reflect last file name change. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28151 r28152 | jkeenan++ | trunk: : print_tree() no longer needs to be tested here. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28152 r28153 | jkeenan++ | trunk: : Correct typo causing syntax error. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28153 % confound has left confound!hdp@floe.aq % confound has joined #parrot % DietCoke has joined #parrot r28154 | jkeenan++ | trunk: : Test for correct time at which print_tree() can be run should have been when : 'parrot' has been created, not when 'Makefile' was created. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28154 % confound has left confound!~hdp@glaive.weftsoar.net % confound has joined #parrot damnit, I can't 'svn commit' on feather because /usr/bin/editor is getting invoked and screwing things up. I just want 'vi', damnit. r28155 | coke++ | trunk: : : [codingstd] : add coda for perlcritic.t diff: http://www.parrotvm.org/svn/parrot/revision?rev=28155 ... even using vi fails with svn: system('vi svn-commit.tmp') returned 256 ... (P*#&$ TERM... DietCoke: Thanks for that fix. I have to fix the pod formatting too. % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru svn -m "your commit message here" ? svn commit -m "..." r28156 | jkeenan++ | trunk: : Correct POD formatting. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28156 r28157 | jkeenan++ | trunk: : Correct documentation re printing PMC inheritance tree. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28157 * kid51 must sleep r28158 | coke++ | trunk: : [docs] $kid51->sleep(8 * 3600); : Remove reference to long dead weekly summaries diff: http://www.parrotvm.org/svn/parrot/revision?rev=28158 % kid51 has left kid51!~jkeen@pool-71-247-40-2.nycmny.east.verizon.net % Zaba has joined #parrot r28159 | coke++ | trunk: : [docs] : RT #46711 - add links to google groups for RSS goodness. : As long as we're in here, delete the defunct google URLs, clean up a few : more and delete the obsolete VERSION information. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28159 % Andy has joined #parrot r28160 | pmichaud++ | trunk: : [rakudo]: : * In scalar assignment, only call .item() on those objects that support it. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28160 pmichaud, good yesterday :) good tomorrow! somebody said good tomorrow was mocha_haze's birthday and mocha_haze's new job sucks although it will be tomorrow in about 41 minutes. * bacek thinks that pmichaud is robot. He never sleeps... :) I do keep weird hours. always have. pmichaud, I have patch for 'eval()' and 'eval_dies_ok'. send it to rakudobug, please * bacek fear imagine pmichaud's 'weird hours' pmichaud, This mailinglist does not accept postings crossposted to newsgroups - Contact perl6-internals-owner@perl.org for help What I did wrong? should just send it to rakudobug@perl.org . That doesn't work? ok, I'll try again. or, if there's an existing ticket, reply to one of the messages in the ticket. ok. btw, S29-list/grep.t works for me. Add it to spectest_regression? it's not already there? hmmm, I guess not. Let me run it quickly. I get "2 subtests UNEXPECTEDLY SUCCEEDED" TODO? i think TODO is at http://www.AmbrosiaSw.com/Ambrosia_Products/ToDo.html yes, that means two TODO tests are passing. it about 'mutating map/grep' ok 28 - mutating $_ in grep works (1)# TODO unspecced ok 29 - mutating $_ in grep works (2)# TODO unspecced pmichaud, is there any decision for 'bugward compatibility' about mutating map()? not that I've seen. We may need to repost the question. anyway, I'll add it to regression. it'll be more likely to get a decision. :-) :) r28161 | pmichaud++ | trunk: : [rakudo]: : * Add t/S29-list/grep.t to spectest_regression (bacek++) diff: http://www.parrotvm.org/svn/parrot/revision?rev=28161 perhaps this is insane, but microsoft's recent silverlight flailing makes me wonder how feasible would it be to someday have parrot in a browser, either as core or a plugin lots of things about microsoft make me wonder recently. :-) having parrot in a browser is something we'd like to see, yes. so feasible, yes. % tetragon has left tetragon!~seneca@69-196-141-26.dsl.teksavvy.com pmichaud, question about lazy list: should we separate classes for 'lazy' and 'eager' lists? actually, hm. as core, you'd have a hell of a time getting IE to implement it. as a plugin, you'd need a specific canvas and controls and ways to draw to it and etc bacek: I wasn't planning on having a separate class for eager lists. unless there's a class for it already in the synopses :-) pmichaud, no. Such class doesn't exists :) But 'lazy-list' is quite different from 'eager-list'. why is that? "It's hard to be lazy" :) Actually 'lazy' should morph self into eager on 'set_pmc_*'. you mean on set_keyed_pmc ? sorry, set_pmc_keyed_* ? indeed for that we only need to be eager enough on the elements up to the key we don't have to make the entire list eager. i.e., my @b = 1..*; @b[5] = 'five'; should still work what about grep { $_%2}, @list? I think 'grep' should produce lazy list too yes, grep should be lazy also grep should return an object that when iterated (i.e., shifted) produces the next element in the sequence ok. what about get_pmc_keyed? same thing -- get_pmc_keyed only needs to be eager enough to produce the element we want eg (grep{}, @list)[5]? pmichaud: is that treated as "1..* except for index 5", or "1, 2, 3, 4, 5, five, 7..*"? so you thinks get_pmc_keyed should materialize list? Eevee: the list ends up being 1, 2, 3, 4, 5, five, 7..* % davidfetter has joined #parrot (iiuc) say (grep{}, 1..Inf)[1000000000] out-of-memory exception thrown... okay; never saw that mentioned explicitly in a synopsis so I wasn't sure bacek: that might not even throw an exception segmentation fault, core dumped :) (on side note) anyone tried to adapt t/02-test-pm/ for rakudo? It seems very pugs specific. I think it's somewhat pugs specific. I'd like to see it rewritten for rakudo (with the assumption that Rakudo's Test.pm is more universal) (the assumption may be wrong, but I prefer Rakudo's very simple Test.pm to Pugs' more complex one.) pmichaud, +1 is it possible to override 'proclaim' in Test.pm from external program? pmichaud, good today :) I dunno. (proclaim) hmm... Probably adding 'sub set_proclaim(Sub procaim)' is not best idea, but it may works why override proclaim? to check that 'ok(2+2==5) actually works? might also try: my &proclaim = sub .... or my &proclaim := sub .... ... and add 'set_proclaim' in Test.pm :) although that would just do it lexically, and not for Test.pm's ok() function. maybe &Test::proclaim would work. although I don't think we support namespace'd sigiled vars yet. although we might. :-) future is bright. Only one problem - we lives now :) sub s1 { say 's1'; }; sub s2 { say 's2'; }; our &s := &s1; &s(); &s = &s2; &s(); segmentation fault. (Core dumped) future? You will waste much time on IRC future? You will waste much time on IRC future? Ask again later. first is ':=', second '='. It causing infinite loop in 'returncc'. "bacek" at 202.7.166.165 pasted "It works: testing Test.pm with proclaim overriding." (20 lines) at http://nopaste.snit.ch/13200 r28162 | pmichaud++ | trunk: : [rakudo]: : * Rework handling of named unaries a bit. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28162 % davidfetter has left davidfetter!~chatzilla@start.fetter.org % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net Ho. I've implemented test for Test,pm % cotto_home has left cotto_home!~cotto@75-92-237-130.sea.clearwire-dns.net % Andy has left Andy!~Andy@64.81.227.163 Feedback on 52776 appreciated. % Psyche^ has joined #parrot % silug has left silug!~steve@ppp-70-225-32-179.dsl.covlil.ameritech.net % silug has joined #parrot * bacek will never again build parrot with --optimize --inline for developing rakudo... % Patterner has left Patterner!~Psyche@e177224001.adsl.alicedsl.de % Psyche^ is now known as Patterner % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167934907.dsl.bell.ca DietCoke: (#52776) +1