% iblechbot has joined #parrot % pjcj has joined #parrot % ruoso has left ruoso!~ruoso@81.84.156.87 % wknight8111 has joined #parrot % integral has joined #parrot % pjcj has left pjcj!~pjcj@84-73-177-217.dclient.hispeed.ch r26738 | kjs++ | trunk: : [pdd29] add more stuff to pdd29 diff: http://www.parrotvm.org/svn/parrot/revision?rev=26738 % pjcj has joined #parrot % pjcj has left pjcj!~pjcj@84-73-177-217.dclient.hispeed.ch r26739 | kjs++ | trunk: : [pdd29] fix a small layout thing; add a bit to synopsis for actions; add some HLLCompiler API methods. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26739 r26740 | kjs++ | trunk: : [CREDITS] add a.k.a. and claim blame for some pct-based language updates diff: http://www.parrotvm.org/svn/parrot/revision?rev=26740 % ruoso has joined #parrot r26741 | fperrad++ | trunk: : [Lua] : - refactor (has_call_in_last_op) diff: http://www.parrotvm.org/svn/parrot/revision?rev=26741 % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % iblechbot has left iblechbot!~iblechbot@ppp-62-216-197-159.dynamic.mnet-online.de % kid51 has joined #parrot % muixirt has joined #parrot % skids has left skids!~bri@c-71-233-204-100.hsd1.ma.comcast.net % kid51 has left kid51!~jkeen@pool-71-247-38-63.nycmny.east.verizon.net % iblechbot has joined #parrot % iblechbot has left iblechbot!~iblechbot@231.18-dial.augustakom.net % kj has joined #parrot % tetragon has left tetragon!~seneca@216.126.67.44 % wknight8111 has joined #parrot % jan has left jan!~chatzilla@89-253-66-101.customers.ownit.se % skids has joined #parrot r26742 | coke++ | trunk: : [docs] correct help diff: http://www.parrotvm.org/svn/parrot/revision?rev=26742 % Patterner has left Patterner!~Psyche@e177235235.adsl.alicedsl.de % Psyche^ has joined #parrot % Psyche^ is now known as Patterner % mj41 has left mj41!chatzilla@pc-jurosz.ro.vutbr.cz % mj41 has joined #parrot % iblechbot has joined #parrot % Andy has joined #parrot % rdice has joined #parrot % cognominal has left cognominal!~cognomina@82.67.232.89 % cognominal has joined #parrot r26743 | fperrad++ | trunk: : [Lua] : - reorg tree diff: http://www.parrotvm.org/svn/parrot/revision?rev=26743 r26744 | fperrad++ | trunk: : [Lua] : - update doc diff: http://www.parrotvm.org/svn/parrot/revision?rev=26744 % GeJ_ has left GeJ_!~geraud@edna.nealab.net % GeJ has joined #parrot Is there generic way to figure out of a PMC is an aggregate from C? (I can use does('hash')||does('array'), but that's not particularly elegant) * particl1 just booked tickets for yapc::na !does(scalar) cool % particl1 is now known as particle is that more elegant? :) if it works ;) actually, it's 'provides' now iirc Hm. I need to decide if I'm going to yapc::na and schedule time off. no, it's 'does' cotto_home: see src/pmc/exporter.pmc, look at the globals method on line 246 % jan has joined #parrot so basically, does('hash')||does('array') is inelegant, but it's at least fairly certain to work it will work. as long as the pmclass declarations for the pmcs you're interested in use does and they should. otherwise those pmc's aren't playing nice. it looks like !does('scalar') would also catch a library, but I think that can be safely ignored % peeps[work] has joined #parrot given that does doesn't guarantee anything atm... % pjcj has joined #parrot % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % grim_fandango_ has left grim_fandango_!~matt@bas2-kingston08-1167933634.dsl.bell.ca % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167933634.dsl.bell.ca % teknomunk has left teknomunk!~teknomunk@ubuntubob.residential.okstate.edu % teknomunk has joined #parrot % PerlJam has joined #parrot % Theory has joined #parrot % sjansen has joined #parrot % rdice has joined #parrot As far as I can tell, NQP doesn't support return? implicit return of last statement iirc what do you need return for? Ahh, covered in TODO.pod that's what i should do next... implement return. r26745 | fperrad++ | trunk: : [docs] : fix make hmtl (broken since r26726) diff: http://www.parrotvm.org/svn/parrot/revision?rev=26745 * Tene playing with SDL in NQP. % barney has joined #parrot r26746 | fperrad++ | trunk: : [Lua] : - refactor with Protomaker diff: http://www.parrotvm.org/svn/parrot/revision?rev=26746 % ruoso has left ruoso!~ruoso@195.23.92.2 % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net Things I enjoy: chromatic snarking on github long walks on the beach s/on github// # chromatic usually snarks well r26747 | fperrad++ | trunk: : [Lua] : - add random library diff: http://www.parrotvm.org/svn/parrot/revision?rev=26747 % grim_fandango has joined #parrot r26748 | bernhard++ | trunk: : Satisfy trailing_space.t diff: http://www.parrotvm.org/svn/parrot/revision?rev=26748 % ambs has joined #parrot Anyone looked at gold yet? http://google-opensource.blogspot.com/2008/04/gold-google-releases-new-and-improved.html Andy's url is at http://xrl.us/biwti * ambs looks at gold sounds good * Andy wonders how much of Parrot build time is linking. i expect very little <10% Interesting that it's not separate that I can see seems only to be in binutils. % iblechbot has left iblechbot!~iblechbot@62.216.222.99 % ruoso has joined #parrot % barney has left barney!~bernhard@dslb-084-058-175-249.pools.arcor-ip.net % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@d122186.adsl.hansenet.de % Psyche^ is now known as Patterner % mfredrickson has joined #parrot r26749 | coke++ | trunk: : [docs] : Fix PATH : Patch courtesy John Trammell diff: http://www.parrotvm.org/svn/parrot/revision?rev=26749 ... I am still waiting for that commit to come bac... % ambs_ has joined #parrot % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % ambs_ has left ambs_!~ambs@255.92.54.77.rev.vodafone.pt never did come back. I had to kill it and cleanup. I blame kid51 for closing the svn ticket. :| Should a FixedPMCArray be accepting string indicies? atm they're being implicitly converted to int 0, which isn't exactly what one might expect er, ResizablePMCArray. probably several others too what about $P0['123'] ? Is that converted to int 0 ? Honestly, I wouldn't want that to work. I'm thinking more like a['foo'] yes, but pmichaud's case may be why that's in there. having 'foo' numify to 0 is very perlish which is why I don't want it. =-) you would prefer, say: $S0 = '123' $I0 = $S0 $P0[$I0] ? doesn't that essentially do the same thing? yes, but more slowly. if you're saying that perhaps RPA should throw an exception on a string key, I don't think I'd argue it too much I'd feel better about that. $P1['2e100'] = "boom" pmichaud, exactly the same thing, afaict well, $S0 = '2e100' $I0 = $S0 $P0[$I0] also results in "boom" cot yes, what I wrote is alexactly the same thing, but slower Someone can always provide that behavior in an HLL PMC. or disable it. :-) True enough. I'd prefer to see more explosions by default as I said, I don't think I'd argue it too much. At least not at this point, where it's not terribly important of more interest is the case of $P0 = new String; $P0 = 'foo'; $P1 = array[$P0]; in this case we're clearly going to numify $P0. So there's a good argument we should do the same for string registers as well. where would be a good place to start fixing this? depends on what you mean by "fix"? that's true % cout has left cout!~cout@c-68-58-247-49.hsd1.sc.comcast.net if you just want ResizablePMCArray to toss an exception when passed a string register or string constant as an index, then that's probably in src/pmc/resizablepmcarray.pmc my first instinct would be to die when a string doesn't represent a valid int % Theory has joined #parrot if you want ResizablePMCArray to toss an exception when passed a PMC as an index (as opposed to numifying it), then PCT will probably have serious issues with that I want a more general behavior ResizablePMCArray just happened to be the Array type I was playing with at the time could do the same for the other array types, yes. % cout has joined #parrot it looks like the easiest to make string_to_int explode, though I'm not sure if that would be an acceptable solution thoughts? "I'm never here, I'm never here, I'm never here / never a bird, or a flower in the tree, or the pain of the respect thereof..." meh. I guess it beats Warnock. ->list please no, don't make string_to_int explode you mean you want to make $I0 = $S0 stop working? depending on the contents of $S0 I think that would be Really Bad. extremely bad. at the vm level, we know what we're doing when we write $I0 = $S0 I figured it'd be something like that Parrot strings should always be able to numify. If we want a string to explode when numified, then use a specialized string pmc for that % barney has joined #parrot % barney has left barney!~bernhard@dslb-084-058-175-249.pools.arcor-ip.net % iblechbot has joined #parrot % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % rdice has joined #parrot % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % skids has left skids!bri@charon.clarku.edu % IllvilJa has joined #parrot % Andy has left Andy!~AndyL@host3130.follett.com % skids has joined #parrot % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl % iblechbot has left iblechbot!~iblechbot@ppp-62-216-205-79.dynamic.mnet-online.de % Limbic_Region has joined #parrot % sjansen has left sjansen!~sjansen@hq-nat2.gurulabs.com % kid51 has joined #parrot % peeps[work] has left peeps[work]!~peepsalot@bwext.kpimdp.com % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net % Ademan has left Ademan!~dan@h-68-164-168-66.snfccasy.dynamic.covad.net r26750 | jkeenan++ | trunk: : (1) Per posting in http://rt.perl.org/rt3/Ticket/Display.html?id=52054, relaxing : requirement that each PDD have a SYNOPSIS. : (2) Making sure that pdd00_pdd.pod and pdd_template.pod have NAME, VERSION, : ABSTRACT, SYNOPSIS and DESCRIPTION in the same order. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26750 r26751 | rgrjr++ | trunk: : * docs/compiler_faq.pod: : + Update the NS deletion example. : + Replace find_global with get_(hll|root)_global. : * docs/pmc/subs.pod: : + Ditto. This could use a good deal more updating -- some of the : examples use very old calling conventions -- but I'm not sure how : to do this without changing PASM to PIR. : * docs/pdds/pdd23_exceptions.pod: : * docs/pdds/draft/pdd06_pasm.pod: : + Ditto. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26751 Oooh, let's see how well the pdds rgrjr just edited conform to the coding standards. * kid51 re-ups * kid51 re-runs t/codingstd/pdd_format.t pdd06_pasm.pod is *way* out of compliance -- but it's a draft with large chunks of text copied from this channel! But pdd23_exceptions.pod passes with flying colors! rgrjr++ r26752 | jkeenan++ | trunk: : Bring file closer to conformance with coding standards for PDDs (http://rt.perl.org/rt3/Ticket/Display.html?id=52054). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26752 r26753 | jkeenan++ | trunk: : Bring file closer to conformance with coding standards for PDDs (http://rt.perl.org/rt3/Ticket/Display.html?id=52054). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26753 r26754 | jkeenan++ | trunk: : Bring file closer to conformance with coding standards for PDDs (http://rt.perl.org/rt3/Ticket/Display.html?id=52054). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26754 r26755 | jkeenan++ | trunk: : Bring file closer to conformance with coding standards for PDDs (http://rt.perl.org/rt3/Ticket/Display.html?id=52054). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26755 r26756 | jkeenan++ | trunk: : This progam is not a build tool; it's a developer's tool. Repositioning per suggestion from chromatic in http://rt.perl.org/rt3/Ticket/Display.html?id=52472. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26756 % muixirt2 has joined #parrot % muixirt2 has left muixirt2!~user@p57B4DD0D.dip.t-dialin.net % rdice has joined #parrot % muixirt has left muixirt!~user@p57B4DE9C.dip.t-dialin.net % guru has joined #parrot % TonyC has left TonyC!~tony@202-154-105-237.people.net.au % nopaste has left nopaste!~opaste@202-154-105-237.people.net.au % silug has left silug!~steve@ppp-70-225-32-179.dsl.covlil.ameritech.net % nopaste has joined #parrot % 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.36 % skv_ is now known as skv % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % Theory has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net % particle has joined #parrot % davidfetter has left davidfetter!~davidfett@start.fetter.org r26757 | jkeenan++ | trunk: : Eliminate hardcoded directory languages/lua/pmc. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26757 r26758 | jkeenan++ | trunk: : Correct number of tests in plan. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26758 % mfredrickson has left mfredrickson!~mark@216-250-178-58.dsl.iphouse.net r26759 | jkeenan++ | trunk: : Correct POD formatting error. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26759 r26760 | jkeenan++ | trunk: : Make it pass the linelength codingstd test. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26760 % guru has left guru!~guru@bas7-toronto01-1177859693.dsl.bell.ca r26761 | jkeenan++ | trunk: : Applying patch submitted in : http://rt.perl.org/rt3/Ticket/Display.html?id=40817. This will log files : created during configuration in new file MANIFEST.configure.generated. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26761 Hmm: Nobody here but me and a bot for the past 3 hours ... % jan has left jan!~chatzilla@90-229-128-103-no52.tbcn.telia.com % nopaste has left nopaste!~opaste@202-154-105-237.people.net.au % nopaste has joined #parrot kid51: thanks for keeping the bot busy :) % silug has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % silug has left silug!~steve@ppp-70-225-32-179.dsl.covlil.ameritech.net % rdice has left rdice!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com kid51: ? did you commit a change to say "don't exlude lua from the codingstd tests" and then a bug to say "lua fails the codingstd tests" ? % davidfetter has joined #parrot and suddenly... it has been said that suddenly is disturbed that the avg. high breaks 70 4 months out of the year nothing happened % tewk has left tewk!~tewk@ekstrom.org purl, forget suddenly cotto_home: I forgot suddenly merging slooooow Coke: I was dealing with a series of failing tests in make test. The first was t/perl/Parrot_Distribution.t The svn_id and linelength failures are in a file generated from Parse:Yapp. ah. you edited the PD test file, not PD itself. ok. carry on. =-) I'm not sure how to handle those Parse::Yapp files. So if there's a better approach, take it. ignore then. "them." * kid51 must sleep $kid51->sleep(8 * 3600); buenos suenos; hasta manana. % kid51 has left kid51!~jkeen@pool-70-107-6-168.ny325.east.verizon.net ... I could have taken a nap waiting for this 'svn merge' to finish... still going... mmmmm nap okay, I'm confused on hackathoning for yapc::na. Will it be better for me to attend the parrot hackathon (pre conference) or the general hackthon (post conference)? I don't think I can do both. I will be there before. plane tickets already purchased. So use that as you will. I'm pretty sure particle will be there before as well, so I guess I'll target that I have a conflict in compilers/imcc/imcparser.c; that's a generated file, neh? er, rather, "how do I regenerate this file." =-) wow. I'm shamed to admit it's in the first 5 lines of the file. (not that that command works as written) coke: going on fri night or sat morning? I'll be there friday night, but I don't know how late my flight gets in. but I can definitely meet up, given I don't have to be anywhere sat morning. I can get a ticket ($99) that puts me at Chicago Midway at 10:05am on Saturday or I can get one for Friday morning ($99) but then I don't have anything to do all day Fri ok. does --maintainer actually regen the gen'd files, or do you have to 'make' for that to take? I have to work friday, I'm hopping the plane right after work. if I go Fri evening it's almost twice as expensive so I'm wondering if Sat noon is early enough or if I should try to get there earlier I'm sure that'll be fine. yeah, I think I'll book for early Sat for now I can switch later w/o trouble. And it would be good to see the kids Fri night before leaving for the week there goes another day. % Andy has joined #parrot % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net seen chromatic? chromatic was last seen on #parrot 2 days and 22 hours ago, saying: msg Coke Does http://nopaste.snit.ch/12609 make sense for fixing t/compilers/imcc/syn/regressions.t? [Apr 1 23:44:15 2008] % Andy has left Andy!~Andy@64.81.227.163 r26762 | coke++ | type_ids: : * merge changes 26610:26761 from trunk. : * update .const .foo -> .const 'Foo' in lua. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26762 ... grrrr. that commit failed halfway through. % chromatic has joined #parrot You have to run make to regenerate. yah, figured it out, danke. Do you want me to checkin that constant division op patch? So that commit failed on my end. but apparently at least partially went through. and when I do a svn up locally, I get an error. chromatic: The only thing it's missing is another test for the float version of the test, and unskipping the corresponding float op. If you write the test, I'll fix the rest. Ideally, we'll fix IMCC/PIRC to do the right thing with constants, but that's a different story. "coke" at 72.228.52.192 pasted "I think this does it." (34 lines) at http://nopaste.snit.ch/12626 Kind of misleading output, neh? in that throwing an exception is ok? or the useless use of TAP in a non-TAP context? I can de-tapify it. hurm. it looks like my commit failure was actually during the update phase immediately following the commit. which restores my faith in atomic commits, anyway. The test description suggests that division by zero is okay. Per my reading anyway. 'throw catchable exception when dividing by ze ro with constants' ? div_i_ic_ic throws div by zero exception it always did through the exception, though. the catchable part is the part we're fixing. % silug has joined #parrot Mostly aren't we testing that the ops exist now? no I'm testing that the exception that gets thrown is catchable. (and it's not if the opcode isn't found.) Fair enough. I'm rebuilding now. ... and fixing the JIT. -DCANHASJIT? More like CAN I HAZ PIE! mmmm, PIE I know. Suddenly I want pie. Chicken pot pie. i guess chicken pot pie is good. Apple pie. apple pie is at http://Bill.Gate's.face shepard's pie shepard's pie is basically dry meat stew. :) Key lime pie. I ate one of those pies destined for Dan's face, you know. Schwern handed me a bag with two pies in it and one of them didn't make it up on stage. % silug has left silug!~steve@ppp-70-225-32-179.dsl.covlil.ameritech.net chromatic: http://www.yelp.com/biz/house-of-pies-restaurant-and-bakery-houston-3 ... Sometimes I miss Houston. (It's actually the House of Pi, or at least was when I lieved there.) Coke's url is at http://xrl.us/bixo3 I know all of the words in the sentence "I miss Houston" but I have no idea what it means. r26763 | chromatic++ | trunk: : [ops] Enabled div_i_ic_ic and div_n_nc_nc opcodes temporarily, at least until : we can fix the PIR compiler to optimize away constant-denominator division (and : figure out how to handle division-by-zero exceptions). : Note that this invalidates bytecode, so you must make realclean if you want : your PBCs to work. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26763 RT #52454 is closeable. chromatic: note that we are already optimizing away constant division in all cases except where it throws an exception. chromatic: don't want to close until we get feedback from andy & anyone else who complained. DO YOU TRUST ME OR NOT! You have to make your own omelette? % davidfetter has left davidfetter!~davidfett@start.fetter.org query for the room: does PBC have an API version number that could get incremented on bytecode-invalidating changes? so that Parrot won't try to run something now nonsensical? (and then in Makefile have *.pbc depend on the APIVersion file, for extra goodness) I thought so, but I'm not sure we're using it. The Bytecode PDD (13?) would know. Or jonathan. i guess jonathan is at jnthn@jnthn.net or Jonathan Worthington or the dotnet guy or c, according to coke ... wait, there's om-ba-lettes? to perhaps explain better: a copy of the API Version is stored in the PBC header, as well as the APIVersion file. thanks, i'll check there... ... isn't that what PBC_COMPAT is? spinclad: I think there's a ticket about those deps somewhere. * Coke discovers RiffTrax. mmheheh from PDD13, this would be the 'bytecode file version number', 'minor version number'. * Coke kicks rt r26764 | coke++ | type_ids: : [DEPRECATED] : Remove VTABLE_type_keyed_str as per RT #48481. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26764 yes, that's PBC_COMPAT, thanks . o O (zzz) % nopaste has left nopaste!~opaste@202-154-105-237.people.net.au % nopaste has joined #parrot is there anything that'd be like does('iterator') ? preferably more elegant than *pmc->vtable->get_iter != Parrot_default_get_iter (I'm coming up with all kinds of bad ideas today.) nm. it looks like arrays don't have to be able to make iterators