% cognominal has joined #parrot % braceta has left braceta!~Braceta@bl4-160-105.dsl.telepac.pt % barney has joined #parrot % schmalbe has joined #parrot r27302 | bernhard++ | trunk: : [docs] : Configure.pl no longer checks for 'bc'. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27302 % barney has left barney!~bernhard@dslb-084-058-112-051.pools.arcor-ip.net % purl has left purl!purl@sentient.life % purl has joined #parrot % ambs has joined #parrot % Ivatar has joined #parrot % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % ambs has joined #parrot r27303 | bernhard++ | trunk: : [Eclectus] : Add src/builtins/all.pbc as dependency for driver_nqp.pbc diff: http://www.parrotvm.org/svn/parrot/revision?rev=27303 r27304 | allison++ | trunk: : [pdd] Strings PDD: fix a typo, move a few sections around. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27304 % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt r27305 | allison++ | trunk: : [pdd] Delete docs/strings.pod after merging content that's still relevant into : Strings PDD. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27305 % itz has left itz!~chatzilla@62.3.198.42 r27306 | bernhard++ | trunk: : [Eclectus] : Move the NQP->PIR step from tests-driver.scm to driver_nqp.pir diff: http://www.parrotvm.org/svn/parrot/revision?rev=27306 % kid51 has joined #parrot % ruoso__ has left ruoso__!~ruoso@201009086089.user.veloxzone.com.br % schmalbe has left schmalbe!~bernhard@dslb-084-058-150-116.pools.arcor-ip.net % ruoso has joined #parrot % barney has joined #parrot r27307 | bernhard++ | trunk: : [Eclectus] : Add test for nested 'begin'. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27307 r27308 | bernhard++ | trunk: : [Eclectus] : Using 'infix:' in name of builtin subs looks funny. : Renaming to 'eclectus:' diff: http://www.parrotvm.org/svn/parrot/revision?rev=27308 r27309 | bernhard++ | trunk: : [Eclectus] : Remove redundant comments diff: http://www.parrotvm.org/svn/parrot/revision?rev=27309 * Jonathan finally gets his talk submissions in for NPW and FPW. Jonathan: Will we be seeing you in the Western Hemisphere any time this year? jonathan++ I fear not...not this summer, at least. Flights to the US are just too expensive in the summer. If there's any autumn conference, I maybe consider it. cognominal: I hope they don't overlap too much with what you plan on doing - I submitted more than I expect to give so there is some choice for the organizers, anyway. % mire has joined #parrot when I start parrot in the debugger and do > r languages/perl6/perl6.pbc it dumps (apparently) the perl6 pbc this is weird because it works well other wise Which debugger? gdb or Parrot's own one? r27310 | bernhard++ | trunk: : [Eclectus] : Add support for 'newline' diff: http://www.parrotvm.org/svn/parrot/revision?rev=27310 warning: Could not find object file "/Users/stef/svn/parrot/src/pdump.o" - no debug information available for "src/pdump.c". my bad thx Jonathan OK, I need to take some exercise and go to the shopping mall...back later. % ambs has joined #parrot r27311 | bernhard++ | trunk: : [Eclectus] : whitespace changes diff: http://www.parrotvm.org/svn/parrot/revision?rev=27311 % wknight8111 has joined #parrot % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % ambs has joined #parrot % c9s has left c9s!~c9s@163.26.225.208 % barney has left barney!~bernhard@dslb-084-058-150-116.pools.arcor-ip.net % Zaba has joined #parrot . , ; * Coke was alerting purl to his presence in case of messages. . , ; ! | ¡ ? happy Saturday :) ` indeed :) * Zaba will go to school TOMORROW :< we live in exciting times sunday? sunday is looking tight or Mother's Day Coke, yeah :( there's two phrases I didn't need in close proximity Mother's day, in fact. that's in a week! not here :D ... freaky europeans, not following our greeting-card manufacturer standards. :D my five year old is snorting at your craziness. (snorting. literally.) % Theory has joined #parrot and now, I will make a choir sing see you later, folks % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % rdice has joined #parrot % Andy has joined #parrot good idea cotto_home: Good Idea: Giving a small child a balloon. Bad Idea: Giving a small child a bunch of balloons. % particle[ventus] has left particle[ventus]!~particle@c-24-19-3-148.hsd1.wa.comcast.net * Jonathan wonders if that's because they're Helium balloons... % particle[ventus] has joined #parrot * spinclad wonders how big they have to be % mire has left mire!~Frodo@252-172-222-85.adsl.verat.net mwahahaha... % kid51 has left kid51!~jkeen@pool-68-237-7-195.ny325.east.verizon.net % guru has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % ambs has joined #parrot back gah The information contains incomplete or invalid entries. Please select a Username that contains at least one letter and one number. someone needs to die I hope it's not me not unless you committed that particular bit of UI braindeadness on United Healthcare's site uh, no I didn't.. * Zaba survives! You die. Die? (Y/N) both Y and N default? lol yes, if you're a cat in a box lol * Zaba does not know how to spell that cat's owner's name schrödinger right. problem is, I don't know how to type a quantum superposition into nethack's dialog box lol! the only games I play are roguelikes, and I horribly fail on 'em lolol nethack, crawl (one at crawl-ref.sf.net) you are in a maze of twisty superposed passages eh you may or may not be eaten by a grue heh why are we talking about cats, mazes, mices and the like? :-P % Eevee has joined #parrot % particle[ventus] has left particle[ventus]!~particle@c-24-19-4-171.hsd1.mn.comcast.net i suppose we could work the parrot sketch into this somehow % particle has joined #parrot :) % paco has left paco!~chatzilla@139.Red-80-36-122.staticIP.rima-tde.net % paco has joined #parrot % particle[ventus] has joined #parrot % guru has left guru!~guru@dsl-67-212-1-33.acanac.net * Tene tries to shuffle today's schedule around to make room for cardinal hacking. % tetragon has left tetragon!~seneca@216.126.67.44 % mire has joined #parrot % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % tetragon has joined #parrot % Andy has left Andy!~Andy@64.81.227.163 % Andy has joined #parrot % Andy has left Andy!~Andy@64.81.227.163 % ambs has joined #parrot ! % guru has joined #parrot r27312 | infinoid++ | pdd13pbc: : [pdd13] Merge changes from trunk (-r27252:27311) into pdd13pbc branch. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27312 % particle[ventus] has left particle[ventus]!~particle@c-24-19-3-148.hsd1.wa.comcast.net % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net % particle has joined #parrot % Andy has joined #parrot % guru has left guru!~guru@67-208-9-121.ip.tor.radiant.net % particle[ventus] has joined #parrot % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % desertmax has joined #parrot % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % Theory has joined #parrot % Andy has left Andy!~Andy@64.81.227.163 % iblechbot has left iblechbot!~iblechbot@ppp-62-216-205-41.dynamic.mnet-online.de % AndyA has left AndyA!~andy@82.152.157.85 % desertmax has left desertmax!~markus@62-47-162-109.adsl.highway.telekom.at % particle[ventus] has left particle[ventus]!~particle@c-24-19-4-171.hsd1.mn.comcast.net % AndyA has joined #parrot % particle[ventus] has joined #parrot % Andy has joined #parrot % tetragon has left tetragon!~seneca@76-10-171-227.dsl.teksavvy.com % tetragon has joined #parrot % Ivatar has left Ivatar!~graham@tu055.demon.co.uk % Andy has left Andy!~Andy@64.81.227.163 what kind of exception should I toss if PackFile_unpack() fails to parse the packfile data? I want a sort of "malformed data" exception, but the closest I can find is E_ValueError, which is mainly used by utf8 encoding stuff. Infinoid: If there's nothing appropriate, I suggest adding one. That's what I did when there was no good error code to use for role coposition collision exceptions... two questions: 1. is adding an entry to the exceptions enum all I have to do? 2. do I have to bump the bytecode version for that change? (for now I'm just using E_ValueError, plenty of time to change that later) 1. yes, I think so. 2. no, because it doesn't affect the bytecode Well, easier to have a distinct value for it now maybe? perhaps. Then at least if people dislike the name you give it or decide it should be one of the existing exceptions, it's an easy renaming job. Find/Replace I've implemented PackFile->set_string_native and PackFile->get_integer_keyed_str, now its time to start writing tests, to see if the header parsed correctly And I suspect we want a code for it. Nice! :-) E_InvalidBytecode? E_MalformedPackFile? I think the second one is better - the first could be confused with trying to execute an unknown opcode or something. good point, thanks. OK, I need sleep...laterz. sleep well % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % jjames has joined #parrot % rdice has left rdice!~richarddi@CPE001ff33cb98b-CM00159a01d44c.cpe.net.cable.rogers.com % Theory has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % mire has left mire!~Frodo@252-172-222-85.adsl.verat.net hmmm Method 'set_string_native' not found for invocant of class 'Packfile' the code was: pf.'set_string_native'($S0) the method is: VTABLE void set_string_native(STRING *str) { I'm pir-clueless... is there something special I need to do to call vtable functions? oh, looks like "set pf, $S0" works in that case. but now I have the same problem figuring out how get_integer_keyed_str gets called yes % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net $I0 = $P0[$S0] get an integer from a keyed string remember, VTABLE is not METHOD tried that, it wants to call get_integer_keyed(), not get_integer_keyed_str() vtables look so much like methods, I want to call them as methods :) sorry... this is the first time I've written a .pmc. it isn't going so well. % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot I made a get_integer_keyed() function which dispatches to get_integer_keyed_str(), that seems to get farther. % janus has left janus!~janus@e182072137.adsl.alicedsl.de EECC? % janus has joined #parrot * particle would love to help more, but has to run :( & "string_equal" is oddly named. the docs say it returns 0 on equality and 1 otherwise, but at first glance, I expected the opposite and since I'm not used to that, "if (!string_equal(interp, a, b))" doesn't read very clearly Sounds similar to strcmp that is kinda terrible (not that I use strcmp when strncmp is available) yeah, but at least with strncmp, I'm used to it :) and it serves a purpose, since you can pass it immediately to a sort routine % Andy has joined #parrot % davidfetter has left davidfetter!~davidfett@start.fetter.org also, string_equal can return -1, despite its documentation implying it can't also also, its unclear what the difference in behavior between string_equal and string_compare is * Infinoid gives up and looks to see what the other pmcs are using. % tetragon has left tetragon!~seneca@76-10-171-227.dsl.teksavvy.com % tetragon has joined #parrot string_compare is overt in its possibility of returning a negative value string_equal hides it in CHARSET_COMPARE * tetragon also grumbles about wireless access points % jjames has left jjames!~jjames@h-68-165-32-172.lsanca54.dynamic.covad.net well, string_compare can do whatever it wants, since I didn't find any documentation on it :) r27313 | infinoid++ | trunk: : [pod] : string_equal() returns CHARSET_COMPARE(), which can return -1, therefore : string_equal can return -1. Fix the documentation accordingly. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27313 r27314 | infinoid++ | pdd13pbc: : [PDD13] : * implement Packfile.set_string_native, add init()/destroy() methods to : manage the PackFile struct. : * implement Packfile.get_*_keyed_str(), so we can query .pbc header fields : from pir. : * Add some get_*_keyed() functions to dispatch to get_*_keyed_str(), which : makes everything work. Though I don't know why I needed to do that. : * Add an exception type: E_MalformedPackFileError diff: http://www.parrotvm.org/svn/parrot/revision?rev=27314 "Infinoid" at 75.28.78.127 pasted "For posterity: the .pir file I used to test the above" (21 lines) at http://nopaste.snit.ch/12884 % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % Theory has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net % tetragon has left tetragon!~seneca@76-10-171-227.dsl.teksavvy.com % dalek has left dalek!dalek@feather.perl6.nl % pmichaud has left pmichaud!pmichaud@feather.perl6.nl % leo has left leo!lt@feather.perl6.nl % PerlJam has left PerlJam!duff@feather.perl6.nl % wolverian has left wolverian!wolverian@feather.perl6.nl % Juerd has left Juerd!juerd@feather.perl6.nl % Jonathan has left Jonathan!jonathan@feather.perl6.nl % Theory has joined #parrot % tetragon has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177229189.adsl.alicedsl.de % Psyche^ is now known as Patterner % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % Andy has left Andy!~Andy@64.81.227.163 % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177239118.adsl.alicedsl.de % Psyche^ is now known as Patterner % desertmax has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % slightlyoff_ has joined #parrot % slightlyoff_ has left slightlyoff_!~slightlyo@204.14.154.209 % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209