r25976 | chromatic++ | trunk: : [Lua] Cleaned up LuaString PMC. diff: http://parrotvm.org/svn/parrot/revision/?rev=25976 % mire__ has left mire__!~Frodo@35-169-222-85.adsl.verat.net % Ademan has left Ademan!~dan@h-68-167-207-248.snfccasy.dynamic.covad.net What's the best way to generate a patch that includes new files against svn? % HG` has joined #parrot svn add foo svn diff svn diff is clean thanks bedtime & % iblechbot has joined #parrot % avar has left avar!avar@hlagh.mtfnpy % chromatic_away has left chromatic_away!~chromatic@sub17-30.member.dsl-only.net % IllvilJa has joined #parrot r25977 | fperrad++ | trunk: : [Lua] : - same as r25930 but in tobase r25978 | fperrad++ | trunk: : [Lua] : - put environment initialization in LuaUserdata constructor diff: http://parrotvm.org/svn/parrot/revision/?rev=25978 % mire has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.wa.comcast.net % particle has joined #parrot r25979 | kjs++ | trunk: : [rakudo] update STATUS: until/while/repeat has been implemented. diff: http://parrotvm.org/svn/parrot/revision/?rev=25979 r25980 | kjs++ | trunk: : [docs] Remove docs/imcc/macros.pod; all relevant info can be found in pdd19_pir.pod diff: http://parrotvm.org/svn/parrot/revision/?rev=25980 % davidfetter has joined #parrot % c_otto has left c_otto!~cotto@75-92-237-130.sea.clearwire-dns.net r25981 | kjs++ | trunk: : [docs] remove reference to macros.pod, which has been removed. add reference to pdd19. diff: http://parrotvm.org/svn/parrot/revision/?rev=25981 % c_otto has joined #parrot % davidfetter has left davidfetter!~chatzilla@start.fetter.org % davidfetter has joined #parrot r25982 | kjs++ | trunk: : [c99] add rules for pre-processor. I think this should become a different grammar altogether to keep things simple. diff: http://parrotvm.org/svn/parrot/revision/?rev=25982 % jisom has left jisom!~jisom@c-98-212-164-35.hsd1.il.comcast.net % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se % marmic has joined #parrot % davidfetter has left davidfetter!~chatzilla@start.fetter.org % cognominal_ has joined #parrot % GeJ_ has joined #parrot % GeJ has left GeJ!~geraud@edna.nealab.net % dwave has left dwave!~asksolem@pat-tdc.opera.com r25983 | kjs++ | trunk: : [c99] start on actions.pm refactor grammar a bit for this. diff: http://parrotvm.org/svn/parrot/revision/?rev=25983 % dwave has joined #parrot r25984 | kjs++ | trunk: : [c99] Hello world in C runs on Parrot! : update grammar and actions.pm : add myself to MAINTAINER diff: http://parrotvm.org/svn/parrot/revision/?rev=25984 r25985 | kjs++ | trunk: : [c99] update test harness for c99, and write new first test. diff: http://parrotvm.org/svn/parrot/revision/?rev=25985 % kj has joined #parrot r25986 | kjs++ | trunk: : [c99] : - add if, while and do-while statements : - add tests for this. : - make compound-statements create blocks, instead of stmts nodes; they define a new scope. diff: http://parrotvm.org/svn/parrot/revision/?rev=25986 r25987 | kjs++ | trunk: : [c99] : /simplify TOP action a bit : /add a test for while : /add the news about c99 to NEWS. % avar has joined #parrot % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl kjs++ you should add the sample c file that works under examples/ ! (ah, that's make test.) * Coke tries to decide if he should comment on the "perl6 fundraising" thread. % Andy has joined #parrot r25988 | tene++ | trunk: : Lots of fixes for lolcode. : Properly handle dispatching arguments to functions at runtime. : Allow definition of functions with parameters. : Miscellenous cleanups. % Andy has left Andy!~Andy@64.81.227.163 % Patterner has joined #parrot * Coke waits for tene's commit to hit the list... nice lolcode improvements. =-) % Limbic_Region has joined #parrot salutations all r25989 | coke++ | trunk: : [codingstd] : Minor updates for new files in distro. diff: http://parrotvm.org/svn/parrot/revision/?rev=25989 when is the cut date for 0.5.3? % Davemon has joined #parrot % Dave has left Dave!~dave@pool-141-150-16-151.mad.east.verizon.net % jhorwitz has joined #parrot % orbiscerbus has joined #parrot % PacoLinux has joined #parrot yesterday. hmmm... yesterday is seemingly so far away purl is also the sixth beatle. okay, Coke. er, wednesday, now that I think about it. whoops. neither c nor I did the website. will do that shortly. hi, all! I compiled the new parrot, but with problems.. The problem was undefined PARROT_REVISION var... i had the sma problem ...same problem using svk well, I set #define PARROT_REVISION 0 in parrot-0.5.3/include/parrot/config.h and it compiled nicely, and passed the test suite.. % bgeron has left bgeron!bgeron@toad.stack.nl website updated. orbiscerbus, cognominal_: can you coordinate on getting a ticket open for that issue? % Limbic_Region has left Limbic_Region!www-data@feather.perl6.nl no problem. danke. where do I open the ticketc? tickets.. tickets are pretty high. forget tickets Coke: I forgot tickets I forgot them, too :) http://svn.perl.org/parrot/trunk/docs/submissions.pod % bgeron has joined #parrot well, tickets are pretty high these days, or open them in RT. tickets tickets? tickets are pretty high these days, or open them in RT. purl, forget tickets spinclad: I forgot tickets I never submitted bug report before... welcome aboard also, I don't know what the correct value for PARROT_REVISION should be. so, I can't submit a patch. hm. for the release it should be 0.5.3 i believe; for HEAD i seem to recall it being removed lately... will check % uniejo has left uniejo!~uniejo@langebro.adapt.dk the REVISION is 0, unless it's an svn co, then it's whatever svn reports the VERSION for the release is 0.5.3 and now, from svn, 0.5.3-devel i sit corrected; particle++ I browsed through the source code a little. config.h file is generated with Parrot::Configure::Compiler.pm which gets revision data from Parrot::Revision::_get_revision() function. Somewhere in between that process revision number got lost, config.h is not generated correctly, and parrot won't compile... ok, we can work on that. lemme do a quick search damn, building c99 gives me a segfault orbiscerbus: since you have a non-svn co, could you do a test for me? % diakopter is now known as diakopte1 I will try, particle.. do you know perl 5? (perl 6)-- what do I have to do? yes. * particle throws purl out the window. snarky bot! ok, in lib/Parrot/Revision.pm, _get_revision sub make sure everywhere there's a return statement, that $revision is 0 if undefined that is, that _get_revision never returns undef that will likely fix the problem there should be tests in t/... i'll look for em ok t\configure\017-revision_from_cache.t t\configure\018-revision_to_cache.t t\postconfigure\03-revision.t t\postconfigure\04-revision.t t\steps\auto_revision-01.t t\tools\revision\01-get_revision_numbers.t t\tools\revision\02-print_src.t % Limbic_Region has joined #parrot After I changed the _get_revision() to return 0, it compiled without errors. I'm running make test now... \o/ make test done % Limbic_Region has left Limbic_Region!www-data@feather.perl6.nl % jhorwitz_ has joined #parrot % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % jhorwitz has left jhorwitz!~chatzilla@pool-68-163-20-15.phil.east.verizon.net % jhorwitz_ is now known as jhorwitz % rdice has joined #parrot % silug has left silug!~steve@ppp-70-225-44-146.dsl.covlil.ameritech.net opbots, names * particle looks for AndyAway % silug has joined #parrot About how many patches should I have contributed before I ask for svn commit privileges? % AndyAway is now known as Andy (or loc, if that's a better measure) % Davemon is now known as Dave c_otto: enough to have given us a history to judge it took me ~6mo, maybe more. but that was long ago Yes, particle? The most abundant particle in the universe is the moron. or spin 1/2, charge 2/3 andy: i'm having a segfault problem and imcc.l is involved a new segfault? yes hmm tell me more. i just submitted a ticket for it. valp is invalid % davidfetter has joined #parrot ".macro" { return read_macro(valp, interp, yyscanner); } hmmm, lemme look how do you get the segfault cd languages/c99 && make you may not get it, but i do with msvc the actual command is ..\..\parrot.exe -o src\CPP_PGE2AST.pbc --output-pbc src\CPP_PGE2AST.pir what if you go back to 25802? heh, then languages/c99 didn't exist i can fake that, though. ok gimme a few to set up an env oh look I got a segfault yay! % orbiscerbus has left orbiscerbus!~orbiscerb@nat1.oglasnik.hr why do you say valp is invalid it fails on 25802 too oh wait my debugger tells me so. valp points somewhere valid, but everything inside is goofy in DUP_AND_RET or DUP_AND_RET_FREE * Coke wonders if this has anything to do with macro cleanup. =-) this is why i contacted andy. chromatic may be involved, too. Coke: It must, but I can't fathom why. freaky. is occasionally glad he's not a c programmer. ar. ARRRRRRRRRRRRRRRRRRRRRRR * particle is always glad coke isn't a real pirate the diff we're talking about is - return (token); \ + return token; \ where is it segfaultng? what could token be where that would matter? http://rt.perl.org/rt3/Ticket/Display.html?id=51104 Coke: dunno an expanded macro? doubtful. when i try to trace up to yyparse in the bt, the debugger sends me somewhere wrong (a line with a comment) ... was the generated file regenerated? i'm digging. Isure hope it's not differences between my bison and chromatic's. it's possible it's missing the proper #line directive i've seen wrong line happen before due to missing or invalid #line but, yeah, could be bison rdice++ eh? your emails on the funding thread which allow me to remain, thankfully, silent. =-) my segfault has stopped segfaulting. I'm home sick today. I make myself even sicker by participating in funding threads. hopefully nothing too serious. :| particle: Can you do a "make distclean" in the root and start over? No, I'm coping. andy: with svn head? yeah c:\usr\local\parrot\bug>nmake distclean && svn up && perl Configure.pl && nmake && pushd languages\c99 && nmake # this may take a while bbi15m ok % barney has joined #parrot oh wait, the segfault is here, it's just that the make doesn't trigger it. but hey, a remake won't hurt see updated ticket http://rt.perl.org/rt3/Ticket/Display.html?id=51104 ok, your problem is most likely NOT related to macro fixes. Aha, it's something I broke, and it's a good thing. r25990 | petergibbs++ | trunk: : In thawfinish, delay setting constant flag on lib_name until Parrot_load_lib : has been called, to avoid corruption in iglobals during GC. : This fixes segfault attempting to run tcl tests on some platforms. diff: http://parrotvm.org/svn/parrot/revision/?rev=25990 If someone is available to help me hash through this, ping me. % parrot-poke has joined #parrot back see my updated notes. % DarkWolf84 has joined #parrot i didn't get a segfault this time I think that's luck. run that one line directly. ..\..\parrot.exe -o src\CPP_PGE2AST.pbc --output-pbc src\CPP_PGE2AST.pir brb % diakopte1 is now known as diakopter yep, segfaulted this time petergibbs++ well, I'm throwin' in an assertion % pipping has joined #parrot % davidfetter has left davidfetter!~chatzilla@start.fetter.org hi, just wanted to point out that it says '15 January 2008' at http://www.parrotcode.org/news/2008/Parrot-0.5.3.html, which is when 0.5.2 was released (copy&paste error) that's all, thanks for listening :D bye curses. % pipping has left pipping!~pipping@p54BFF405.dip.t-dialin.net fixed. % sjansen has joined #parrot Nobody likes cursing. Who's coming to Chicago? for yapc::na? me. I added an assertion, Particle, but it doesn't fix your problem. just should assert rather than segfault. :) I'm probably coming. r25991 | petdance++ | trunk: : Add an assertion in scan_string, and hoist some redundant code. Also consting here and there. diff: http://parrotvm.org/svn/parrot/revision/?rev=25991 well, my compiler doesn't do squat with asserts, so it segfaults still it's a PARROT_ASSERT, so it should. anyway, if you look at the code, you can see the bummer. yep % diakopter is now known as diakopte1 % jhorwitz_ has joined #parrot % Theory has joined #parrot % jhorwitz has left jhorwitz!~chatzilla@68.236.42.125 % jhorwitz_ is now known as jhorwitz % Psyche^ has joined #parrot I thought the problem was not that valp was null, but that valp->s was screwed up: the assert isn't going to help with that, issit? valp isn't null. it points to a valid location in memory. the contents of that location are uninitialized. % Patterner has left Patterner!~Psyche@d121163.adsl.hansenet.de % Psyche^ is now known as Patterner valp should be nulled out at that point, i suppose, or it's contents should be reinitialized Right. So the assert is useless. (in your case.) (it's not your compiler that's ignoring the assert; it's that the assert isn't tripped.) % slightlyoff has joined #parrot % amoore has left amoore!~amoore@65.165.109.82 is valp a STRING? (perhaps a COW bug?) oh, I see andy added a comment to the ticket. multiple How do you mean "valp->s is screwed up"? That it poitns to a bad location? Or that the location is bad? What I've changed recently is setting valp->s to NULL after freeing. well, either way the location is bad yes, everything under valp is null valp itself isn't null even if valp->s is null, you're ... ah, you're asserting VALP->s, so that should work, yes. I heavily amend my previous statement. =-) oK, so for whatever reason, valp isn't getting populated. and most importantly, NOT MY FAULT. :-) there's so many other things to blame on you, though: we're good. Jews & Arabs? My fault. wait. didn't schwern have something to do with that? No, he's German, they have their own Jewish issues. I wish I understood the flex/bison stuff. Once you do, there's a ton of tickets to take. =-) You might be able to take the "eliminate global variables in imcc" one; seems like more of a C issue than a flex issue (generic pong) pmichaud: have you arrived? I have indeed. Got here this morning (approx 10 hrs ago), and caught up on sleep. thanks for taking care of the website updates yay! now you can go looking for bad food. bet you can't find any! already ate. :-) no, no bad food yet. * pmichaud trembles at the thought of reading the funding thread. It's stopped on a pretty sane note. % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net I had already decided not to comment, other than to perhaps ask that it not be crossposted to every perl6-* list % ruoso has left ruoso!~ruoso@mail.verticalone.pt hey, here's an oddity on capn % Andy is now known as AndyLunch er, cpan i think er, cpan is now 1.3 GB 1) go to search.cpan.org 2) enter "Parrot" 3) follow the link to "Parrot" (i.e., the first link in the search results) hrmm, 'tis odd indeed. i don't know how to fix that. me neither. ask andreas or brian_d_foy? what's the oddity: the really old module? hurm. I was getting "parrot 0.0.5" earlier today doing that. I thought we removed the "for Dummies" link since it's a TM violation. the oddity: the documentation for Parrot is the PCT "getting started" document that kjs developed I would definitely ask somebody to fix that. :| Where is that normally pulled from. README? probably. check an older distro r25992 | coke++ | trunk: : remove potential TM violation (and match file name) diff: http://parrotvm.org/svn/parrot/revision/?rev=25992 Don't see how. when you're on latest, it's different. I bet that 'gettingstarted' is preferred over whatever we used to happen to get caught. I'm going to go ahead and remove versions 0.4.10 and 0.4.17 from CPAN. i'll remove 0.4.8,14,16 Would someone mind looking over my PMC code and giving me pointers about how to improve it? nopaste? hmmm... 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 simon? simon is in the mystic west or the anti-XML or the defintion of perl or not okra or scary or Men are from Macs, women are from VMS or an SMTP server or an alpha geek or at simon-cozens.org or http://use.perl.org/comments.pl?sid=7297&cid=11131 or A Real Unix Guru(tm) or at http://lumacode.com/simon/ (the game) cotto: nopaste it, we'll look "c_otto" at 131.107.0.104 pasted "PHPArray PMC code" (1920 lines) at http://nopaste.snit.ch/12383 Thanks. cotto: is a PHPArray basically a hash? pmichaud: did you see my work on yaml_dumper.pir? yes, except it can also use integer keys and [1] stores something in a different slot than ["1"] ? and a couple other constraints that PHP's arrays have yup parrot's Hash PMC allows both str and int keys cotto: you're working on plumhead? yes cool get_string_keyed_int, get_string_keyed_str particle: yes, but 1 and "1" end up in the same bucket. no? no is is not sure. That depends on the string's hash. "coke" at 72.228.52.192 pasted "hash example" (10 lines) at http://nopaste.snit.ch/12384 Sounds like for this, you can't expect those to be identical. actually, based on my reading of http://www.php.net/manual/en/language.types.array.php, it looks like you should expect that to work. cotto: i should have mentioned earlier that hll contributors usually don't need to wait as long for a commit bit as core contributors that's good to know % stephen has left #parrot Coke, you're right. That should work. if that works, I wonder if you need to create an entire new pmc at all. which is avoiding the review you were asking for, I know. =-) I've always treated digit string keys and numeric keys equivalently in PHP there is a difference that crops up in the ordering that results, however. I'll need to make some changes, but I don't think they'll be too big. Thanks for catching that. Coke++ pm: how's eu? % barney has left barney!~bernhard@p549A2176.dip0.t-ipconnect.de % peeps[work] has joined #parrot PerlJam: eu is pretty nice, thus far it was fun to walk around some of the streets and look at the various shops % jmcadams has joined #parrot Conrad Schneiker or Joshua Gatcomb hang out here? LR? somebody said LR was long-range, so that makes up for it :) limbic region? r25993 | petdance++ | trunk: : Heavy consting of hash-key building. This is the first true consting I have been able to do lately. r25994 | pmichaud++ | trunk: : [rakudo]: : * Get postcircumfix < > to use instead of : (especially since quote_expression already knows how to handle : splits and other coding issues. diff: http://parrotvm.org/svn/parrot/revision/?rev=25994 limbic = Joshua? * jmcadams was wondering because i was following the Perl6 rss and saw a big email flurry about funding work on parrot yes, limbic_region is joshua gatcomb thx jmcadams: the yapcchicago website is somewhat sparse on date details has it not been finalized yet? 16th-18th June should be right at the top lemme check ah, it's there % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % rdice_ has joined #parrot i'll add it in a few more places around the page so that it's easier to notice thanks, that'll help it did take me a long time to see it when I was looking a few days ago ah, on the topic of parrot funding... I was going to point out http://www.thepoint.com hey this looks bad seemed like a decent way of having many people raise $$ for a specific purpose {DOT}{LETTER}{LETTERDIGIT} can run off the end of the function. there's also fundable.com % AndyLunch is now known as Andy (or perhaps it's .org) .com did the trick % rdice has left rdice!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com cool, just wanted to make sure that they knew about some place like that % Oniichan has joined #parrot seems like a decent idea I've used fundable to get browsercam subscriptions. It seems to work pretty well. fundable does a 7% deduction it seems yes, it is a little pricey thepoint claims to only take 3.5% for cc processing (they waive the deduction for browsercam subscriptions, though) other than that, they seem compariable I'll keep thepoint in mind * jmcadams is going to have to figure out what a browsercam is browsercam.com -- it lets you see how web pages appear in many different browsers at once neat normally it's $60/month, but they also offer a $500/yr option with 20 separate login accounts thus, if you can get 20 people to contribute $25 apiece, it ends up costing $25/yr instead of $60/mo I've used it for quite a bit of web design projects -- it's great to be able to test a layout and see exactly how it will look in many different browsers yeah, seems like a good tool thx Who is hep to any of this parser stuff? andy: parser... as in imcc? andy: not i. how can that run off the func name? go look at imcc.l line 522 see how the func can run off the end without a return you mean no 'return' after mem_sys_free ? lemme run it thru splint. yes ok, i see. thought you meant something else. that's no good. indeed it is not. TM? i guess TM is TextMate (http://macromates.com/) or TicketMaster TM violation? TM == trade mark "XYZ for dummies" gotcha, thx purl, TM is also trademark okay, spinclad. TM? TM is TextMate (http://macromates.com/) or TicketMaster or trademark Is purl documented anywhere? google for infobot. purl, purl? i am going alone. or almost an anagram of Donaudampfschiffahrtskapitaensmuetzenkordel or a perv or an auto-triage bot or a she or so stupid or a smartass or the sixth beatle. purl is also http://www.infobot.org okay, pmichaud. Coke: should I remove the old versions of parrot cpan that I have? How far back are we removing? everything before 0.5 for sure pmichaud: you esp. be careful (don't remove the most recent. =-) what particle said is fine. so, it looks like I can delete the 0.4.9 and 0.4.15 releases... do I delete the .meta and .readme files also? yep Danke. done. % x has joined #parrot afk for a bit Is there a quick way to make an Integer PMC from an INTVAL? (other than pmc_new) in C or PIR? (guessing C) i think you need pmc_new and then to set its invtval. TM is also transcendental meditation okay, Andy. that's what I though I meant C r25995 | paultcochrane++ | trunk: : [pmc] VTABLE_() function lines need to be all on one line for icc to be able : to build them... diff: http://parrotvm.org/svn/parrot/revision/?rev=25995 that icc requirement is like, crazy, yo. some compilers suck differently than others % jhorwitz has left jhorwitz!~chatzilla@pool-68-236-52-141.phil.east.verizon.net particle: http://conferences.mongueurs.net/yn2008/ i think this is beter % Theory has joined #parrot i have the dates on the front page in three places jmcadams: when is yapc again? ;) :) I think it's in July. :-) jmcadams: *much* better, thanks * pmichaud considers submitting a talk for YAPC::NA. :-) pmichaud: considers? you should :) you've got tons of parrot stuff going on * Coke wonders when the submission deadline is. * Coke doesn't really want to give a talk, honestly. would be happy to assist someone, however. oh, I'm definitely planning a talk for YAPC::NA Coke: March 15th actually, probably multiple talks jmcadams: perhaps I'll have a change of heart by then. ^_^ you're not running it again, are you? in a round-about way ... not that I didn't have a great time last time. =-) Chicago.pm got the bid there are a few people on the organizing committee but a lot of the stuff fell back to me for one reason or another... some of it just being that I already had been-there-done-that poor sod. could I get a commit bit to parrot? zev? i guess zev is Zero Economic Value or a term used by rescuers to distinguish refugees in NOLA... conversely "taxpayer" I can't map your id to an email address; Typically commit bits are handed out after several patches are submitted and approved. I have submitted several patches. the email address used has usually been either zev@strangersgate.com or zev-perl6@strangersgate.com zev: have you sent in a cla yet? cla? cla is, like, Contributor License Agreement or http://www.perlfoundation.org/contributor_license_agreement appearently not. I can can do so... are there some outstanding patches yet to be applied? I've been a bit behind on applying rakudo patches it's a necessary but not sufficient condition to the actual commit bit. correct. no, it's not! yes: #50558 and #50550 I also have a patch ready (but not yet submitted) for the glue to let you write the rakudo runtime in perl6. I would like someone to look that over, however * pmichaud checks is the 'run' builtin documented somewhere? can always submit patches with a "comments requested" note. pmichaud: yes. one sec and coke is correct, feel free to submit the patch as a "request for comments" patch Subject Status Queue Owner Priority ack. sorry http://feather.perl6.nl/syn/S29.html re: #50550 (patch for exponential numbers) --- STD.pm doesn't allow exponential notation on integers, which is why rakudo doesn't have it we might need to ask on perl6-compiler yes, I realize that STD.pm doesn't allow it (hence my comment). However the spec indicates that it should be possible. I can send mail "cotto" at 131.107.0.104 pasted "updated phparray pmc code" (1976 lines) at http://nopaste.snit.ch/12385 hmm, that's just an oversight ... or not TimToady: any particular points about Perl 6 that you want me to hit (or avoid) in my FOSDEM presentation tomorrow? % HG` has left HG`!~wells@user-514c5cb2.l3.c5.dsl.pol.co.uk That fixes the string -> int index issue that Coke mentioned. ok, latest patch is #51112 (http://rt.perl.org/rt3/Ticket/Display.html?id=51112). I'd appreciate if someone would take a look at it at some point I'd suggest not talking about fundraising. :) pmichaud and our usual guest are welcome to talk in the French Perl Worshop in Albi Friday May 30 and Saturday may 31 I definitely wasn't going to mention that. (fundraising, that is) mmmm, French Perl Workshop we will probably rent large cars to go there from Paris Jonathan can tell you we are nice :) oh, Paris (Texas) isn't far from where I live :-) not the same Paris But Albi is definitely not easily reachable by car. and may be someone living in Central Paris like rgs can lodge you a few day before for you to do tourism well, I don't know that I get to do much tourism-like stuff until this summer % sjansen has left sjansen!~sjansen@hq-nat2.gurulabs.com until Paula (my wife) gets done with her chemo treatments, my trips will tend to be get-there-do-business-return-home so, relaly, who can I bug about imcc.l? ho, I hope here disease is not serious or easily curable s/here/her/ oh, it's serious enough, unfortunately (ovarian cancer) also, if a CLA is required for commit access, perhaps that requirement should be added to docs/submissions.pod zev: correct pmichaud: okay, I think I've fixed dec_number family comes before anything cognominal_: agreed. The main reason I'm doing FOSDEM (besides having committed to it) is that Paula insisted and, as it turns out, I'll be back in time for the rough phase of treatment I wish both of you luck thanks doyou have any kids or intend to do? or does ovarian cancer will comprimise that? we have two kids from Paula's first marriage. We don't have any of our own (but weren't planning any either) good and yes, ovarian cancer normally compromises that. unless the patient is quite young and the cancer is not too extensive TimToady: dec_number looks good to me was tempting to make both parts ? but that wouldn't work would parse integers as dec_number for one yes, I was wondering how you would resolve that. :-) and mess up the 1.method interpretation on longest-token if we used a so it looked like the easiest way was the way I did it with a small duplication of code I wish the other talk interested me but only your talk interested me in FOSDEM so I decide not to go. I was thinking something like [ '.' \d+[_\d+]* | ] yeah, that'd probably work too it would avoid the duplication :-) but this way gets the whole number into the DFA matcher true. and some token rules can probably be taught not to reparse as an optimization though I haven't worried about that much yet a previous girl friend had a overian kyst the size of a first and the first gynecologist tell she was pregnant despite us having protected sex so I hope you wife is in more competent hands s/first/fist/ thus far we're very happy with the g-oncologist that we have good he did a fantastic job with the surgery, and he seems to know exactly how to manage the whole process and whenever we've asked about other treatment possibilities, he's been very aware of them and been able to explain the pros and cons and when they might be appropriate % allison has joined #parrot cognominal_: French Perl workshop is in May?! That's only just over six months since the last FPW! allison (and anyone else on channel) -- anyone have any specific topic they think I should/should not cover in my Perl 6 talk tomorrow at FOSDEM? I wish some day PGE or its progeneture wil help to sequence dna and help to save life jonathan, we are so impatient to have you again :) we've already decided _not_ to cover fundraising possibilities :-) although if someone offers a large contribution tomorrow, I might change that position :-) cognominal_: May might not be so good for me. :-( % ruoso has joined #parrot and Albi being the south west of France, the fodd should be good Though I'll certainly say, I enjoy attending FPW. pmichaud: lately I've changed my "easy to use" message to "powerful tools". Ultimately it's the same thing (powerful tools make writing compilers easy), but seems to be more exciting to the audience allison: good point Thanks, pmichaud, I'm glad you agree with me. we had nicholas two in one previous occasion. Nice chap too pmichaud: Similar to what Allison said, one thing that occurred to me is to mention that people are using NQP and Perl 6 rules - currently implemented parts of Perl 6 - Ilready. pmichaud: and while I wouldn't ask for funding, it's entirely appropriate to thank NLNet and Mozilla who have made the work go so much faster s/two/too/ s/Ilready/already/ allison: also good point about nlnet/mozilla Similar in the sense of, it relates to the compiler tools. :-) jonathan: good idea, thanks. But mentioned that we already have bits of Perl 6 implemented and people are doing useful stuff with them... much of my talk is about Perl 6 the language as opposed to Rakudo the implementation although about 1/3 to 1/2 of the talk will undoubtedly include Rakudo, Parrot, and the compiler tools The stuff I'm presenting here in Kiev tomorrow is about the language, but much of the stuff I'm showing actually runs on Rakudo already. :-) Of course, I kinda cheated by knowing what I was going to be talking about ahead of time and then implementing those bits. % slightlyoff has joined #parrot % Limbic_Region has joined #parrot that's not cheating, it's progress. Only if my implementation is good. ;-) I'm sure what I've done will need lots of tweaks. But, it's a start. I do have some changes to make to class/role/etc., but those will have to wait a .... right I'll probably revisit them first week of march there's a lot of refactoring that needs to take place in order for .HLL to work I have seen you have roles right into pmcs I've got at least one hack in the codebase already that I think is related to not having .HLL in place. I put a comment in saying so, so it's grep-able. ack-able! right. One of the challenges is that some of the tools (like HLLCompiler and Protoobject) arent .HLL-aware yet cog++ Sure; there's plenty of work to do there. Anyway, I'm tired and have talks tomorrow, so time for sleep. good luck good luck on your talk tomorrow -- wish I was there to see it! :-) Same with yours! % destiney has left destiney!destiney@75.143.147.57 % peeps[work] has left peeps[work]!~peepsalot@bwext.kpimdp.com CLA? somebody said CLA was Contributor License Agreement or http://www.perlfoundation.org/contributor_license_agreement % jmcadams has left jmcadams!~chatzilla@12.47.30.10 % kid51 has joined #parrot r25996 | petdance++ | trunk: : good to splint the imcc stuff, too r25997 | petdance++ | trunk: : use appropriate macros in the generated code. Const, too diff: http://parrotvm.org/svn/parrot/revision/?rev=25997 % Andy has left Andy!~AndyL@host3130.follett.com % mncharity has joined #parrot % rdice has joined #parrot % rdice_ has left rdice_!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com % iblechbot has left iblechbot!~iblechbot@ppp-62-216-199-35.dynamic.mnet-online.de Following http://www.perlmonks.net/?node_id=659584 on a fedora8 x86_64, ./pbc_to_exe languages/perl6/perl6.pbc fails because gcc 4.1.2 doesn't like -Folanguages/perl6/perl6.o , and drops perl6.o in the cwd. One can work around this by then copying perl6.o down to languages/perl6, and rerunning ./pbc_to_exe. parrot r25997. fyi. ./languages/perl6/perl6 languages/perl6/t/01-sanity/07-defined.t segfaults. so I'll mention the build time warning src/gc/gc_ims.c: In function ‘parrot_gc_ims_collect’: src/gc/gc_ims.c:853: warning: cast to pointer from integer of different size, which may be an x86_64-ism. s/segfaults/segfaulted/. non-replicable. :/ oops. tested wrong file. segfault on defined.t *is* consistent. % x has left x!~chatzilla@host86-139-25-133.range86-139.btcentralplus.com mncharity: I wonder where the -Folanguages/perl6.perl6.o switch is coming from, then? % Andy has joined #parrot mncharity: do you get the segfault if running 07-defined.t using "parrot perl6.pbc"? % kj has joined #parrot Andy: (scrollback) I know a bit of flex and bison, ifyou still need help although I am planning to get some sleep really soon now I'm here I just don't know what the code is supposed to do. mmm. lines? I'll take a quick look maybe i read it before look at line 544 of compilers/imcc/imcc.l guess I'll first svn up oh i should mention, my focus on imcc is not really correctness wrt memory i read something about a function falling through, no return; is that your concern? if flex doesn't return it'll just continue scanning, but i guess you knew that already so it doesn't have to be wrong no I didn't know tht I just see a function that doesn't ahve a return. so, on a side note, the if type>0 stuff, should be removed long-term, as this involves the type-ids well, it's not really a function ;-) so after the lexer finds out the it cannot find .Foo (if Foo is not a type), it will try to expand the macro Foo that's the part with if(!expand_macro ,.. stuff if it CANNOT expand it will return a dot the other case, it will continue, apparently (not expanding, returning a dot, makes sense, no?) hld not sure, but i think a lexer is just one big switch/case thingie it's not seperate functions for each rule actually, currently (but it's 01:51 am here) i cannot think of any other case than .Integer and .my_macro(42) (type ids and expansion, resp.) but it's my guess, that the lexer will happily scan more, and return something at a later point to the parser who will probably complain (as i said: cannot think of any other case) but in all 3 cases, the memory is freed, if i see thsi correctly back pmichaud: re 'do you get the segfault if running 07-defined.t using "parrot perl6.pbc"?', no. ../../parrot perl6.pbc t/01-sanity/07-defined.t works. ah, ok I see in the compiled code (i also saw something with valp in the scrollback, I don't have a clue there) mncharity: okay, that helps a bit. It might be in the x86_64 core then, or it might be something specific to pbc_to_exe on x86_64, or who knows andy: note line 623; there's no return there either looking at the copmiled code, it makes sense that's fine, a new state is entered, and the scanner will continue ok, yup makes sense. line 462, same thing; handling the .include directive; this case should be more clear as it opens a new file and scanning continues in the included file. just as you'd expect oh, one more thing very very very important in flex files: the { should be on the same line as the pattern that is matched but you might have figured that out yourself andy: do you think the pct implementation of C is helpful for cage tasks? I'd be amused to rewrite some of the t/codingstd tests using the PCT version. coke: i did a bit of thinking about a full implementation.It might get tricky with pointers pmichaud: re 'I wonder where the -Folanguages/perl6.perl6.o switch is coming from, then?', I see in ./config/init/hints/mswin32.pm c_o_out => '-Fo', and note that gcc was invoked via "cc". Perhaps it's confusing fedora with mswin? perl 5.10. -V looks normal. mncharity: yes, it sounds like a configuration issue. iirc, pbc_to_exe just uses whatever compiler flags are stored in the parrot config % e has left e!~e@rob92-3-81-56-71-84.fbx.proxad.net II don't know http://sial.org/pbot/30323 re 'pbc_to_exe fails with -Folanguage/perl6/perl6.o', here's the myconfig and parrot_config.pasm well. i'm off for some sleep. andy: if you need more help with flex/bison stuff, ping me kthx if im here We still have a problem we were tracking down that led me to find that. what was the orig. probl ummm. I don't remmeber. hold on. r25998 | petdance++ | trunk: : removed an unnecessary malloc/free pairing diff: http://parrotvm.org/svn/parrot/revision/?rev=25998 the whole macro layer in imcc.l is.... scary. to say the least. http://rt.perl.org/rt3/Ticket/Display.html?id=51104 mm. right. you know what that loop does, right? it reads in a macro definition (the macro parser is implemented in c code, in this piece of the lexer) wait a minute. valp is then passed to yylex again % jasonmay has left #parrot in the last line of the loop yylex is the lexer function, which will activate the patterns again, where valp->s can be allocated again i think that's where valp->s is realloced again % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % Oniichan has left #parrot andy: that's the answer on your reply on that ticket. ok hold on so, just to make sure; you know what yylex is, right? that's the entry point of the lexer, as called by the parser. but this code implements the macro parser, which will just ask for the next token through yylex which will then happily match patterns just as any other invocation fyi; it seems read_params does something similar, but a bit different. not quite sure. it defines a YYSTYPE object (valp is also a YYSTYPE thing i think) I really just need a crash course in the parser stuff. we really should move to pirc :-P (advertising my own stuff here ;-) so, for instance, line 308 allocates memory and assigns it to valp->s this line may well be activated when yylex is invoked, from that little macro-parser you're trying to debug that's why it's ok to free it later on, and then after invoking yylex, referencing it again the key is that valp is all null at the poit of the crash as long as valp->s is reallocated of course. i'm interested whcih macro it chokes on first, reupdate the preamble is full of macros (that file is included, it's in c99/src) % kid51 is now known as kid51_at_dinner andy: you know what valp is? i mean, you know it refers to an object defined by %union in imcc.y mm.i don't trust line 517 in imcc.l: valp->s=yytext. and later on valp->s might be freed... That's a bad thing,as yytext is global in the lexer/parser not sure, but I'd bet a few dollars on that line. good luck; off to bed % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl no idea (vim lex mode coloring)++ % bgeron has left bgeron!bgeron@toad.stack.nl % PacoLinux has left PacoLinux!~paco@139.Red-80-36-122.staticIP.rima-tde.net % Limbic_Region has joined #parrot % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net % particle has joined #parrot % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % particl1 has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net % kid51_at_dinner is now known as kid51 % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net % rdice has left rdice!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com r25999 | jkeenan++ | trunk: : Applying patch contributed by mkraai in http://rt.perl.org/rt3/Ticket/Display.html?id=51106 correcting number of tests to be SKIPped. diff: http://parrotvm.org/svn/parrot/revision/?rev=25999 % rafl has left rafl!~rafl@62.75.161.67 % e has joined #parrot % diakopte1 is now known as diakopter % rafl has joined #parrot r26000 | jkeenan++ | trunk: : Remove two directories from repository structure. Their contents were : deleted yesterday as they are Perl 5.8+ core modules. diff: http://parrotvm.org/svn/parrot/revision/?rev=26000 chromatic; You around? % AndyA has left AndyA!~andy@82.152.157.85 % cotto_ has joined #parrot % AndyA has joined #parrot % allison has left allison!~chatzilla@72-254-47-128.client.stsn.net % cotto has left cotto!~cotto@tide534.microsoft.com % mire has left mire!~Frodo@162-170-222-85.adsl.verat.net % kid51 has left kid51!~jkeen@pool-71-247-55-65.nycmny.east.verizon.net r26001 | petdance++ | trunk: : use PARROT_INTERP macro diff: http://parrotvm.org/svn/parrot/revision/?rev=26001 % x has joined #parrot % Theory has joined #parrot % mncharity has left mncharity!~jobsearch@c-76-24-29-201.hsd1.ma.comcast.net r26002 | petdance++ | trunk: : parenthesizing macros r26003 | petdance++ | trunk: : unreverted the macro_name str_dup patch. See http://rt.perl.org/rt3/Ticket/Display.html?id=50920 diff: http://parrotvm.org/svn/parrot/revision/?rev=26003 % mire has joined #parrot % bgeron has joined #parrot % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net % Theory has joined #parrot % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net % teknomunk has left teknomunk!~teknomunk@kerr-dip0.nat.okstate.edu % mercutioviz has left mercutioviz!~chatzilla@66-17-33-47.biz.visl.arrival.net % teknomunk has joined #parrot % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com % teknomunk has left teknomunk!~teknomunk@kerr-dip0.nat.okstate.edu r26004 | petdance++ | trunk: : consting, and removed unused arg from expand_macro diff: http://parrotvm.org/svn/parrot/revision/?rev=26004 % mire has left mire!~Frodo@162-170-222-85.adsl.verat.net % teknomunk has joined #parrot % teknomunk has left teknomunk!~teknomunk@kerr-dip0.nat.okstate.edu % teknomunk has joined #parrot % e has left e!~e@rob92-3-81-56-71-84.fbx.proxad.net % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 % SCalimlim has joined #parrot % Coke has joined #parrot r26005 | chromatic++ | pdd17pmc: : [PMC] Ported Object PMC to PDD 17 attribute declaration. : The Class PMC now refers to the generated pmc_object.h file. diff: http://parrotvm.org/svn/parrot/revision/?rev=26005 r26006 | chromatic++ | pdd17pmc: : [PMC] Ported Role PMC to PDD 17 attribute declarations. diff: http://parrotvm.org/svn/parrot/revision/?rev=26006 r26007 | chromatic++ | pdd17pmc: : [PMC] Ported SchedulerMessage PMC to PDD 17 attribute declarations. diff: http://parrotvm.org/svn/parrot/revision/?rev=26007 % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % Alias has joined #parrot % HG` has joined #parrot