r25895 | chromatic++ | trunk: : [Lua] Fixed a couple of memory leaks in LuaString PMC. diff: http://parrotvm.org/svn/parrot/revision/?rev=25895 r25896 | chromatic++ | trunk: : [lua] Fixed several memory leaks related to exceptions; removed unreachable : code after exceptions. diff: http://parrotvm.org/svn/parrot/revision/?rev=25896 % slightlyoff has joined #parrot r25897 | chromatic++ | trunk: : [Lua] Ensured that every place that creates a new Lua PMC sets the appropriate : mark/destroy flags. Some clone() calls didn't. diff: http://parrotvm.org/svn/parrot/revision/?rev=25897 % cognominal_ has left cognominal_!~cognomina@82.67.232.89 % cognominal_ has joined #parrot % cognominal_ has left cognominal_!~cognomina@82.67.232.89 % cognominal_ has joined #parrot % HG` has joined #parrot % mire__ has left mire__!~Frodo@198-168-222-85.adsl.verat.net % cognominal_ has left cognominal_!~cognomina@82.67.232.89 % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % Daveman has joined #parrot % Dave has left Dave!~dave@pool-141-150-16-151.mad.east.verizon.net % wknight8111 has joined #parrot % kj has joined #parrot r25898 | kjs++ | trunk: : [pdd19] : o move the part about = and morphing, so it's before the macro section. : o fix a few pod issues (no errors, but forgotten markup) : o add a note about NCI and short-invocation syntax : o add a note about braced arguments; taken from docs/imcc/macros.pir : o add a note about compilers/pirc/new being able to handle heredoc arguments in macro expansions. diff: http://parrotvm.org/svn/parrot/revision/?rev=25898 % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk r25899 | kjs++ | trunk: : [pdd19] : add a note about search order of the include directive. diff: http://parrotvm.org/svn/parrot/revision/?rev=25899 % IllvilJa has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net r25900 | kjs++ | trunk: : [pirc|heredoc] align assignments and add a comment. No need to regenerate the C file; it's just a matter of layout. diff: http://parrotvm.org/svn/parrot/revision/?rev=25900 r25901 | kjs++ | trunk: : [pirc|macro] add a comment to clarify; it was confusing even to me; and I wrote the thing. : No need to regenerate the C; it's just a comment; nobody should inspect the generated C file. diff: http://parrotvm.org/svn/parrot/revision/?rev=25901 % rdice has joined #parrot % davidfetter has left davidfetter!~davidfett@start.fetter.org % cognominal_ has joined #parrot % skids has left skids!~bri@c-71-233-204-100.hsd1.ma.comcast.net is there a way to say parrot do croak (die with a stack trace) instead of merely dying? % skv_ has joined #parrot % skv has left skv!~skv@87.242.97.68 % skv_ is now known as skv % cognominal_ has left cognominal_!~cognomina@62.210.200.98 % cognominal_ has joined #parrot % cognominal_ has left cognominal_!~cognomina@LAubervilliers-151-13-66-3.w217-128.abo.wanadoo.fr % cognominal_ has joined #parrot % bphillip1 has left bphillip1!~bphillips@nat-003.digitalriver.com r25902 | petdance++ | trunk: : combined similar allocates into a single realloc diff: http://parrotvm.org/svn/parrot/revision/?rev=25902 % AndyAway has left AndyAway!~Andy@64.81.227.163 % rdice has left rdice!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com % skids has joined #parrot % gryphon_ has joined #parrot % davidfetter has joined #parrot % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se % stephen has left #parrot good morning, world OH HAI hey pm % marmic has joined #parrot quick, everyone check in their 6KLOC diffs! "on a really productive day, i removed 1000 lines of code" --kernighan cognominal_: probably? I know that we probe for a library that facilitates such things (glib?) but I don't know the particulars. davidfetter: projet I'm on, I plan to remove 50% of the code, damnit. =-) Coke, great :) There's PDB_backtrace, which dumps the Parrot-level backtrace. lathos: you're back! I never went away! I just have a bit less time right now. But I am still working on a strings PDD. lathos++ # strings PDD And, who knows, I may be looking at an ARM port. (We can cross compile, right? *cough) % rdice has joined #parrot i believe we've built on arm kjs++ # many NEWS updates ahem. % skids has left skids!bri@charon.clarku.edu r25903 | petergibbs++ | trunk: : Add the JIT core test on TODO for "repeating alarm" test that chromatic forgot. diff: http://parrotvm.org/svn/parrot/revision/?rev=25903 oh, did I miss something? (likely :-) check the $Id$ in NEWS :P oh, I was looking at the commit messages to parrot-porters and the svn diffs ah, you just haven't gotten to the end yet particle++ # because he deserves it anyway, i'm working on a t/dynoplibs/myops.t failure, should have platforms updates soon okay, great. I got a myops.t TODO pass just a moment ago I'll probably do the release a bit later today ah, somebody todo'd my failing test particle: When I say ARM I mean iPhone really. so, i'll fix it for you, too % Andy is now known as alester % alester is now known as Andy_ OK, who's sitting on Andy? * davidfetter looks up the /ghost command you are, you dingbat % Andy_ has left #parrot % Andy_ has joined #parrot % Andy_ has left #parrot % Andy_ has joined #parrot crud, this is tricky. t/dynoplibs/myops.t fails with msvc, and also under jit let's see if i can fix msvc % davidfetter has left davidfetter!~chatzilla@start.fetter.org % Daveman is now known as Dave % cognominal_ has left cognominal_!~cognomina@LNeuilly-152-21-102-165.w193-253.abo.wanadoo.fr % bphillips has joined #parrot % cognominal_ has joined #parrot particle: ping pong for RT#50968 (capturing .*? in perl6doc), what are you using to test this? i'll nopaste okay, great "particle" at 24.19.3.148 pasted "pod6 test file" (35 lines) at http://nopaste.snit.ch/12361 then just run perl6doc.pbc with --target=parse? correct it works for me with (.*?) gah. did you try -G ? no, i didn't will do, after i finish debugging dynoplibs/alarm.t I'm betting it's another -G bug :-) that would make me happy should I post reply to the ticket, or just wait for you to try it later? wait. should be ~10m okay, no problem. % uniejo has left uniejo!~uniejo@langebro.adapt.dk i'm hoping to get regex/token/rule working in rakudo before release it's ~3 lines of code, but haven't had a chance yet I think the current parsing code isn't quite correct at least, it's not the way I envisioned it feel free to beat me to it. whatever gets it done for release it should be instead of i.e., I didn't want to define special :token and :rule adverbs (unless that's also the way that STD.pm is now doing it) AHA! t/dynoplibs/alarm.t test 7 is a GC BUG! yay! dynoplibs/myops.t that is % cognominal_ has left cognominal_!~cognomina@LNeuilly-152-21-102-165.w193-253.abo.wanadoo.fr afk, lunch & errands % mire__ has joined #parrot % jjore has left jjore!~jjore@c-24-16-241-176.hsd1.mn.comcast.net % diakopte1 is now known as diakopter I would love to figure out how to free the memory from all the yyparsing. % DarkWolf84 has joined #parrot % cognominal_ has joined #parrot % parrot-poke has joined #parrot pmichaud: so, you see something like instead of :token? that's what i'm thinking, just want to make sure we're on the same page er, i mean instead of :rule, of course * particle wonders if > works yet % gryphon_ is now known as gryphon % diakopter is now known as diakopte1 % kismet has joined #parrot Andy_: memory from yyparsing: It's my guess that most of it is allocated in the lexer. that much I know. It's just beyond my understanding of the code at this point tofigure where to free it. ok good. :-) right. I don't know either. I don't know where the mapping from instruction names to instruction numbers is done that's very important I think. but IMCC has instruction names/strings all over the place (in the code generation) % Theory has joined #parrot I don't know if interpolation is defined in .... I don't think it is i.e., is the same as , iiuc and yes, I was thinking that rule would be pmichaud: i have that in now, but it's not working (yet) okay. I really don't want to hold up the release for a working regex/token/rule, though "particle" at 24.19.3.148 pasted "towards correcting regex/token/rule" (38 lines) at http://nopaste.snit.ch/12362 i figured i could just pass :ratchet and :sigspace in the 'options' hash to p6regex, but it's not working you can, but be sure to eliminate the colons ah, hrmm. and we may also need to store ratchet/sigspace in the PAST node that comes back the colons are removed already, automatically just like :qq etc I think we may need to store them in the PAST::Node, then and that may require a modification to PCT/PAST/POST to handle yep, i think it does ok, release away! hrmm, i suppose my patch won't hurt anything, and is closer to what we want sure, that'd be great at the moment the important thing is to get regex working we can get token and rule shortly after that from an interactive run: rule abc { a b c }; say $/ if 'abc' ~~ //; abc regex abc { a b c }; say $/ if 'abc' ~~ //; abc token abc { a b c }; say $/ if 'abc' ~~ //; abc looks correct except for rule yep everything is acting like regex right r25904 % bphillips has left bphillips!~bphillips@nat-003.digitalriver.com r25904 | particle++ | trunk: : [rakudo] bringing regex/token/rule support closer to correct -- everything still acts like regex diff: http://parrotvm.org/svn/parrot/revision/?rev=25904 % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % proq has left #parrot r25905 | particle++ | trunk: : [RELEASE] PLATFORMS updates for msvc diff: http://parrotvm.org/svn/parrot/revision/?rev=25905 % rdice has joined #parrot % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % chromatic has joined #parrot % cotto__ has left cotto__!~cotto@tide533.microsoft.com % rdice has joined #parrot % cotto__ has joined #parrot % Ron has joined #parrot % cognominal_ has left cognominal_!~cognomina@195.154.53.136 should failures in PLATFORMS be failed test files or individual tests? Files, I believe. i don't recall what i've done in the past % PacoLinux has joined #parrot rant: where the heck is my smoke? Inside the device. Hit it with a hammer to release it. % mire__ has left mire__!~Frodo@198-168-222-85.adsl.verat.net Coke: you've got the power hooked up backwards. You're running it in smoke-retention mode. hurm. smoke just reports # of individual test failures. close enough. r25906 | coke++ | trunk: : [docs] : Update status for intel mac; compress footnote #'s. diff: http://parrotvm.org/svn/parrot/revision/?rev=25906 particle: if $I0 goto regex_start 92 goto word_start 87 unless $I0 goto word_start if $I0 wasn't true, it's clearly going to be false ;-) look closer % mire__ has joined #parrot Oh! These colorful diffs... :-) * particle builds on centos 5.1 x64 I actually had that ladder there for once I figured out how to pass on the right modifiers or call the Right Thing in PGE. Though I never got around to working out how to go do the Right Thing. Those options don't get passed on at all, though. jonathan: yep, but mine is closer to the right thing :ratchet and :sigspace should be passed along to p6regex that's the only bit that needs fixing now If you can figure out how to do that bit, then it's fine. :-) i'll get there eventually I tried a couple of different things, but none of them were the Right One. Then, I don't understand PGE guts. Yet. yep, pge is a beast. PGE needs optimization. we'll talk about that in two minutes * chromatic wants callgrind-compatible output for PIR chromatic: How much do you think it's PGE that needs it, and how much Parrot? jonathan: we'd need some profiling to tell for sure. PGE is recursive descent, not LR, so there are some definite inefficiencies. If we could find spots in PGE that did too much work, I think we could speed it up notably. Algorithmic optimizations are the best ones. phone I'm flying to Kiev tomorrow for UPW, I'll probably do some Rakudo hacking en route. conference season? duck season! Plus some at the workshop, then I'm around in Holland for 5 days. chromatic: Did you look at the sub introspection stuff with regard to call optimization? Not yet. Making that use arity seems useful. Well, all the other bits (is it named, etc) are there too. is ppd25 up to date? I had a thought last night before I fell asleep to extract lots of smaller functions from the larger functions. I've always looked at inter_call.c and been like, "I'll try to understand this another day". :-) jdv79: anything in draft is suspect. ... which that isn't. whoops! :-) I believe it is mostly up to date; allison pushed that out of draft in the last few months. thanks And did a chunk of implementation work on it too. (alon.... right.) seems -G doesn't help my perl6doc bug :( % jhorwitz has joined #parrot % kjs_ has joined #parrot % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl I can't build the pdd17pmc branch atm. coke: what fails? fails are rare "coke" at 72.228.52.192 pasted "pdd17pmc" (25 lines) at http://nopaste.snit.ch/12364 (that's with a realclean and no modifications outside of languages/) header problem? % kjs_ is now known as kj try make headerizer see if svn st tells you that it modified something couldn't read 'src/revision.c': No such file or directory at tools/build/headerizer.pl line 362. you have a new Makefile? how new? (I updated, realcleaned, config'd, made. boom.) post realclean. i assume so. hrmm. ok, well try looking for /^headerizer in Makefile Andy_: ping yes wrt headerizer, should it really *die* if a source file isn't found? coke has this problem currently. Coke, that's really weird. There's no Parrot_Class on line 139 of src/oo.c for me. http://blodgettm.blogspot.com/2008/02/corollaries-to-blodgett-first-law.html chromatic's url is at http://xrl.us/bghqu r25907 | particle++ | trunk: : [RELEASE] PLATFORMS updates for linux-x86_64 diff: http://parrotvm.org/svn/parrot/revision/?rev=25907 particle: changing .*? to (.*?) works on my platform with the test input you nopasted earlier. what are you getting? pmichaud: that test has many, many pod paragraphs/blocks/etc hurm. if i change any single .*? to (.*?), i get ... hang on (I just changed the one you mentioned in the ticket) ok, if you change the last one (pod_abbreviated_block) you no longer get =FirstName and =MiddleName in the output if you change all three of them, you get 'No POD found.' ah, it's because converting to a capture actually changes the meaning (inside of token) whether it _should_ or not is a question for TimToady :-) *phew* in PGE at least, token containing (.*?) actually acts like (.*?): as in, a capture in a token returns ... ok. which means that we lose the backtracking whereas a bare .*? will properly backtrack hrmm. that's not right .*: is the default under ratchet, and .*? turns off the : as does .*! correct, but does :ratchet affect groupings? not unless they have alternatives it's not that it's treating .*? like .*: -- it's that (.*?) under :ratchet has an implied ':' after the ) by itself grouping doesn't have any branch points ah, I see what you're saing saying okay, so [ a* | ab ] won't backtrack ? but [ a* ] would ? (all assuming :ratchet) thinking http://www.terrybisson.com/meat.html which is hard right now... (and I should've made those *'s into *?'s ) Oh wait, Coke you're on the PDD 17 branch. chromatic: i think coke knows that Now I know that too. Merging from trunk might help. I know there have been a lot of changes and improvements since the previous merge. Alternately, if Allison moved the Parrot_Class struct definition due to the PMC change.... seems like there's two natural ways to run ratchet, and we could default it either way particle: in the meantime, perhaps try (.*?):! I guess ! could override the : now that ! is always meta but ? wouldn't work as a shorthand, since it means something already i'd like $=[.*?]! will that work? lemme see should work, I think. may need :! instead of just ! No POD found. defaulting to : is probably more useful from an optimization point of view yeah, bare ! isn't specced having :ratchet treat as : seems like the correct approach well, leave it that way for now. I agree that converting .*? to (.*?) causes it to lose backtracking is counter-intuitive (under :ratchet). I don't have an obvious answer. i colud turn ratchet off for that but at least I can claim it's not a PGE bug :-) would it help me? :!ratchet I'm curious to know why $=[.*?]:! didn't work you're curious? me too. trying it now chromatic: this is in pdd17pmc. does that matter? Yeah. That's why I couldn't find that line of code in my version. I was looking at trunk. (catching up) "when is this?" particle: $=(.*?):! works note that we can give a compile-time warning on ratcheted (.*?) specifically because it can never produce anything other than "" was trying to validate pdd17pmc branch before you opened it up to the HLL folk for review. =-) The Parrot_Class declaration is at src/pmc/pmc_class.h:133. My guess is that we need a header include for that. or we could just say that any subgroup that ends with ? is bad that way pmichaud++ for giving me a workaround TimToady++ for clearing up the spec (foo .*?): can only match "foo" ever so if we can warn about that, that makes everything okay :) chromatic: regarding profiling subs: if we do the generic "let me attach another sub to run before this one starts and one after it stops", we can roll our own profiling. (and we need that feature anyway) nap & subclass Sub? insufficient. I need to do this to any sub. (that could be a first step for HLLs, of course.) ok, add ATTRs to Subs in pdd17pmc branch then modify invoke to run them properly what happens with a tailcall? I would imagine you'd have to unroll it if the sub you're leaving had an onexit handler. could we somehow do something magic with invoke, itself? rather than having to wrap subs? (just an idle thought) I was thinking of a very simple runloop that could spit out callgrind-compatible output. http://valgrind.org/docs/manual/cl-format.html afk Ok. that helps with the profiling, but not my feature need. =-) but, first things first. (profiling will help tcl immensely, too.) % Andy_ is now known as AndyAway % Ron has left Ron!rblasch@M1716P015.adsl.highway.telekom.at Hey if we're gonna talk profiling, let's talk tonight some time, and I'll see what I can do under shark, if we have a reasonable target but now I must run. % jhorwitz has left jhorwitz!~chatzilla@pool-68-163-20-15.phil.east.verizon.net (profiling parrot level subs, not c level, if that matters) % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl I was pondering that it could be useful to be able to have a :pmc(...) adverb for .sub's, specifying what PMC to use for sub. Since in Perl 6, there are different types of subs... Regex, Routine, Code, etc. ah, what subclass of sub or whatever % cotto_ has joined #parrot flavor. gotcha. particle: Yes. Insane, or worth writing to the list? % cotto__ has left cotto__!~cotto@tide503.microsoft.com i'm wondering if .const already works for that .const Routine foo = $P0 the syntax is way different, of course but it seems more general there are questions. like does .const register something in the proper namespace slot? ...like .sub does % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % wknight8111 has joined #parrot % Limbic_Region has joined #parrot % Andy has joined #parrot % x has joined #parrot % x has left x!~chatzilla@host86-139-25-133.range86-139.btcentralplus.com % x has joined #parrot % PacoLinux has left PacoLinux!~paco@139.Red-80-36-122.staticIP.rima-tde.net * jonathan sleeps, 5:30am start tomorrow nite % x has left x!~chatzilla@host86-139-25-133.range86-139.btcentralplus.com % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % slightlyoff has joined #parrot % wknight8111 has joined #parrot % Andy has left Andy!~Andy@64.81.227.163 % iblechbot has left iblechbot!~iblechbot@ppp-62-216-196-163.dynamic.mnet-online.de % arcady has joined #parrot % HG` has left HG`!~wells@user-544723e5.wfd84a.dsl.pol.co.uk pmichaud: how goes the release? coke: took a short break, I'll restart in an hour or two we're hoping to catch a glimpse of the eclipse tonight but it's overcast here, so might not have much luck (mostly overcast, that is) ok, that's fine. just wondering if I should hold off on some stuff. bah. tell me again how I can easily find out when a module was added to perl core? There's a module, something corelist. Or you can ask the CPAN bot Which appears to have gone away. lathos: awesome, thank you. lathos++ % Andy has joined #parrot ... we have a lot of things left in lib that are in core. =-) % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net we could rip out 5 more modules from lib based on what's in core as of 5.8.0 % rdice has joined #parrot % kid51 has joined #parrot % particl1 has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.wa.comcast.net % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com Does anyone know whether we're going to have a release this week? kid51: yes, pmichaud is doing it tonight. k. I just took the ticket about the core modules. I'll wait until after the release to delete them from distro. Okay? I'm working on release now Test::Builder will be tougher. why, exactly, is this release 0.6.0 ? There's a minor API change we have to work around. as opposed to 0.5.x? pmichaud, I thought the PMC changes would make it 0.6.0, but they're not in, so I thought it was 0.5.3. No, but the ticket to which Coke posted noted that our minimum Perl 5 version is 5.8. Hence, anything that was core in 5.8 does not need to be in distro. Correct? okay. the ticket says 0.6.0 but I'll release it as 0.5.3 chromatic: What about Test::Builder? (chromatic's understanding corresponds with mine.) kid51, I removed it a few days ago in my local tree and there were some failures with Parrot::Test. k. then how about Test::Simple/More, Class::Struct, Text::Balanced? Assuming I can get all tests to pass without them in distro, are they good to go? I'm not sure how the Test:: ones will fare until we can clean up the Test::Builder issue. The others should be fine. Okay, I'll work at this in pieces over the weekend. chromatic: you mentioned earlier today that there were some recent patches or tickets for pge/pct? or did I misunderstand? ('recent' meaning...? The past few weeks. http://rt.perl.org/rt3/NoAuth/parrot/Overview.html thanks that helps I've been using it myself to clear up newer stuff and patches I missed. * pmichaud bookmarks that very useful link Y'know, I was going to overhaul something the other day and chromatic +1'd me on it, but I'll be darned if I can remmeber what it was. src/string.c src/string.c is the builtin string, right? should I create there a method as well? purl, forget src/string.c chromatic: I forgot src/string.c yeah, and what was it... oh, and somebody handed me a ticket, too. Pick anything in there and untangle it, and +2 to you. % Andy has left Andy!~Andy@64.81.227.163 % kid51 is now known as kid51_at_dinner Okay, I've got some time before I need to sleep again, lessee if I can push some patches through. careful, I'm in the midst of making a release Oh, that's now. I was thinking that that was tomorrow. I'll hold off, then. % rdice has left rdice!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com % Andy has joined #parrot oh, maybe it was string_concat or somethign. pmichaud: anything we can do to help at this point? (aside from leaving you alone? =-) r25908 | pmichaud++ | trunk: : [nqp]: : * Fix oddity whereby we ended up with both t/17-class.t and t/17-inline.t : (one of them should be 18-*.t). r25909 | pmichaud++ | trunk: : [nqp]: : * Add tests for method call, C<=:=> operator (RT#50520) : * Patch courtesy Zev Benjamin diff: http://parrotvm.org/svn/parrot/revision/?rev=25909 % chromatic has left chromatic!~chromatic@sub17-30.member.dsl-only.net * Coke wonders who committed a manifest patch that had removed developing. Coke: just tell me if you think there are any steps/items I'm likely to forget or overlook "follow the list" that's basically what I'm doing :-) that's pretty much the only way I remember what to do when it's my turn. paula needs a bit of help for about 30m, then I'm going to cut the release chromatic, allison or I can update the website. everyone has helped a bunch by updating NEWS, PLATFORMs, etc. no rush. Don't forget to send $10 to Coke. * Coke spafs his tea. Coke, can I give you the $10 at YAPC::NA? ;-) bbi30 that will be fine. But as I recall, I owe you a cookie. wknight8111: ENOPATCH on #50884 % chromatic has joined #parrot % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net HOLY CATS DID I FIND A BUG I hope it's related to constant strings. IS IT A BIG BUG? and you fix lots of COW with it no, it's in pbc_merge oh, not a bug. But it looks like it. chromatic: what's your bummer? % diakopte1 is now known as diakopter Trying to fix the Lua segfaults. It's the COW and constant mess again. this pbc_merge stuff is makin' me sad and I just realized it's not actually used. It would be nice to use it. tcl was using it for some time. I think mdiep removed it. % kid51_at_dinner is now known as kid51 % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % DarkWolf84 has joined #parrot % kid51 has left kid51!~jkeen@pool-68-237-10-26.ny325.east.verizon.net % dwolf_ has joined #parrot % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 what does ENOPATCH mean? wknight8111: it means "There's no patch, and that's bad." It's a reference to unix error codes, which are represented in all capital letters and start with 'E' oh shoot, i must have forgotten to attach the file the argument can be made that my marbles aren't all in the right places r25910 | petdance++ | trunk: : use the mem_realloc_n_typed macro properly r25911 | petdance++ | trunk: : take advantage of str_dup r25912 | petdance++ | trunk: % particl1 has left particl1!~particle@c-24-19-3-148.hsd1.mn.comcast.net % wknight8111 is now known as wknight-away y'know, we still need to put together that list of what yet needs to be done. ./perl6 -e'"Hello world".say' doesnt' work. Waaah. but right now, I have a cruel editor to write for. % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net back again % wknight-away has left wknight-away!~nobody@c-71-230-33-251.hsd1.pa.comcast.net Andy: it works if you add a 'say' method to languages/perl6/src/classes/Str.pir [tene@kupo perl6]$ ./perl6 -e'"Hello world".say' Hello world Hello world is http://www.roesler-ac.de/wolfram/hello.htm even better would be to add the 'say' method to Object that way 3.say will work also as well as <1 2 3>.say * Tene tries that. Yeah, I'm all over that. I'm SO not low-level. % particle has joined #parrot When I add it to Object, it works for "Hello world".say but 3.say dies. Hmm. * Coke writes another coding standard test. :| I'll hold off committing this until the release, but if anyone wants to comment... "coke" at 72.228.52.192 pasted "test for RT#47109" (79 lines) at http://nopaste.snit.ch/12370 (which actually does catch two unwrapped macro args in the current suite.) updated the error message slightly. Oh, "3.say" doesn't work because rakudo generates pir like: $P34 = 3."say"() interesting that's definitely a PCT bug... file a ticket, please? purl: parrotbug parrotbug is mailto:parrotbug@parrotcode.org or http://svn.perl.org/parrot/trunk/docs/submissions.pod * pmichaud needs a release name. Something related to rakudo would be nice, since this is the release that first contains it. pmichaud: sent Tene++ # thanks an invocant always has to be a PMC so 3."say"() is clearly wrong Actually, looks like "Hello world".say works fine for me even without adding a method to Object.pir You sure it doesn't work, Andy? It didn't for me just now. lemme try again I did it in -e So did I. k hold on Andy: http://www.rakudo.org/cgi-bin/mt/mt-search.cgi?tag=Rakudo&blog_id=6 :: internal server error Coke's url is at http://xrl.us/bgimx yeah, I know, Coke. the tags get hammered by bots and it hoses the machine it's on and my host chmod 000s mt-search.cgi pmichaud: oumu-da. 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 (as opposed to rakudo-da) http://scsys.co.uk:8001/13384 Oh, looks like I'm an idiot. I was running 'make', not 'make perl6' pmichaud: (way of the parrot. based on a google search of parrot, japanese, camel, dictionary =-) "tene" at 71.16.144.82 pasted "say() method for rakudo" (24 lines) at http://nopaste.snit.ch/12371 coke: oumu ? parrot. A half-hearted suggestion. it's good enough for me the english "way of the parrot" would work. (and be slightly more accessible.) oh, I like "way of the parrot" too I'm -> abed; I can do the website tomorrow before noon if necessary okay, np. just watch for the announcement (which will come in approx 1 hr if all builds well) that patch also works for 'my $a = 3; 3.say' and '<1 2 3>.say' and everything else I tried except literal numbers. is anyone gonna play with tene's patch? Can I apply it? maybe wait until after I tag the release? % x has joined #parrot I thought it wasn'tuntil March 18 OH, the Feb release. Duh should be ~30 min maybe less k wow, I'm acutally writing some Perl 6 code. I'm so frightened. 3.say seems to be a parsing problmem. in rakudo, or in the PIR that gets generated? error:imcc:syntax error, unexpected FLOATC ('6.') ah, that's an error in the generated PIR likely it's the problem Tene just reported Come ooooon, TAGGING! I wnana commit my first Rakudo test ! * pmichaud hears the fan on his machine grow louder as he invokes more tests oh, where is the Rakudo test being added? languages/perl6 as part of the official tests (t/spec) or just in t/00-parrot or ... ? the latter the latter is better okay. t/00-parrot is really meant for very basic tests just to make sure things are working enough to start running the 01-sanity tests but we can go ahead and put a test there for now. it'll likely get refactored into the spec tests :q looks like I'm on the 3rd or 4th runcore for 'make fulltest', shouldn't be long now. Andy: that's exactly what I reported a bit before you mentioned it. ok it should be an easy fix in PCT, I just don't want to risk it mid-release I'll look at it as soon as the release is done it's a PCT problem. it generates: 3."say"() found the bug hmm, what should say return? oh, bah I figured it would return something other than true. like characters printed. Alas. You'd think these would be identical, at least if you were me .say; say ; r25914 | pmichaud++ | trunk: : [release]: : * Updates for 0.5.3 release. diff: http://parrotvm.org/svn/parrot/revision/?rev=25914 Andy: they aren't? nope well, one would be 'ok 4' and the other 'ok 5' :-) but I suspect you mean something other than the digit difference :-) % jdv79 has left jdv79!~jdv79@u10570642.ul.warwick.net yes you get ok 4 ok5 or rather, I get. Abigail will be happy. I suspect you want a string, not a list, quoting construct in the latter example though. actually, Tene's patch seems to assume string unless .say implies string context on its invocant, I think that $foo.say() ought to redispatch to say($foo) Yes, but does create a list or a string? creates a list Yep. Tene's .say patch treats the list created by as a string And the active output separator for a list in this context is the empty string. and a List in string context uses a space for the separator i.e., ~ # "ok 4" The List in the latter case isn't in string context, is it? correct That's why it prints ok5 say # "ok4" say ~ # "ok 4" Feel better about it now, Andy? I don't get it, but oh well. I'm only picking up the new syntax as we go along. pmichaud: Did you tag? or was that 25914 just getting ready? in perl6 is like writing qw/ok 4/ in perl 5 25914 is the commit just prior to tagging. it _should_ be safe to start committing again I'll sit and wait if you like. I'm just waiting for make fulltest to finish on the tarball ok, so the ~ is the "stringify this?" * Tene sleep. actually, it's far enough through make fulltest that I'm quite sure it's safe to start committing again ~ is the generic "something is a string" operator as an infix op, it does string concatenation as a prefix op, it coerces its argument to a string (i.e. imposes string context) Wow, the Capture PMC had bugs. the one in C? it's been broken for some time. Gonna be fixed in the PMC branch here shortly. excellent. :-) PGE, NQP, PCT, etc. have all been using Capture_PIR as their base type for captures and "@foo" no longer interpolates in the string? it has to be "@foo[]" to get the interpolation (but I don't think Rakudo implements "@foo[]" yet) You might try the C version on the branch just for fun. it doesn't, no. I think that "{@foo}" is also valid in Perl 6 (but also is unimpl in Rakudo thus far) however, "@foo.join(' ')" should work. (er, in Perl 6 still, not in Rakudo yet) we haven't done a lot with interpolation of things other than scalars ok, committed The chicken is involved, but the pig is *committed*. hey, what happened to the tags/ branch in SVN? r25915 | petdance++ | trunk: : Added tene's patch to Object.pir to do say. Added a perl6 test to test it out. r25916 | chromatic++ | pdd17pmc: : [PMC] Converted Capture PMC to PDD17 for PMC attributes. r25917 | chromatic++ | pdd17pmc: pmichaud: it's not a branch it's on the same level as branch/ okay, the tags directory, then it's parallel to branch/ http://svn.perl.org/parrot/ I see no "tags/" there. wow, it's not there. whuh? THAT'S WHAT I SAID!!! :-) $ svn ls https://svn.perl.org/parrot/ branches/ trunk/ well, good thing we have the CPAN! well, you'd better recreate it for the release, and enter a ticket so we can figure out what happened I don't remember it being there. it was there. it was there as of 2008-02-01 It was there in -r25000 I'm looking to see when it disappeared and 25800 it disappeared sometime on 2008-02-18 somewhere between -r25856 and -r25863 -r25861 r25861 | jkeenan | 2008-02-18 20:45:01 -0600 (Mon, 18 Feb 2008) | 1 line Removing superseded tag. I think he must have been a little over-rambunctious on that. :) kid51-- I think I can restore it r25918 | chromatic++ | pdd17pmc: : [PMC] Used a defined typename instead of referring to the struct directly. diff: http://parrotvm.org/svn/parrot/revision/?rev=25918 svn copy -r 25860 https://svn.perl.org/parrot/tags https://svn.perl.org/parrot/tags # maybe? svn up -r 25861 tags yah, that may work better [nit: rakudo is rakuda-do in full; way of parrot would be oumu-do (not that i own much skill at japanese)] ok, bedtime. pmichaud++ for the release (in advance) you guys have a ball, I'm goin' to bed. oh and mail me the release note please okay, will do. 'way of the parrot'++ % jdv79 has joined #parrot yay, 'svn copy' seems to have worked. + print item + print "\n" Long way for writing "say item" right, those are incorrect. even "say item" is incorrect. I know, but I like the irony. it needs to be 'say'(self) and, out of curiosity, what happens with C< $foo.say 3, 4, 5; > ? r25919 | pmichaud++ | trunk: : See if we can restore the tags/ subdirectory of the repository, : accidentally removed in r25861. r25920 | pmichaud++ | trunk: : tagged release 0.5.3 There's an arity question there.... or perhaps I really mean $foo.say(3,4,5) .... is .say assumed to always be zero-arity (excluding the invocant)? that would be my guess here Ditto. Unless there's a multi. % jdv79 has left jdv79!~jdv79@u10570642.ul.warwick.net % jdv79 has joined #parrot r25922 | pmichaud++ | trunk: : [perl6]: : * .say method should redispatch to say() function. instead of : printing directly. r25923 | petergibbs++ | trunk: : Set svn properties to keep file_metadata.t happy diff: http://parrotvm.org/svn/parrot/revision/?rev=25923 uh oh rgrjr didn't change ownership of some of the Parrot:: modules r25924 | chromatic++ | pdd17pmc: : [PMC] Converted NameSpace PMC to PDD 17 attributes. : This PMC could use more cleanup. diff: http://parrotvm.org/svn/parrot/revision/?rev=25924 r25925 | petdance++ | trunk: : added some new sneaky ways to invoke say, but ok 4 started failing on me all of a sudden. diff: http://parrotvm.org/svn/parrot/revision/?rev=25925 r25926 | chromatic++ | pdd17pmc: : [PMC] Migrated NCI PMC to PDD 17 for attributes. : Using the type PMC * instead of void * for the function pointer is a nasty : hack, but PDD 17 doesn't (yet) support void * as an attribute. : For now this only requires some dodgy type casting, but if and when the PMC : parser handles mark() and destroy() automatically, treating a function pointer : as a PMC is only asking for trouble. diff: http://parrotvm.org/svn/parrot/revision/?rev=25926 r25927 | chromatic++ | pdd17pmc: : [PMC] Fixed two line length problems. Oops. diff: http://parrotvm.org/svn/parrot/revision/?rev=25927 % uniejo has joined #parrot % x has left x!~chatzilla@host86-139-25-133.range86-139.btcentralplus.com % chromatic has left chromatic!~chromatic@sub17-30.member.dsl-only.net % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com % iblechbot has joined #parrot