% allison has left allison!~chatzilla@209.9.237.164 % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % allison has joined #parrot % allison has left allison!~chatzilla@209.9.237.164 % cosimo has joined #parrot r28417 | tene++ | trunk: : [chitchat] : * Take the grammar from gnu smalltalk instead of ST-80 : * Add some very basic AST generation : * Add a single builtin, 'Transcript', with a single method diff: http://www.parrotvm.org/svn/parrot/revision?rev=28417 pmichaud: your rakudo blog post has no title % polyglotbot has left polyglotbot!~evalbot@feather3.perl6.nl % polyglotbot has joined #parrot chitchat: Transcript show: 'zomg hi' OUTPUT[zomg hi␤] how do i force a string copy without doing anything to the string? maybe an empty concat.. nope TiMBuS: what are you trying to do? reverse a string =/ but it doesnt copy so, i copy the source too uh i reverse the source* % bacek__ has left bacek__!~bacek@mcas-151.usr.optusnet.com.au am i supposed to use something other than 'clone' perhaps? % IllvilJa has joined #parrot r28418 | tene++ | trunk: : Mention chitchat in NEWS, LANGUAGES_STATUS.pod, and 'make languages' diff: http://www.parrotvm.org/svn/parrot/revision?rev=28418 % mj41 has joined #parrot evening karma bacek bacek has karma of 44 karma moritz moritz has karma of 49 karma fight! fight! has karma of 1 .. lol, what yak... * bacek wander if there is something similar to C++ constructors in protoobjects... % Whiteknight has joined #parrot % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % Eevee has joined #parrot % iblechbot has joined #parrot % Whiteknight has joined #parrot % donaldh has joined #parrot % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % tetragon has joined #parrot % cotto_yapc has left cotto_yapc!~cotto@209.9.237.164 % ank has left ank!~ank@ppp59-167-200-77.lns1.hba1.internode.on.net % tetragon has left tetragon!~seneca@206-248-158-225.dsl.teksavvy.com % gryphon has joined #parrot r28419 | fperrad++ | trunk: : [docs] : - add language ChitChat diff: http://www.parrotvm.org/svn/parrot/revision?rev=28419 % mj41 has left mj41!~chatzilla@pc-jurosz.ro.vutbr.cz % toddr has left toddr!c62510be@67.207.141.120 % allison has joined #parrot r28420 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] update to trunk r28419 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28420 r28421 | Whiteknight++ | trunk: : [docs/book] adding missing image to chapter 7 for rt#55374. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28421 % mj41 has joined #parrot % kid51 has joined #parrot % particle[ventus] has left particle[ventus]!~particle@209.9.237.164 YAPC::NA::2008 begins % coke is now known as Coke dun-dun-DUN! % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk coke: do your kids watch hoops and yoyo? r28422 | coke++ | trunk: : Add tcl and alphabetize language entries for this release. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28422 % smash has joined #parrot hello everyone hello I just had a test failure with t/dynpmc/rational, ended with a segmentation fault % paco has joined #parrot and a lot of segfaults in t/stm/basic which OS are you running ? debian * smash fires up a debian virtual machine I'll do a realclean and an update before I file any tickets. I dont think I've realcleaned this morning allison: I have no idea what that is. Coke: you are so uncool Whiteknight: i'll to a 'make fulltest' in a sec okay, awesome "hoops" to me means basketball. % kid51 has left kid51!kid51@feather.perl6.nl % IllvilJa has joined #parrot any ideias now to simply replace 'saveall' and 'restoreall' opcode ? Whiteknight: what version of debian you using ? Ubuntu 8.04 Ubuntu 8.04 is probably out, go get it thanks purl what test is failling ? the first test in t/dynpmc/rational, several tests in t/stm/* I closed it after that and started a make realclean All tests successful, for those here.. i'm also running ubuntu Coke: tomorrow release is going to be 0.6.3 correct ? oh, I need to update NEWS pmichaud: please do that :) okay, it must be a problem on my end. I'm rebuilding now Whiteknight: ok, try it again afer rebuilding then All tests successful, also on debian testing coke: google search for "hoops and yoyo marshmallow", dun-dun-dun-DUN % TiMBuS has left TiMBuS!~Hurf@123-243-167-27.static.tpgi.com.au % smash_ has joined #parrot smash: yes. I don't think we're ready for 0.7.0 % TiMBuS has joined #parrot damn storms :\ % masak has joined #parrot who is the release manager for tomorrow? masak, you might want to log the "breaks for all" on the ticket itself. Coke: what does that mean? That boy needs therapy. Coke: roger that % smash_ has left smash_!~smash@bl5-75-155.dsl.telepac.pt allison:Ah. those characters look vaguely familiar. % toddr has joined #parrot % smash has left smash!~smash@bl5-177-41.dsl.telepac.pt % smash has joined #parrot (got disconnected again.. damn storms) smash, all tests pass for me now. great every now and then realclean is a necessity * smash nods masak you said you had a patch. then you said the patch failed in some conditions. wanted to make sure the fact that the patch failed in those conditinos was documented inthe ticketing system. i could use some windows testing feedback tho pmichaud: did you setup smash in pause? smash: I have some test faiulres, but a mostly good run in strawberry perl. * Coke will svn up and try again. Coke: still trying to get parrot to build on my windows :\ Coke: the bug should be platform-independent Coke: some codingstd tests are failling.. the bug is here: http://rt.perl.org/rt3//Public/Bug/Display.html?id=55184 how do I log it as "breaks for all"? pmichaud: any hints on replacing 'saveall' and 'restoreall' opcodes ? masak: that's good enough: sounded to me like you had a -patch- that broke. I misunderstood. no, I have a patch that fixes I'd like to have it reviewed and commented it's here: http://paste2.org/p/39784 aha. Sorry. =-) np % uniejo has left uniejo!~uniejo@langebro.adapt.dk % toddr has left toddr!d82f92fb@67.207.141.120 r28423 | smash++ | trunk: : [release] : * PLATFORMS update diff: http://www.parrotvm.org/svn/parrot/revision?rev=28423 smash; the build is killing my battery. will complete later when I have power. % AndyAway is now known as Andy masak: I'll test it, just a sec Coke: sure, thanks % diakopter is now known as diakopters_name_bad Anybody have an opinion on #55538, whether ".macro_const" should work in *.pir files? % diakopters_name_bad is now known as diakopter masak: it seems to fix it, but not in the interactive shell moritz: that's my conclusion as well it would have been nice if it did 3 days ago. but you can always put them in a .pasm file, include that from your .pir. moritz: or rather, the first evaluation in the REPL shell always works but after that, another block is involved somehow and messes up the counting masak: to increase your chances of getting the patch applied, please send it to rakudobug@perl.org moritz: will do the REPL does some funny stuff with scoping seemingly. it should work. it's not a high priority blocker. Coke, 3 days ago would have been nice, I have to wait now till after the release. The patch to fix it was trivial though Calling NCI experts... I'm writing some pir to call sqlite3 but am having problems with out parameters % MagNET has left MagNET!MagNET@Hunger.hu Does anyone know what calling convention is required for: "donaldh" at 144.254.89.228 pasted "sqlite3_open" (4 lines) at http://nopaste.snit.ch/13285 I'm reading through pdd16 and nativecall.pl but void** out parameters _seem_ to be an oversight. % MagNET has joined #parrot % uniejo has joined #parrot I think I need the reciprocal for "p" but "P" isn't that. "B" seems close but is actually string specific. % smash has left smash!~smash@bl5-75-155.dsl.telepac.pt % smash has joined #parrot Whiteknight: on RT #55538, it was spec'd but not implemented (note, pdd19 is still in draft), the patch looks reasonable thanks allison, that's why I wanted to open it up for discussion and see if I should implement it or not. I'm inclined to say that we should just because it's an easy fix and worthwhile functionality but we've gotten along just fine without it too % uniejo has left uniejo!~uniejo@langebro.adapt.dk r28424 | pmichaud++ | trunk: : [rakudo]: : * Add docs/spectest-progress.csv to track progress on passing spectests. : (I'll keep this file up-to-date for the time being.) diff: http://www.parrotvm.org/svn/parrot/revision?rev=28424 pmichaud: any chance to include the graph in your blog post? people love charts ;) * Whiteknight definitely loves charts it's attached to this mail: http://www.nntp.perl.org/group/perl.perl6.compiler/2008/06/msg1942.html moritz's url is at http://xrl.us/b7hzx sadly nntp.perl.org doesn't show attachments moritz: yes, I'm working on that. Wanted to get the data out first. pmichaud: and I'm working on modifying my script to work with the CSV data directly okay, great. Tim Bunce asked for the data in CSV format, and that seems like a reasonable happy medium for now. % particle has joined #parrot % toddr has joined #parrot % allison has left allison!~chatzilla@209.9.237.164 seen chromatic? chromatic was last seen on #parrot 17 hours and 38 minutes ago, saying: Wow, if only something could notify me every hour! and that was that % smash has left smash!~smash@bl5-75-155.dsl.telepac.pt % smash has joined #parrot grr, slow network. % davidfetter has joined #parrot % toddr has left toddr!d82f92fb@67.207.141.120 % davidrw has joined #parrot % davidrw has left #parrot pmichaud: I now updated the script. Do you want to add it to the repo? if yes, I'll add copyright information etc. nopaste? http://pasta.test-smoke.org/ or http://paste.husk.org/ or http://nopaste.snit.ch:8001/ or http://rafb.net/paste or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ rumour has it nopaste is at http://nopaste.snit.ch/ (ask TonyC for new channels) or http://rafb.net/paste or http://paste.husk.org/ or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ or don't bother me while I'm eating or App::Nopaste or tools/dev/nopaste.pl Whiteknight: i'm sitting next to chromatic, what do you need? % toddr has joined #parrot % contingencyplan has joined #parrot % particle has left particle!~particle@209.9.237.164 "moritz" at 89.13.234.141 pasted "tool for plotting t/docs/spectest-progress.csv" (40 lines) at http://nopaste.snit.ch/13286 I need you to punch him in the face. crud, he's not sitting there any more. % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net particle, I just sent him an email with questions about PMC_EXT not a big deal, don't bother him if he's busy % jrockway is now known as j_the_fuck_rockway why is rakudo.org so paranoid? first you have to log in to leave a comment, then it's still held for moderator approval % j_the_fuck_rockway is now known as jrockway % toddr has left #parrot % toddr has joined #parrot mebbe laster was getting a lotta spam. he's usually responsive if you want to ask him. s/laster/lester/ smash: Files=585, Tests=11304, 752 wallclock secs ( 4.42 usr + 1.34 sys = 5.77 CPU) Result: FAIL Failed 9/585 test programs. 11/11304 subtests failed. mingw32-make: *** [test] Error 255 :\ most of this there are already tickets for. I suppose we should TODO all those in time for the release. ok, still trying to get this to build on windows % jhorwitz has joined #parrot % masak has left masak!~user@130.238.45.242 % particle has joined #parrot % TiMBuS has left TiMBuS!~Hurf@123-243-167-27.static.tpgi.com.au r28425 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] lots of small fixes : * Fixed macros and moved definitions outside functions : * turned simple marking functions into macros : * Fixed error in pobject_lives logic for GC_IT_MARK_ROOTS state : * Updated Gc_it_hdr to cache card and flag offsets, instead of raw index numbers diff: http://www.parrotvm.org/svn/parrot/revision?rev=28425 sorry, Whiteknight, got disconnected. have anything for chromatic? nothing important, I sent him an email he can read at his leisure. "donaldh" at 144.254.89.228 pasted "patch: adding void** OUT parameter support" (30 lines) at http://nopaste.snit.ch/13287 Can someone check this patch for sanity? donaldh, for my limited knowledge of NCI, the patch looks decent Whiteknight: it certainly solves my problem with sqlite3 % gryphon has joined #parrot I'm thinking that will be good to rename include/parrot/debug.h to pdb.h to avoid confusions with compilers/imcc/debug.h and reduce dependencies. Opinions? smash: you should now have co-maint permissions on all Parrot modules in PAUSE. Let me know if you run into any problems. pmichaud: ok.. thank you pmichaud: as i look to my "view permissions" page everything looks good % particle has left particle!~particle@209.9.237.164 * japhb is back from family-visit trip, just beginning to get caught up ... msg tetragon I plan for shapes.pir to be way more than a "teapot conveyor", but that's all I had time to get ready for the current release. Message for tetragon stored. r28426 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] more small fixes : * Kill unused redirect functions : * Fix some comments : * Fix gc_it_add_arena_to_free_list to perform correct behavior : * Stop relying on sizeof(char) == 1 for pointer arithmetic (even though it's usually safe) diff: http://www.parrotvm.org/svn/parrot/revision?rev=28426 Tene: You were getting a segfault in shapes.pir? Is it still there, and do you have time to locate it with me? Coke: you're building with 'nmake' or 'mingw32-make' ? Coke: were you looking for me, or just needed my email address? (And if the latter, for what? I haven't checked my mail yet.) japhb, shapes.pir is awesome! Whiteknight: thanks. :-) MMmmm.... but sizeof(char) == 1 by definition! Whiteknight: Like I msg'ed to tetragon, I'm hoping to make it cooler still. NotFound, I don't think so. I've heard it has to be "at least" that size, but no requirement that it must always be 1 % sscaffidi has joined #parrot japhb: I never got a patch for cygwin for you - lightning took out most of my electronics. Whiteknight: sizeof return the size in byte, and the definition of byte in the C standard is the size of a char. donaldh: OUCH. I hope you were insured and backed up! both, thanks. (offsite) good! What is not required is that a byte has just 8 bits. d/smash: mingw32-make donaldh: some of your problems may have been fixed by now because of other people's requests. Care to try again? japhb, double checking our commit bit lists/emails. nbd. Coke: Ah, OK. * Coke will try to remember to do that in private, sorry. japhb: it looks like we need a 3rd platform type for windows. VC++ != MinGW != cygwin My platform ATM is strawberry perl. I also have vc++ here, but don't use it by default. donaldh: nodnod. japhb: I svn uped about 1 hour ago and still got errors. Give me a minute. donaldh: thanks. NotFound, maybe that's what I'm thinking of, the 8-bits requirement Coke: ok, thks "donaldh" at 144.254.89.228 pasted "japhb: opengl configure error" (5 lines) at http://nopaste.snit.ch/13289 donaldh: Oh, that's an easy one. (Or, well, it should be ...) Yep. % sscaffidi has left sscaffidi!~sscaffidi@209.9.237.164 donaldh: Should just be a matter of adding the standard include/GL directory for your compiler to the list in config/gen/opengl.pm in "sub runstep" Yup. I thought I'd hacked through that. % cjfields has joined #parrot Maybe if I set INCLUDE it works. I forgot. % Andy is now known as AndyAway % AndyAway has left AndyAway!~AndyL@host3130.follett.com donaldh: Which of the 3 compiler environments are you running? cygwin gcc japhb: I need /usr/include/w32api to be searched for GL/* mrf. I thought cygwin used the unix-like directories? donaldh: oh. OK, that's a fair change. give me a minute to svn up i don't believe it !!!!! i'm actually running a test on windows !! sweet smash++ japhb: Awww. That's nice. shapes.pir is running. schweet Whiteknight: 6.5.3.4 The sizeof operator. .... 3 - When applied to an a operand that has type char, unsigned char or signed char (or a qualified version thereof) the result is 1. % cjfields_ has joined #parrot so, yes, the link libs issues are already resolved. From the draft of 1998, but I think in previous versions was the same. japhb: I get a core when I quit. I'll investigate later. donaldh: perfect. OK. Give me a couple minutes to make the patch (I'm multitasking), or you can if you like. Just comment that directory glob as being for cygwin. donaldh: That's interesting ... I wonder if that's where Tene was coring ... afk for just a sec NotFound, thanks. r28427 | particle++ | trunk: : [core] remove warning for potentially uninitialized variable diff: http://www.parrotvm.org/svn/parrot/revision?rev=28427 % cjfields has left cjfields!~cjfields@newrad.igb.uiuc.edu donaldh: bak % toddr has left toddr!d82f92fb@67.207.141.120 japhb: in glutTimerFunc () from /usr/bin/glut32.dll japhb: I'd need to build glut with debugging to find the cause donaldh: odd, that howso ... since I don't use glutTimerFunc in shapes.pir (yet) r28428 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] liberally apply "const" to variables, fix 16-bit bitfields to unsigned short ints (for ease and compatibility) diff: http://www.parrotvm.org/svn/parrot/revision?rev=28428 "donaldh" at 144.254.89.228 pasted "japhb: stack trace" (51 lines) at http://nopaste.snit.ch/13290 donaldh: brb Interesting stack trace .oO( libglutcb has the nice (and unplanned) side effect of letting me see which GLUT callback occurred in C stack traces ...) donaldh: I'm confused by that trace ... it almost looks as if GLUT on Win32 is internally setting timers in order to keep idle events working. r28429 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] redo gc_it_get_free_object to use current data structures. initialize parent_pool pointer of all objects in initialization routine instead. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28429 Hmmm, I wonder if that's true cross-platform, and I just didn't notice before. summon Tene japhb: that could be. who wants to write something that will email the user when summon is used? % jhorwitz has left jhorwitz!~chatzilla@209.9.237.164 japhb: sorry I need to go. donaldh: fair enough. At least we got things to *run* for you, even if it crashes at exit I'll look into the why when I get a chance. pmichaud: Looks like we get all of our talking done on the first day of YAPC::EU. % donaldh has left donaldh!~chatzilla@proxy-sjc-1.cisco.com jonathan: and i'm the the first one Yes, I noticed. That track is Perl 6 and Parrot for much of the day. % slightlyoff has joined #parrot * smash nods. japhb: I'll be around shortly. % davidfetter has left davidfetter!~chatzilla@start.fetter.org Tene: thx Just waking up. Still need to shower, scrollback, email. Tene: I've got about 3 days of scrollback and email to address, so I feel your pain. I've got 7 hours. Okay, starting X, will test again shortly. japhb: Yes, it still segfaults, and I have a few minutes. Tene: at exit, or startup? startup. does not display any window. lemme nopaste purl: nopaste? i guess nopaste is at http://nopaste.snit.ch/ (ask TonyC for new channels) or http://rafb.net/paste or http://paste.husk.org/ or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ or don't bother me while I'm eating or App::Nopaste or tools/dev/nopaste.pl k "tene" at 67.182.199.217 pasted "shapes.pir" (5 lines) at http://nopaste.snit.ch/13291 r28430 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] several fixes: : * Simplify "sweep" phase mechanics in the state machine WTF? That doesn't look like a bug in my code. That looks like a Parrot bytecode bug of some sort : * Fix private function prototypes to use "static" : * Redo gc_it_enqueue_next_root for more efficient and sane handling of non-aggregate root items : * Update card resetting function name and comments diff: http://www.parrotvm.org/svn/parrot/revision?rev=28430 Tene: are you running something other than trunk? japhb: plain vanilla trunk, just did a fresh checkout. I'm on x86_64 fedora OK, that's really freakish Let me svn up and rebuild Hm, triangle.pir does the same thing. hmm. I'm getting "freeglut (examples/opengl/triangle.pir): ERROR: Internal error in function fgOpenWindow" * Infinoid wonders what he broke. Given the failure, I'm not surprised. As far as I can tell, the OpenGL code hasn't even begun to run at that point, it's the bytecode unpacker failing. (That was to tene) Infinoid: that's ... odd. Infinoid: I could sortof imagine that happening in shapes.pir, but not triangle.pir. triangle.pir is about as dead simple as possible. oh, glxinfo reports errors too. let me fix my system libraries first, then I'll be back :) (intentionally -- it's supposed to be the 00-sanity of the OpenGL code) Infinoid: gotcha. % allison has joined #parrot * Infinoid is going through spinning triangle withdrawl Infinoid: heh * Tene does actual clean checkout, just to try pois ups, sorry Ah. japhb: in a new checkout, not just realcleaned, I get: error:imcc:No such file or directory in file 'examples/opengl/triangle.pir' line 26 Which is opengl_defines.pasm In Makefile.PL, I get: Generating OpenGL bindings.........................................skipped. Tene: OK, now your error is making sense What did the autodetection say? japhb: how can I see that? rerun Configure.pl What line am I looking for there? You should see a line "Determining if your platform supports OpenGL...." "no" That would be the problem, right there. :-) Have you rebuilt your box recently? * Tene tries "freeglut-devel" Tene, oh yeah, that would be needed, yes Yeah, works now. Sorry to waste your time. Tene: no problem! OK, lessee ... Tene er Tene's problem fixed, Infinoid fixing his box, donaldh getting weird segfault on exit (ooh, I think I have a workaround in my head for that one), ... Is that everyone with OpenGL problems? that shape example runs fine for me ;) Wish I'd had time to finish it for this release, but I guess that will happen in the next release cycle % toddr has joined #parrot % cognominal has joined #parrot languages/perl6/docs/spectest-progress.csv is failing codetest % toddr has left toddr!c6251436@67.207.141.120 % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % cotto_yapc has joined #parrot % toddr has joined #parrot % toddr has left toddr!d82f92eb@67.207.141.120 r28431 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] add a scan minimum, in case we enqueue a very shallow tree. Separate out code for selecting serial/parallel modes into it's own function. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28431 % cotto_yapc has left cotto_yapc!~cotto@209.9.237.164 % toddr has joined #parrot % Ivatar has joined #parrot % barney has joined #parrot % packy has joined #parrot % cognominal has left cognominal!~cognomina@82.67.232.89 % cognominal has joined #parrot % Zaba has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % packy has left packy!d82f8b90@67.207.141.120 % toddr has left toddr!d82f92eb@67.207.141.120 % barney has left barney!~bernhard@dslb-084-058-116-085.pools.arcor-ip.net % toddr has joined #parrot % toddr has left toddr!d82f92eb@67.207.141.120 % toddr has joined #parrot % dolmen has joined #parrot r28432 | pmichaud++ | trunk: : [rakudo]: : * SVN property fix on spectest-progress.csv . diff: http://www.parrotvm.org/svn/parrot/revision?rev=28432 % AndyA_ has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % deven has joined #parrot % smash has left smash!~smash@bl5-75-155.dsl.telepac.pt % purl has left purl!purl@sentient.life % purl has joined #parrot % cotto_yapc has joined #parrot r28433 | pmichaud++ | trunk: : [rakudo]: : * Update Complex as subclass of Any, add .perl method (dolmen++) : * Patch RT#55872 courtesy Olivier Mengu : (with minor changes by pmichaud) diff: http://www.parrotvm.org/svn/parrot/revision?rev=28433 r28434 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] bunch of small changes, mostly comments diff: http://www.parrotvm.org/svn/parrot/revision?rev=28434 % cotto_yapc has left cotto_yapc!~cotto@209.9.237.164 % cotto_yapc has joined #parrot % smash has joined #parrot % cotto_yapc has left cotto_yapc!~cotto@209.9.237.164 % coke_ has joined #parrot % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com % coke_ is now known as Coke2ElectricBoogal % integral has left integral!bsmith@adsl-212-20-244-147.lumison.co.uk % integral has joined #parrot pmichaud: ping. pong. I've got two questions. I want to write a CPP grammar that is only parses a line at a time. Should I split the input file into lines and then feed them to PGE a line at a time? that would probably work, yes. Would the interactive features of HLL, help at all here? whether that's the best approach or not -- I don't know. I'd have to play with it. You can define TOP as + and then have rule line {} define the real grammar % AndyA_ has left AndyA_!~andy@82.152.157.85 Its not interactive, but because of #include the input stream can dynamically change. :) I don't think interactive parts of HLL would be of much use, no. Could I write a C preprocessor in rakudo as it stands today? Depends on what you want from the C preprocessor. Certainly if there's a feature missing we could see about quickly adding it. tewk: someone could, I don't know if *you* can ;-) r28435 | smash++ | trunk: : [release] : * skip a couple of tests that are failling because deprecated opcodes are being used diff: http://www.parrotvm.org/svn/parrot/revision?rev=28435 I basically need to read files, parse lines using grammars, and be able to call pir functions. % sjansen has joined #parrot I was about to write my custom CPP in PIR, but that just seemed laborious given rakudos progress. tewk: so ... are you not going to use PCT but rather rakudo itself? r28436 | pmichaud++ | trunk: : [rakudo]: : * Make rakudo's grammar slightly closer to STD.pm (expect_term). diff: http://www.parrotvm.org/svn/parrot/revision?rev=28436 ... damnit, I just spilled my salad all over the chair and floor of my room. :| % Coke2ElectricBoogal is now known as Coke CPP isn't really a language. I'm not sure if PCT will be much help. pmichaud: how far away are we from implementing methods in p6? s/methods/rakudo methods/ % AndyA has joined #parrot I find that statement odd "cpp isn't really a language", but since you're the one doing the work, however you want to look at it :) tewk: btw, have I told you congrats on the grant yet? if not, tewk++ Its a text macro language, kinda like m4 or tcl. * Coke glares at tewk. "IS TOO!" tewk: sure, but it's still a language that requires parsing and some semantics associated with the syntax. tewk: I'm just wondering where the dividing line is between "a langauge" and "not really a language" by this definition I propose php is not really a language that reminds me of that "dynamic languages strike back" talk, where the definition of "dynamic languages" was "by definition, languages like perl, python, ruby, javascript, ..." haha dynamic languages are languages that are like other dynamic languages % cotto_yapc has joined #parrot So the only way to define dynamic languages is by listing all? % askie has left askie!~askie@81.171.100.208 NotFound: no, but it's the funniest way ;) common characteristics are run-time typing, eval(), closures, garbage collecting etc. % Casan has joined #parrot % jhorwitz has joined #parrot cjfields_: (methods in p6) -- I thought I was going to have it working this past weekend, but there are some issues with parrot's :load :init semantics. so I need some time to map it all out in my head. (or in front of a white board or something.) morning everyone. pmichaud, Is there anything like 'C++ constructors' for protoobjects? e.g. code executed on "new 'List'". % cotto_yapc has left cotto_yapc!~cotto@209.9.237.164 pm: I'm looking at rt55184. The patch provided in the ticket does seem to fix the problem stated, but should parrot perl6.pbc -e '{ $_ }' do the same thing or does the presence of $_ automatically parameterize the code block? never mind, found the answer in S04 pmichaud: ok. I have a couple of p6-based implementations (including trans). I'll submit to them to RT when I get them passing tests. pj: I'm rejecting 55184. I don't like the way rakudo is (over)using the __VARIABLE_FLAGS . % IllvilJa has joined #parrot it reminds me of 'infix:,' -- it's a meme that's being cargo culted in too many places to patch (not fix) the original problems. pmichaud: Can I prematurely end a parse with pge returning the current match and character position.? tewk: for what purpose? (short answer 'no', but depending on what you want to do there's likely another approach) % sjansen has left sjansen!~sjansen@hq-nat2.gurulabs.com bacek: (constructors) that's method .new e.g., List.new(parameters) r28437 | coke++ | trunk: : [examples] : Convert one of the older PASM example files (with opcodes that were removed) pmichaud: When I hit a #include I need to change the source stream, Can I do that in a parse action? : into a functional PIR version. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28437 you could potentially alter the current string being matched and then pick up from the same location. it probably can be done from a parse action also. % jhorwitz has left jhorwitz!~chatzilla@209.9.237.164 % bacek_ has joined #parrot % Ivatar has left Ivatar!~graham@tu055.demon.co.uk % bacek_ has left bacek_!~bacek@123-243-38-218.tpgi.com.au % hachi has left hachi!hachi@cpan.org % hachi_ has joined #parrot % cotto_yapc has joined #parrot % Zaba_ has joined #parrot % cjfields_ has left cjfields_!~cjfields@cjfields.igb.uiuc.edu pmichaud, thanks a lot! % hachi_ is now known as hachi % iblechbot has left iblechbot!~iblechbot@ppp-62-216-222-142.dynamic.mnet-online.de % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru smash: I'm resurrecting your dead tests. % toddr has left toddr!d82f92eb@67.207.141.120 (topic transfered from #hackathon) -- one of the things I was thinking we might cover during the hackathon was "brainstorming ideas for HLL interop, library management". It didn't happen -- we were all busy. (more) should we try to schedule a time to discuss that -- perhaps a miniBOF of some sort? % sjansen has joined #parrot % gmansi has left gmansi!~gmansi@190.55.35.246 % askie has joined #parrot pmichaud, .new doesn't work... ".namespace['List'] .sub '.new' :method say 'Hello' .end list = new 'List'. pmichaud, what I did wrong? bacek: That's because one has to use the protoobject to do that. $P0 = get_hll_global 'List' list = $P0.'new'() r28438 | coke++ | trunk: : Convert another very old, broken PASM test into modern pir. : The last converted test should have used PMCs, not ints, fix that up. Add pmichaud, ok... It's just too many places with 'new List'. : some comments to the description to clear that up. : All tests in t/benchmark/benchmarks.t now pass without TODO. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28438 sometimes we want 'new List'. Sometimes we'll want listproto.'new'() it depends on the operation. (and sometimes we'll want 'list'(...) ) :-) pmichaud, I always want 'listproto.new()' for initialize lazy list :) well, 'list'() will create a lazy list also. Even new List will create a lazy list. pmichaud, indeed. all lists will be lazy. pmichaud: We can bof it, but I doubt more than the usual crowd wills how. (doesn't hurt to ask.) well, I'm more interested in getting "the usual crowd to show" than trying to advertise widely. But I need some internal initialization to avoid checks during execution so I'm not sure I want to call it a BOF. bacek: avoid checks? pmichaud: belt and suspenders we can do both. put it on the bof schedule and send an email to the list. pmichaud, yes. E.g. 'do we have initialized list of generators'? (like allison just did) I'm wondering a good time. ... ok. now that THOSE shiny tests are fixed... pmichaud: well, I have bofs from 5:30 to 7:30 tonight. after that "OMG HUNGREE" bacek: I don't think we need to worry about 'initialized list' coke: I have the same bofs. I could ask at the parrot foundation bof. pmichaud, another stupid question: how I can 'decorate' RPA methods in List? ...decorate? shift_pmc from List can generate new value. bacek: I don't understand. (I understand that shift from List can generate a new value... I don't understand what your question is getting at.) pmichaud, List is (evaluated, generators) tuple. yes. r28439 | smash++ | trunk: : [release] : * skip some tests failling on win32 for scheduled release diff: http://www.parrotvm.org/svn/parrot/revision?rev=28439 % cotto_yapc has left cotto_yapc!~cotto@209.9.237.164 pushing item in List can be in any of this RPA depending of current state. pushing an item in list simply adds it to the generators tuple. Hey. What about premature optimisation!? :) hmmm? if we pushing scalar and list completly evaluated we can push directly to evaluated RPA Coke: skipped a couple of tests on win32, think you can svn up and mingw32-make test on your machine ? do we need to do that at the time of the push? Why not do it when we need it? i.e., is there an advantage to doing that at the time of the push? less work on get_pmc_keyed. why? I mean, how is that less work? % kid51 has joined #parrot omit dummy 'evaluation' I still don't understand. So, what do I need to know about trying to bring files into parrot that are GPL-licensed? Example: if list is ((1,2), (3..5)) pushing element 'a' will produce ((1,2), (3..5, 'a')). Its fine bacek: isn't it ((1,2), (3..5), 'a') ? But if list is ((1,2,3,4,5), ()) pushing element 'a' can produce ((1,2,3,4,5,'a'), ()) and list[5] can directly access new element perljam: I think he's looking at it as a (evaluated, generators) tuple. pmichaud, yes. It is oh bacek: yes, but you're incurring the cost at the time of the push instead of at the time of the [] r28440 | jkeenan++ | trunk: : Applying patch submitted in : http://rt.perl.org/rt3/Ticket/Display.html?id=55566. config/init/hints.pm overall it's the same cost. : will no longer die when failing to find a hints file for an unknown OS. It : will assume that this is an OS Parrot has never been configured on before and : attempt to DTRT. Nathan Gray++ for our first attempt on GNU Hurd. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28440 on the push, we have to check that generators is empty and that the item being pushed is scalar however, if we just put it on generators, then on the [] we incur the cost only if evaluated is empty sorry, only if evaluated doesn't have enough elements but either way we have to check that either generated or evaluated is empty at some point I'd prefer to do it at the point of the [], since that has to do it *anyway* there's also the very real possibility that we'll never use [] after a push pmichaud, I actually check '$!pos' which is 'pos-after-evaluated-end' which would mean that we will have incurred the overhead of checking the generated array and the pushed value type for no reason % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net pmichaud, ok. got the point. so in this case, it's definitely a "premature optimization." In fact, it might not even be an optimization. :-) :) Ok. one thing to remember is that array indexing really ought to be far less common than iterating and shift and push and the like and even in the case of using [] to look at elements in a List, there are many cases where we'll stop before we ever reach the end. It's just too many points in code, where "dummy C style iterating over List" used. I'm getting rid of those where I can -- I don't know how they got in there. (I didn't write them.) I already eliminated them for grep, map, and the like. (about []) yes... But almost all of this access invoke 'elements List' before. So it require full evaluation we can actually compute the number of elements without having to fully evaluate everything. pmichaud, they are not in List itself. oh, you mean in Perl 6 code? pmichaud, yes. I can only point to the synopses that say that 'for' is the proper way to iterate over things. :-) if someone wants to write improper code, I'm not necessarily going to optimize for it. :-) loop works :) so does for @list.kv -> $index, $value { ... } so there's not much point in even using @list[$index] any more, except on something that has already been generated. % cotto_yapc has joined #parrot pmichaud, +1. pmichaud, ok. I have almost fully implemented lazy list. It requires a bit of polish. bacek: okay, I'll take a look at it when it's ready. Right now I need to rip out the $_ and $! guts and get those working. pmichaud, probably tonight. My tonight :) any of you going to the TPF grant "bof"? It supposedly starts in 10 min. but lazy lists is going to be an area where I'm going to be pretty picky that it be done "the right way" (according to my definition of "right" :-) I am. bacek: you might look at what I ended up in pugs/src/perl6/LazyMap.pm for reference; I had to polish it quite a while already... Have to go. TimToady, thanks. I'll take a look. r28441 | jkeenan++ | trunk: : Reverting patch applied in r28390. Todd Olson's bug report is still valid, : but first attempt at remedying it didn't completely cleanly. So am backing it : out until after 20080617 release. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28441 afk # kids->school, self->$dayjob PerlJam: particle will be attending that BOF. Am currently applying patches, but hope to go out for dinner after that BOF winds up. immediately after that BOF is the Parrot Foundation BOF. and time for me to go. afk # BOF r28442 | jkeenan++ | handledarwin: : Creating handledarwin in https://svn.perl.org/parrot//branches diff: http://www.parrotvm.org/svn/parrot/revision?rev=28442 does parrot support something like tied variables? callbacks on variable accesses? for some reason "bof" always makes me think of Beaker from the Muppets and I want to say "bof bof bof" But that might be confused with something else :) r28443 | jkeenan++ | handledarwin-28441: : Tagging trunk at r28441 so that the handledarwin can later be synched to it. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28443 % cbrandtbuffalo has joined #parrot % teknomunk has joined #parrot japhb: ping "Infinoid" at 96.238.213.50 pasted "Parrot breaks my opengl!" (123 lines) at http://nopaste.snit.ch/13294 % ruoso has left ruoso!~ruoso@a83-132-162-99.cpe.netcabo.pt Infinoid: "Here I am!" (Doing my best WildFire impression) % cbrandtbuffalo has left cbrandtbuffalo!~cbrandt@ellvpn14-209.cit.buffalo.edu % cjfields has joined #parrot japhb: this is just weird... WTF?!? OK, does the same truly evil behavior happen with triangle.pir? seems to, judging from what happened last time, but I'd have to reboot to be sure. I doubt it's parrots fault, but I am fresh out of Clue So a reboot fixes everything, no need to make other system changes? a reboot fixes glxinfo, that's all. parrot still doesn't work, and some side effect of it takes everything else out OS/Platform? linux (gentoo)/x86-64 murf. after work I'll try futzing around with the xscreensaver opengl hacks, to see whether anything else runs. It sounds like somehow DRI is getting hosed. yeah. I'd never seen anything like it. I do note that that is an RC version of Mesa you're running ... Intel DRI bug in the beta code, perhaps? % allison has left allison!~chatzilla@209.9.237.164 What about glxgears? possibly. its actually a git build same version that made your header parser barf :) * japhb chuckles gonna reboot after work and try glxgears, but first, gotta work nodnod let me know. thanks! np! % cjfields has left cjfields!~cjfields@cjfields.igb.uiuc.edu % sjansen has left sjansen!~sjansen@hq-nat2.gurulabs.com r28444 | smash++ | trunk: : [release] : * make t/codingstd/pdd_format.t happy diff: http://www.parrotvm.org/svn/parrot/revision?rev=28444 seen particle? particle was last seen on #parrot 7 hours and 15 minutes ago, saying: sorry, Whiteknight, got disconnected. have anything for chromatic? r28445 | smash++ | trunk: : * fix white trailling spaces diff: http://www.parrotvm.org/svn/parrot/revision?rev=28445 .oO( It's the maroon trailing spaces you really need to avoid, of course ... ) * kid51 at this point is seeing polka dots in his trailing spaces :) % tetragon has joined #parrot Hola tetragon! Hi salut, tetragon. r28390? bah Haven't tried that revision yet Anyone know if there's a syntax that one of the bots will respond to that will convert a revision number to a diff link? (A parallel syntax for RT ids would be nice too.) tetragon: I was just trying to talk to a bot. :-) i had a bot that did it for a while, but it's unreliable japhb: And your teapot conveyor needs more teapots tetragon: The next planned things are a particle effect and a 3D Lissajous animation ... japhb: well, there's http://irclog.perlgeek.de/parrot/today which has the diff links from Rxxx japhb: Make a commit, then edit the URL that gets output here The particle effect will test PIR-generated texture buffer contents, and the Lissajous (and possibly particle effect) will test NCI calls with pointers into the middle of a buffer. I'm trying to make sure my OpenGL wrappers allow PIR to do anything C can do with OpenGL. diakopter: So just randomly refer to a rev number, then look at the irclog? Nice idea ... bound to confuse the heck out of other live IRC users. Perhaps if I prefix with 'logbait:' tetragon: I ended up doing something similar with someone else's commit. ;-) * japhb wonders how close we could get to passing a Turing test if we merged all the smarts from all of the IRC bots in existence ... what does make fulltest do that make test doesnt? Whiteknight: from a grep, it looks like that answer varies depending on whether you are referring to Parrot or Rakudo. japhb, parrot Well, if the docs are to be believed, Parrot's 'fulltest' reruns the test under different runcores. okay, that explains why it keeps looping % Maddingue has left Maddingue!~Maddingue@profane.mongueurs.net % Maddingue has joined #parrot % Casan has left Casan!~IceChat7@users163.kollegienet.dk Whiteknight: Yes, that is what 'make fulltest' does. So it's something we need to do before releases, but not necessarily otherwise. % bacek_ has joined #parrot kid51, I'm running it now, doing my part for the release Whiteknight: Very good. t/benchmark/benchmarks is killing me! this is taking forever! I think it's the gc-debug core, so that's not good kid51: Any idea when the -arch patch can make it in? I seem to remember that that test had failures last month ... but I don't think it's an obstacle to release. Has a version number been decided for the release tomorrow? It looks like the NEWS updates are very incomplete, but unless there's earth-shattering stuff, I'm guessing 0.6.3 ... s/stuff/stuff not yet entered in NEWS/ % magnachef__ has joined #parrot % cotto_yapc has left cotto_yapc!~cotto@209.9.237.164 is there any last minute stuff that needs a lookin' at? tests? documentation? % magnachef__ has left magnachef__!~dmagnus@bflo.corp.synacor.com % kid51 has left kid51!kid51@feather.perl6.nl % AndyA has left AndyA!~andy@82.152.157.85 Whiteknight: well, the NEWS entry for the new release needs to be filled in. I've never done a NEWS entry, but I've got a lot of free tuits tonight % AndyA has joined #parrot Might be worth making a pass over the commit messages and pulling out obvious stuff. Just match the level of detail seen in previous updates. r28446 | Whiteknight++ | trunk: : [NEWS] add notes about pdd09 updates and gc-system function/macro name updates diff: http://www.parrotvm.org/svn/parrot/revision?rev=28446 pmichaud: ping didn't pmichaud implement the return PAST functionality this month? that's a big deal worth mentioning i'm guessing that he forgot (again) to update news :-) i'll add a version of it now, he can embellish it later great r28447 | Whiteknight++ | trunk: : [NEWS] add stub note about "Return" PAST.op node type, details can be filled in if needed. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28447 % bacek_ has left bacek_!~bacek@mcas-151.usr.optusnet.com.au Looks like t/op/sprintf.t 157 is unexpectedly succeeding on my box tetragon: windows ? it has been said that windows is still starting up ... time to go read another issue of Vagina magazine and count gonads and lymph nodes, shaved, furry, stubbly, waxed, firm, fake, who cares, just open wide (surprise!) smash: OS X 10.5.2, ppc purl: forget windows smash: I forgot windows it should only be skipping that test on windows Whiteknight: the pdd09_gc function/macro updates that you mention in Miscellaneous might belong in Implementation instead. It's not skipping, it runs japhb, easy fix. I'll move it msg particle Backlogging, it looks like your improvements to mk_language_shell.pl deserve a mention in NEWS. Message for particle stored. * tetragon notices that 10.5 gives low disk space warnings with much more free space left than 10.4 r28448 | Whiteknight++ | trunk: : [NEWS] move gc-related stuff under "implementation" instead of "miscellaneous" diff: http://www.parrotvm.org/svn/parrot/revision?rev=28448 msg pmichaud pm, please do not forget to update NEWS. % purl has left purl!purl@sentient.life * smash grins smash: My system's printf manpage specifically mentions C99 % cotto_yapc has joined #parrot tetragon: ahh, ok.. that one is skipped for everyone because fails on windows (looking at file now) % magnachef_ has joined #parrot msg chromatic here is a parrot crash case: perl -e 'print "class Foo;\n" x 3;' | ../../parrot perl6.pbc smash: ok 157 # TODO [%.0g] C99 standard mandates minus sign but C89 does not skip: MSWin32 VMS hpux:10.20 openbsd netbsd:1.5 irix yeap, but if fails on windows.. and i can't skip it on t/op/sprintf.t based on OS % dolmen has left dolmen!~dolmen@cho94-1-81-57-157-99.fbx.proxad.net wait, maybe i can It still unexpectedly passes if I remove any mention of skipping from it % davidfetter has joined #parrot % Zaba has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru i have to go, i'll take another look at it tomorrow * smash wavez % smash has left smash!~smash@bl5-75-155.dsl.telepac.pt msg chromatic Is your IMCC work (such as the register allocator improvements) NEWS worthy? Ooops, no purl ENOPURL IM IN UR IRC CHANNL, LOOKIN' 4 PURL Whiteknight: ping dolmen: ping japhb: yes, probably. He's out to dinner atm, though, so an attempt to summarize on his behalf woudl be most welcome. % TiMBuS has joined #parrot so, boardgame bof. Hook me up. ww pong? i've never been pinged before, I dont think. This is an occasion to remember! Whiteknight: parrot does not, SFAIK, have a mechanism to fire off callbacks on pmc vtables. so if you do a "set_integer_native", e.g., there's no hook. Tcl needs this, so it's got to go in eventually,k but I don't think you can do it yet. so tied variables would need to be performed at the HLL-level? ATM. so it's expected that we will do this in Parrot eventually? with "eventually" > "Parrot 1.0" possibly? it's expected by me, anyway. okay. it's something I would like to see too, for what my opinion is worth perl coders without all sorts of creepy active data aren't happy perl coders % DietCoke has left DietCoke!~coke@cpe-72-228-52-192.nycap.res.rr.com Coke: I might be able to do the summary later, but can't do it right now ... family visiting % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % gmansi has joined #parrot hokay % ruoso has joined #parrot % DietCoke has joined #parrot r28449 | coke++ | trunk: : RT #40204 : Add a TODO'd regression test for the failing behavior. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28449 updating NEWS now. % slightlyoff_ has joined #parrot pmichaud, I added in a stub about your work on the "return" opcode, i'm sure you need to rewrite/expand that yes, thanks. updating it now. :-) % slightlyoff_ has left #parrot % Casan has joined #parrot % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 seen chromatic? r28450 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] proper use of PObj_*_TEST flag checking macros, instead of direct bitwise access to the PObj flag field myself. Update comments diff: http://www.parrotvm.org/svn/parrot/revision?rev=28450 I have not seen chromatic since 7 or so. but I'm on teh second floor. he might be downstairs. he was at dinner, we got back about 30 mins ago % cjfields has joined #parrot r28451 | pmichaud++ | trunk: : Update NEWS. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28451 my problem is that the more I code, the more little questions I come up with. If he's around I can get the right answers, if not, I'll fabricate the wrong ones :) r28452 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] prevent duplicate items from being marked. An item cannot be added to the grey list if it is already grey, black, or free. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28452 % Auzon has left Auzon!~ak9@24-171-76-148.dhcp.mtvr.il.charter.com can rakudo read from stdin or a file or anything yet? (it's dumb but I want to try ita's movie puzzle in perl 6) r28453 | coke++ | trunk: : [codingstd] : Remove useless SKIP block. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28453 Eevee: yes, both =$*ARGV and =$*STDIN both give me get_iter() not implemented in class 'Undef' clearly I am dumb I'll check on it in a couple of hours, if you'll still be here. r28454 | coke++ | trunk: : [codingstd] : Remove commented out code. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28454 may be asleep by then, but thanks I will fiddle I know at least that open() works $*IN $*ARGS oh :V $*ARGS is alsoUundef pretend I replaced the right char there also prefix:<=> in item context doesn't appear to work but for $*IN works, thanks % hachi has left hachi!hachi@cpan.org any way to split()? % hachi_ has joined #parrot on a regex or a constant string? either $str.split(' ') gives me no applicable methods must not be implemented yet. rakudo: say 'aba'.split('b') uh % tetragon has left tetragon!~seneca@76-10-168-196.dsl.teksavvy.com try that on #perl6 odd, worked really? maybe it's set up to msg directly back to the user here rakudo: say 'A'..'Z' at a glance I don't see evalbot here perl6: say 'aba'.split('b') OUTPUT[aa␤] aha! % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru ah perl6: say 'A'..'Z' OUTPUT[ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBVBWBXBYBZCACBCCCDCECFCGCHCICJCKCLCMCNCOCPCQCRCSCTCUCVCWCXCYCZDADBDCDDDEDFDGDHDIDJDKDLDMDNDODPDQDRDSDTDUDVDWDXDYDZEAEBECEDEEEFEGEHEIEJEKELEMENEOEPEQERESETEUEVEWEXEYEZFAFBFC ..FDFEFFFGFHFIFJFKFLFMFNFOFPFQFRFSFTFUFVFWFXFYFZGA... % Zaba has joined #parrot whoa why are the ranges failing like that? is it bad bounds detection, or something worse? not sure, I filed in in perl6 RT perl6: say 'A'..^'Z' OUTPUT[ABCDEFGHIJKLMNOPQRSTUVWXY␤] that works, though pmichaud: any ideas on rt#55916? (demo'd above) hm perl6: my $foo = 'aba'; say $foo.split('b'); OUTPUT[aa␤] perl6: my @foo = 'aba'.split('b'); say @foo; OUTPUT[aa␤] perl6: my $bar = 'aba'; my @foo = $bar.split('b'); say @foo; OUTPUT[aa␤] perl6: my @foo = ('a','a'); say @foo; OUTPUT[aa␤] perl6: "eeeek".say OUTPUT[eeeek␤] it seems to only not work if the string I'm calling .split on is from an io iterator if I replace it with an array it works fine even though $_.WHAT is Str there are a few instances of that. perl6: my $a = 'A'; my $y = 'Y'; say $a..$y; OUTPUT[ABCDEFGHIJKLMNOPQRSTUVWXY␤] perl6: regex Test {(A)(Y)}; 'AY' ~~ Test; my $a = $0; my $y = $1; say $a..$y; OUTPUT[increment() not implemented in class 'String'␤current instr.: 'postfix:++' pc 10902 (src/gen_builtins.pir:7263)␤called from Sub 'parrot;Range;shift' pc 4485 (src/gen_builtins.pir:3062)␤called from Sub 'parrot;Range;list' pc 4453 (src/gen_builtins.pir:3044)␤called from Sub ..'parrot;List;!flatten' pc 2225 (src/gen_builtins.pir:1594)␤called f... % tetragon has joined #parrot oh, does parrot have its own string type that's not quite a Str? because I think that might be what =$fh returns % hachi_ is now known as hachi parrot has 'string' how could I get a Str out of that in PIR % Zaba_ has joined #parrot perl6: say 'A'..^'Y' OUTPUT[ABCDEFGHIJKLMNOPQRSTUVWX␤] perl6: say 'A'..^'Z' OUTPUT[ABCDEFGHIJKLMNOPQRSTUVWXY␤] perl6: say 'A'..'Z' OUTPUT[ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBVBWBXBYBZCACBCCCDCECFCGCHCICJCKCLCMCNCOCPCQCRCSCTCUCVCWCXCYCZDADBDCDDDEDFDGDHDIDJDKDLDMDNDODPDQDRDSDTDUDVDWDXDYDZEAEBECEDEEEFEGEHEIEJEKELEMENEOEPEQERESETEUEVEWEXEYEZFAFBFC ..FDFEFFFGFHFIFJFKFLFMFNFOFPFQFRFSFTFUFVFWFXFYFZGA... perl6: say 'A'..'X' OUTPUT[ABCDEFGHIJKLMNOPQRSTUVWX␤] icky, huh? perl6: say 'A'..'z' uh oh well, it's not even-odd failures, it's never easy I think you broke it I'm trying to figure that out too but debugging pir is harder when one doesn't know pir * Whiteknight apologizes No output (you need to produce output to STDOUT) wow i wonder how much output was produced on STDERR you might have segfaulted it I've had rakudo die when trying to say a whole lot perl6: say 'z'..'A' OUTPUT[␤] perl6: say 'a'..'z' OUTPUT[abcdefghijklmnopqrstuvwxyzaaabacadaeafagahaiajakalamanaoapaqarasatauavawaxayazbabbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzcacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczdadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzeaebecedeeefegeheiejekelemeneoepeqereseteuevewexeyezfafbfc ..fdfefffgfhfifjfkflfmfnfofpfqfrfsftfufvfwfxfyfzga... okay, well we know it doesnt discriminate on different cases perl6: say 'a'..'y' OUTPUT[abcdefghijklmnopqrstuvwxy␤] perl6: say '0'..'9' OUTPUT[01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889␤] perl6: say 'y'..'z' OUTPUT[yzaaabacadaeafagahaiajakalamanaoapaqarasatauavawaxayazbabbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzcacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczdadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzeaebecedeeefegeheiejekelemeneoepeqereseteuevewexeyezfafbfcfdfefffgfhfifjfkflfmfnfo ..fpfqfrfsftfufvfwfxfyfzgagbgcgdgegfggghgigjgkglgm... perl6: say '0'..'8' OUTPUT[012345678␤] % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru I think I opened a big can of worms Okay, the range isn't understanding class limits. perl6: say 'z' < 'z' OUTPUT[0␤] er perl6: say 'z' lt 'z' OUTPUT[0␤] perl6: say '9'..'0' OUTPUT[␤] Range doesn't yet recognize 'aa' as coming after 'z'. perl6: say 'aa' gt 'z' range doesnt yet recognize 'z' as a limit, only as a suggestion OUTPUT[0␤] perl6: say 'x'..'z' OUTPUT[xyzaaabacadaeafagahaiajakalamanaoapaqarasatauavawaxayazbabbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzcacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczdadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzeaebecedeeefegeheiejekelemeneoepeqereseteuevewexeyezfafbfcfdfefffgfhfifjfkflfmfnf ..ofpfqfrfsftfufvfwfxfyfzgagbgcgdgegfggghgigjgkglg... so, after incrementing 'z', it gets 'aa' and since 'aa' is not yet past the end marker it keeps going. but shouldn't the iterator stop when reaching .to? it should stop when going *past* to. we can't check for 'to' exactly. pmichaud is correct so that's the problem, that it doesnt know 'z' < 'aa'? so the problem is in Str's lt nooooo because 'aa' lt 'Z' we need some specialized Range code for string ranges. oh, boo, you're right. it's late. from S03: If a range is generated using a magical autoincrement, it stops if the magical increment would "carry" and make the next value longer than the "to" value, on the assumption that the sequence can never match the final value exactly. Hence, all of these produce 'A' .. 'Z': 'A' .. 'Z' 'A' .. 'z' 'A' .. '_' 'A' .. '~' how do I test for class in pir or, wait * Eevee scratches head hacking in something special for strings seems gross I don't have a better solution at the moment. but at least it's easily factored i.e., it can be handled in the '!to_test' method 'night all! % cjfields has left #parrot % ank has joined #parrot my $y = $x; $y++; making $y less than $x is.. probably less than ideal.. hm perl6: say 1..4.5 OUTPUT[1234␤] perl6: say 10..0 OUTPUT[␤] perl6: say 10..10 OUTPUT[10␤] need sleep... bbl r28455 | pmichaud++ | trunk: : [rakudo]: : * Make 'a'..'z' and other string magic autoincrements work. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28455 oh ha I was trying to fix it % purl has joined #parrot % tetragon has left tetragon!~seneca@gw-312-705.somanetworks.com pmichaud: still around? nope. oh you went to bed ping anyone :( I can't find anyone in the DNS. yes? http://pastebin.com/m426a6234 fixes io handles not producing perl 6 strings if you or someone has a commit bit % tetragon has joined #parrot alas this was in vain anyway; rakudo segfaults not very far into the movie list r28456 | chromatic++ | trunk: : [distro] Updated NEWS per my commits. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28456 r28457 | coke++ | trunk: : [distro] : Ignore some new generated files. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28457 % tetragon has left tetragon!~seneca@gw-312-705.somanetworks.com % tetragon has joined #parrot % DietCoke has left DietCoke!~coke@cpe-72-228-52-192.nycap.res.rr.com Eevee: still up? A direction away from the center of gravity of a celestial object. or the y-axis, unless you're using a strange coordinate system. % Zaba has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % tetragon has left tetragon!~seneca@216.126.67.44 % tetragon has joined #parrot % slightlyoff has joined #parrot % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % iblechbot has joined #parrot % uniejo has joined #parrot % cotto_yapc has left cotto_yapc!~cotto@209.9.237.164 % rblackwe has left rblackwe!rblackwe@where.is.allmydata.net % rblackwe has joined #parrot % contingencyplan has left contingencyplan!~contingen@cpe-76-186-27-146.tx.res.rr.com % TiMBuS has left TiMBuS!~Hurf@123-243-167-27.static.tpgi.com.au % iblechbot has left iblechbot!~iblechbot@ppp-62-216-196-245.dynamic.mnet-online.de r28458 | fperrad++ | trunk: : [squaak] : - add some svn:ignore diff: http://www.parrotvm.org/svn/parrot/revision?rev=28458 % Psyche^ has joined #parrot % Zaba_ has joined #parrot % Patterner has left Patterner!~Psyche@e177239029.adsl.alicedsl.de % Psyche^ is now known as Patterner % TiMBuS has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % tetragon has left tetragon!~seneca@gw-312-705.somanetworks.com