% Maddingu2 is now known as Maddingue % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 % iblechbot has joined #parrot r26711 | fperrad++ | trunk: : [Lua] : - shift to PCT/POST.pir : ... many breakages ... diff: http://www.parrotvm.org/svn/parrot/revision?rev=26711 % AndyA has left AndyA!~andy@82.152.157.85 % ruoso has joined #parrot % kj has joined #parrot % Ademan_ has joined #parrot % Ademan has left Ademan!~dan@h-68-164-168-66.snfccasy.dynamic.covad.net % Ademan_ has left Ademan_!~dan@h-68-164-168-66.snfccasy.dynamic.covad.net r26712 | fperrad++ | trunk: : [Lua] : -fix forlist diff: http://www.parrotvm.org/svn/parrot/revision?rev=26712 % Ademan_ has joined #parrot % wknight8111 has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net tickets are cheap, but opening a new ticket about an old ticket is silly. =-) % muixirt has joined #parrot % pjcj has left pjcj!~pjcj@84-73-177-217.dclient.hispeed.ch % contingencyplan has left contingencyplan!~contingen@cpe-76-186-27-146.tx.res.rr.com % rdice has joined #parrot % tetragon has left tetragon!~seneca@216.126.67.44 % skids has left skids!~bri@c-71-233-204-100.hsd1.ma.comcast.net % tetragon has joined #parrot r26713 | fperrad++ | trunk: : [Lua] : -fix fornum diff: http://www.parrotvm.org/svn/parrot/revision?rev=26713 % iblechbot has left iblechbot!~iblechbot@ppp-62-216-204-235.dynamic.mnet-online.de % iblechbot has joined #parrot % Senaka has joined #parrot need some help on GC anyone around? PANIC. in soviet russia GC helps YOU! moritz;?? :) Senaka: not serious ;-) well basically, need some info... U track objects on heap as PMC is it? and need to know abt Object pools Most people stay the hell away out of the GC system because it's scary. But have you looked at parrot/docs/pdds/pdd09_gc.pod ? starting to.... i just saw it being referred in dod.c thanks r26714 | fperrad++ | trunk: : [Lua] : -fix assignlist diff: http://www.parrotvm.org/svn/parrot/revision?rev=26714 % tetragon has left tetragon!~seneca@69-196-138-185.dsl.teksavvy.com hi lathos % skids has joined #parrot what's Global stash? shouldn't that be stack? I think parrot is stackless or what is it? it's it! Parrot is stackless. System stack? System stack is, like, always contiguous, so it's not a problem ok purl.... isn't it a stack? PMC register stack? u've got some I guess so if its stack-less then what are these? I didn't understand that part. Thanks in advance for any help in this regard it's continuation based that means? so instead of creating a new item on the stack, a continuation is put on the heap (for a function call, for example) so if you want to throw an execption, you don't have to unwind the stack... aha but you can jump straight to the continuation that you want to execute next so how does it clean up? mark-n-sweep? with garbage collection yes oh I see and do u have docs on copying and compacting with buffers? like moving them around and all ah ok they are only for buffers 1 Question though when copying, what are the memory regions spoken here? are they within a single arena? * moritz doesn't know hmm.... ok thanks anyway did you read the gc pdd? yes stop-the-world mark-and-sweep most of the questions were solved compacting collector we're going to go incremental by 1.0 stop-the-world mark-and-sweep? stop is not found in it if you have questions on the pdds, it's a good idea to email the list so we can clarify the spec ok. sorry. hmm ok the current gc is stop-the-world found it this is not exactly like VM *VIM :) i mean perldoc what are the release goals for 1.0? you can open the file in vim... it's still readable :) grep -ri 'release goal' docs/ didn't help me :/ but the info you have of pdd09 doesn't say much about stop-the-world moritz: coke is currently working on a doc for that particle: ok Senaka: that's because we're moving away from the current implementation to an incremental one hmm we don't want to stop the world for gc :) u don't have parallel collecting? % jhorwitz has joined #parrot do you want to implement it? ;-) no, we don't have || well I'm working on pluggin the Harmony VM to Parrot and it has it we have two students interested in gc for SoC :) great! Apache Harmony we have an implementation of a generational gc in a branch branches/gmc iirc so if can get things straight... I mean aligning the interfaces yes ok thanks on that it's suffered a little bitrot, i'm sure, but it might give you some help btw.... I gotta find about one more thing % confound has left confound!~hdp@shell.icgroup.com % confound has joined #parrot how does Parrot enumerate the thread stack? u don't have anything as a thread stack? For that you may want the concurrency PDD. That's another one worth staying away from. :) oh!!! moritz: at the moment, "implement everything the pdd's discuss" Coke: I seem to remember that implenting two (major) languages in parrot is also a goal is that correct and still active? two!? two is one too many; two can be as bad as one, it's the loneliest number since the number one... Coke: I think I heard that in a talk by allison, but I'm not sure ;-) Coke: what's your opinion on how many you should have? depends on who you ask. Certainly our goal is to make that possible. And having a language that is implemented will certainly show that the goal is achievable. =-) is there already a ruby implementation on parrot? there is no full implementation of any non-trivial language of which I am aware. I'm not talking about a *full* implemenation ;) cardinal is the ruby lang pynie is python moritz: still, better for me to avoid confusion. perl6 is perl 6 cardinal sure could use some updates poor tcl. ignored by so many. =-) ah, cardinaly s/y// tcl was sexy, once she's showing her age now so many names ;) as ruby has a lot in common with perl6, and perl6 's implementation is worked on actively, would be interesting to see how much can be reused ehm. common with perl, not perl6 per se so, moritz: I don' t have a particular number that is required for 1.0; Two would help us verify that HLL interop worked to some degree. 1145*.8 916 % jan has joined #parrot % contingencyplan has joined #parrot particle: my talk was rescheduled (allison++), so we don't have to split our 4-person audience. ;-) yep. patrick took care of that for you yeah, patrick++ too. :) er, pmichaud++, so purl knows it. % grim_fandango has joined #parrot aren't private conversations on channel logged? the channel is logged. I see private messages are not I shouldn't have closed the IM windows.... :( perhaps your client keeps a log of private messages nope I haven't enabled it :( neh mind I nw know the setup % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167933634.dsl.bell.ca Class today is mostly labs, so there's a chance I might not be too tired to code tonight. I could show cardinal some love. teeeetcl! er, tcl. =-) though both mdiep are independently pondering rewrites, so nevermind. that's what i love about tcl. the spirit of working independently without communication. :P * jonathan is hackathoning Sat-Mon. :-) r26715 | fperrad++ | trunk: : [Lua] : -fix constructor diff: http://www.parrotvm.org/svn/parrot/revision?rev=26715 the part I love about tcl is how many times I had to rewrite it because something about parrot changed. =-) Basically, this last rewrite is playing catchup with the PCT. s/I/we/ % peeps[work] has joined #parrot If we were doing more than *pondering*, there'd be more communication. =-) % sjansen has joined #parrot Coke: hi, did you have a chance to browse through pdd29? just to see if it makes any sense Coke: kj asked first. mm? mm is millimetres or #wiccan for "merry meet", which can scare newbies off... or MetaModel or "Mother of Moose!" or the response to things that make you go mm or MakeMaker or the classic macro package for troff I just hate editing in blogger :-( kj: I have not had a chance yet, no. oki. r26716 | fperrad++ | trunk: : [Lua] : -fix sub diff: http://www.parrotvm.org/svn/parrot/revision?rev=26716 % jan has left jan!~chatzilla@89-253-66-101.customers.ownit.se % Theory has joined #parrot % Senaka has left #parrot % dwave has left dwave!~ask@pat-tdc.opera.com % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net % ask_ has joined #parrot % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl % jan has joined #parrot pmichaud: Got someone having an issue with $x.WHAT returning Ref rather than what the value in $x actually is. Is that a hard thing to fix - I think I mentioned it once before and you knew what was wrong... r26717 | fperrad++ | trunk: : [Lua] : - refactor label diff: http://www.parrotvm.org/svn/parrot/revision?rev=26717 r26718 | fperrad++ | trunk: : [Lua] : - refactor break diff: http://www.parrotvm.org/svn/parrot/revision?rev=26718 % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177234213.adsl.alicedsl.de % Psyche^ is now known as Patterner % ambs has joined #parrot rdice: ping_ (it was a ping?) ping? ambs, hello. :) % paco has joined #parrot % Ademan_ has left Ademan_!~dan@h-68-164-168-66.snfccasy.dynamic.covad.net % Ademan has joined #parrot jonathan: (Ref) I'm thinking/hoping that switching over to the 'copy' opcode will resolve that. I haven't done that yet, it's on my list of high-priority items Coke: I think I asked this before but lost the answer -- what's the status of the nifty RT-high-priority-ticket-tracker you were working on in Jan? needs rt integration iirc I thought we just needed to get it on a perl.org server did the rt->json dumper get written? % ruoso has left ruoso!~ruoso@195.23.92.2 pmichaud: I need an RT instance to play with. particle: no. see my previous send. okay, I was just curious. Thanks. If anyone could setup an RT, say, on feather, that would be awesome. % Theory has joined #parrot % rotty has joined #parrot hi! is there a PMC that is good for use as cons cells for Lisp? The "Pair" PMC doesn't fit, because its first element can only be set once... see if languages/pheme has anything up it's sleeves that might help otherwise you'll have to roll your own % Andy has joined #parrot seems SArray might do it % barney has joined #parrot r26719 | jkeenan++ | trunk: : Make PPD conform to coding standard for PDDs (https://rt.perl.org/rt3/Ticket/Display.html?id=52054). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26719 r26720 | jkeenan++ | trunk: : Make PPD conform to coding standard for PDDs (https://rt.perl.org/rt3/Ticket/Display.html?id=52054). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26720 ppd? ppd is, like, (: see ppm) particle: I'm guessing that's a typo. % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt me too. r26721 | jkeenan++ | trunk: : Make PPD conform to coding standard for PDDs (https://rt.perl.org/rt3/Ticket/Display.html?id=52054). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26721 r26722 | jkeenan++ | trunk: : Make PPD conform to coding standard for PDDs (https://rt.perl.org/rt3/Ticket/Display.html?id=52054). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26722 r26723 | jkeenan++ | trunk: : Make PPD conform to coding standard for PDDs (https://rt.perl.org/rt3/Ticket/Display.html?id=52054). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26723 r26724 | chromatic++ | trunk: : [pbc_to_exe] Reordered link flags to prefer freshly-built libparrot over an : installed libparrot (see RT #52288). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26724 rotty: We should write a MutablePair if we don't have one. % slightlyoff has joined #parrot tewk: at least on the website it's not listed % grim_fandango has joined #parrot % grim_fandango_ has joined #parrot % ruoso has joined #parrot r26725 | bernhard++ | trunk: : #41783: [BUG?] main isn't in src/parrot.c : Don't claim that 'main' is in compilers/imcc/main.c diff: http://www.parrotvm.org/svn/parrot/revision?rev=26725 % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % ambs has joined #parrot r26726 | bernhard++ | trunk: : #41783: [BUG?] main isn't in src/parrot.c : Remove useless src/parrot.c diff: http://www.parrotvm.org/svn/parrot/revision?rev=26726 AAAAAAAAAAAAAAARGH! dalek is alive! r26727 | bernhard++ | trunk: : #41783: [BUG?] main isn't in src/parrot.c : symlink.pl was looking for src/parrot.c diff: http://www.parrotvm.org/svn/parrot/revision?rev=26727 % Psyche^ has joined #parrot % IllvilJa has joined #parrot that really depends on your definition of 'alive' % Patterner has left Patterner!~Psyche@92.224.104.136 % Psyche^ is now known as Patterner % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % ambs has joined #parrot r26728 | bernhard++ | trunk: : Add POD and beautify tools/dev/symlink.pl diff: http://www.parrotvm.org/svn/parrot/revision?rev=26728 come to think of it, me too. % jhorwitz has left jhorwitz!~chatzilla@96.245.16.31 % barney has left barney!~bernhard@dslb-084-058-150-226.pools.arcor-ip.net % confound has left confound!hdp@floe.aq % wknight8111 has joined #parrot jonathan: ping % confound has joined #parrot % confound has left confound!~hdp@shell.icgroup.com % confound has joined #parrot % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % cognominal has left cognominal!~cognomina@82.67.232.89 % pjcj has joined #parrot r26729 | fperrad++ | trunk: : [pct] : - add tailcall (needed by Lua) diff: http://www.parrotvm.org/svn/parrot/revision?rev=26729 r26730 | fperrad++ | trunk: : [Lua] : - clean up diff: http://www.parrotvm.org/svn/parrot/revision?rev=26730 % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % wknight8111 has joined #parrot particle: pong % pjcj has left pjcj!~pjcj@84-73-177-217.dclient.hispeed.ch do STRING* buffers need to be null terminated? (there is a separate "strlen" field.) FixedIntegerArray->new_from_string() is assuming they are null terminated, which causes a hanging test for me on gc=libc. % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % wknight8111 has joined #parrot Infinoid: No, they don't need to be null terminated; they may contain NULL bytes. thought so. I'll fix up FixedIntegerArray->new_from_string() then, thanks Cool, thanks. passing a non-terminated string directly to strtoul() is bad, m'kay. % pjcj has joined #parrot % skids has left skids!bri@charon.clarku.edu % cognominal has joined #parrot r26731 | fperrad++ | trunk: : [Lua] : - refactor return (with PCT) diff: http://www.parrotvm.org/svn/parrot/revision?rev=26731 % rotty has left #parrot are you supposed to free STRING*'s you create, somehow? or does GC do that? GC does the garbage collector is supposed to free buffers like that. Whether it currently actually does it is a different story Assuming you get them the proper way. % peepsalot has left peepsalot!~peeps@67.9.161.48 great, thanks. (I'm used to GC systems which have explicit refcounting, what a pain in the ass that is. parrot++) % peepsalot has joined #parrot % Andy is now known as AndyAway % AndyAway has left AndyAway!~AndyL@host3130.follett.com % iblechbot has left iblechbot!~iblechbot@165.4-dial.augustakom.net if i have anything to say about it, and i just might one day, our GC will be very nice ugliest hack of the day: RT#52462 we need a bot that converts /#\d{5}/ into a url that we can click on because having to go there manually is putting a cramp in my style that sounds like a good idea. it also sounds trivial to write. so trivial that i feel bad that I bitched about it instead of just writing it myself in the first place * wknight8111 fires up his text editor... if you write a botnix plugin for it, diakopter might be kind enough to plug it into dalek i wouldn't even know where to start. what is botnix? I was just going to throw together something easy with POE botnix is an irc bot written in perl dalek is an instance of it. www.botnix.org oh, okay % wknibot has joined #parrot okay...#12345 % wknibot has left wknibot!~foolio@c-71-230-33-251.hsd1.pa.comcast.net damnit % peeps[work] has left peeps[work]!~peepsalot@bwext.kpimdp.com % pjcj has left pjcj!~pjcj@84-73-177-217.dclient.hispeed.ch % sjansen has left sjansen!~sjansen@hq-nat2.gurulabs.com % tetragon has joined #parrot Hm... sure would be nice to be able to do sdl stuff with rakudo. Thoughts on stealing NQP's PIR directive? Ideal, of course, would be "use SDL::App; use SDL::Rect; use ..." 'use' doesn't seem to do anything useful in rakudo atm. % turrepurre_ has left turrepurre_!~chatzilla@90-229-128-103-no52.tbcn.telia.com I managed to convince it to load Something.pm in the current directory, a few days ago, which seemed to work great Hmm. What's the Perl 6 syntax for declaring some external thing like that? Could always "just" implement that in Rakudo. perl6 for keys(%hash) is %hash.keys(), right? I want to implement that. declaring what, exactly? Infinoid: you'll want to add it to perl6/src/classes/Hash.pir Infinoid: Yes. Tene: I thought there was some Perl 6 syntax for declaring symbols from external libraries. is there a wrapper around NCI? Also, rakudo seems to choke on POD. we had one at one time ww (link to RT#\d{5}) I just have a keyboard macro that does that for me pmichaud: thoughts on the appropriate way to be loading SDL/App.pir from rakudo? we probably need a generic Parrot library for loading pbc's and importing symbols then it would be something like Parrot::load_bytecode 'SDL/App.pir', ; Hm. or perhaps thats Parrot::load_bytecoe 'SDL/App.pir', :import; *bytecode % wknibot has joined #parrot right now the 'use' directive only knows how to handle Perl 6 modules pmichaud: will it eventually load arbitrary pbcs written in whatever language? I don't know Fair enough. being able to specify an optional language, like "use [LANG] module" would help fix that it might become something like use Parrot ; in which case Parrot.pm can be in Perl 6 :-) In the short term, what do you think about stealing NQP's PIR for rakudo so that I can start playing with SDL in rakudo? use langname:Module::Name; # is I think what is spec'd maybe create a module PMC that all languages could share, and use libraries from all other languages NQP's PIR is essentially a macro at the moment I'm not wanting to do macros in Rakudo that way, though Okay. Could maybe make "use pir:Module::Name;" work in Rakudo without too much hassle. I'd rather we figure out a more standard way (i.e., closer to spec) for loading other modules maybe use PBC:Module::Name; but we still have to figure out how we want to have symbols imported into rakudo's namespace Yes, true. Since pir is the language rather than PBC, then use pir:Module::Name would be more natural to me. iirc, that's not really specced yet. But it's also one of those areas where an implementation should preceed a spec an Exporter PMC? OH? I thought the use langname:Module::Name; was spec'd. sorry I meant "how we want to have symbols imported" isn't really speced yet Ah, OK. yes, langname:Module::Name is probably spec'd (more) In which case, yes, I agree, I don't think it is. :-) to me pir:Module::Name would imply to me that we would load Module/Name.pir in preference to Module/Name.pbc % skids has joined #parrot and if something is a .pbc, we really don't care what source language it is Hmm, that's true. pmichaud: if we support one of pir: and pbc:, it shouldn't be much work to also support the other. Aside from, it would tell us about the namespace. Since HLLs live in the root namespace with their HLL name. well, iiuc, the module being loaded should know what symbols it exports by default the thing doing the loading shouldn't have to grab them explicitly I must go. Will scrollback when I come back. Right, which is why namespaces has a export_to, IIRC. do we have a %ENV{PERL6LIB} yet? Will we? I think export_to should be re-spec'd. It was created before we had PCCMETHODs available i.e., we can do a much better job with the namespaces pdd now that we have PCCMETHODs True. and make it look more like the pdd15 (objects) spec anyway, what needs to happen for SDL from rakudo is loading the pbc's and creating protoobjects in rakudo's namespace for whatever SDL::* we want to create everything else is methods and "just works" see examples/sdl/blue_rect.pl for an example in some sense I'd prefer to see that SDL create its own protoobjects when loaded, though. But I don't think we can rely on every external module to create protoobjects for us so our "use language" module probably needs to know how to do that Can probably just interogate the namespaces for classes attached to them. that might work... but searching all of the namespaces might be a bit of a pain on "use pir:module" versus "use pbc:module" -- I suspect it really ought to be "use parrot:module" since 'parrot' is the hll namespace where the module will get loaded True. Matching it to the namespace sounds sane. use Parrot::Language::Module BTW, on a different subject - is there an SVN repo where the latest synopses are kept? the latest official synopses are svn.perl.org:perl6/doc/trunk/design/syn or, as a url: http://svn.perl.org/perl6/doc/trunk/design/syn the unofficial synopses are in pugs/docs/Perl6/Spec (iirc) Thanks I'm being called away to dinner and to rebuild a (Lego) castle, so bbl Want to have a copy on the laptop, for offline hacking. ok, sleep here too, night. % muixirt2 has joined #parrot % kid51 has joined #parrot % muixirt has left muixirt!~user@p57B4F622.dip.t-dialin.net % muixirt2 is now known as muixirt % mj41_ has joined #parrot % rafl has left rafl!~rafl@62.75.161.67 % rafl has joined #parrot % mj41 has left mj41!chatzilla@pc-jurosz.ro.vutbr.cz % mj41_ is now known as mj41 % Psyche^ has joined #parrot Coke ping % Patterner has left Patterner!~Psyche@e177226059.adsl.alicedsl.de % Psyche^ is now known as Patterner which do we use currently, PIRC or IMCC to parse PIR? r26732 | jkeenan++ | trunk: : Adjust test of conformance of PDDs to coding standards to account for HTTP addresses > 78 characters. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26732 % muixirt2 has joined #parrot % muixirt has left muixirt!~user@p57B4FBEC.dip.t-dialin.net actually it doesnt matter. I submitted a patch for IMCC and PIRC where are the 'provides' interfaces defined? cotto_work: Start here: ./docs/pdds/pdd17_pmc.pod I did. That tells me which interfaces exist, but isn't explicit about which VTABLE methods they guarantee. Beyond that, I cannot say. I merely grepped the repository. me too the problem is that none of those interface names are particularly unique I can make an educated guess, but I like having it spelled out SFAIK, that's not explicitly defined. If you don't find it, worth asking on list or opening a ticket. kid51: yes? kid51: I haven't had time to review the "(partially) remove revision patch" other than my previous comments. r26733 | jkeenan++ | trunk: : Slight refinement of formula for handling long, all HTTP lines. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26733 Coke: Okay, just note my most recent posting in that thread. Thanks. hurm. I must have missed that commit. (that you refer to there) r26734 | jkeenan++ | trunk: : Bring PDD into better compliance with coding standards : (http://rt.perl.org/rt3/Ticket/Display.html?id=52054). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26734 if I want my %hash.keys() method to evaluate lazily, I suppose I should just return an Iterator object (or something similar), rather than hand-building a List object to return Just posted an hour ago. Problem is that since we last discussed this, others have been patching Parrot::Revision on assumption that we're keeping the git/svk stuff. You'll have to make a call. looks like it was Infinoid doing some water treading until we rip it out. NBD. Plan is still to rip it all out. (rip it out)++ medicine time, gentlemen. -> % muixirt2 has left muixirt2!~user@p57B4DE9C.dip.t-dialin.net % rdice has left rdice!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % kid51 has left kid51!~jkeen@pool-71-247-50-188.nycmny.east.verizon.net Infinoid: (lazy eval) at the moment we're just doing eager evaluation and saving lazy eval for a bit later (when we have a better iterator interface for it) you're welcome to implement lazy eval if you want, though :-) bit over my head at the moment % Andy has joined #parrot Method 'keys' not found for invocant of class 'Pair' funny, I thought it would be class 'Hash'. oh well, start over. actually, hmm. this is weird. my %hash = (a => 1, b => 2, c => 3, d => 4); say %hash.WHAT; says "Pair" without the assignment, it says "Hash" % particl1 has joined #parrot should I add some 01-sanity tests for what I've done so far, or wait and hope this passes the relevant spectest once everything else is in place? % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net we don't have the ability to create/initialize hashes from lists of pairs yet % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net feel free to write the method, though. :-) r26735 | infinoid++ | trunk: : [raduko] Implement %hash.keys() diff: http://www.parrotvm.org/svn/parrot/revision?rev=26735 at some point rakudo, pct, and/or parrot will have to become smart enough to understand container types and value types the 01-sanity tests are intended to be the tests needed to get Test.pm running so if hash assignment isn't needed for the tests, it's probably not a 01-sanity test r26736 | infinoid++ | trunk: : [raduko] Implement %hash.values() diff: http://www.parrotvm.org/svn/parrot/revision?rev=26736 also, it's "rakudo", not "raduko" :-) :-) oops. sorry about that raduko sounds like a new number-puzzle game :-) it would probably be drilled into my brain right now if the directory weren't still named "perl6" I wrote some tests for .keys and .values, but they weren't anything serious just enough to do the tests, without all the extra stuff we'd need to pass the spectest looking through the log, I can see I've been making that mistake a lot I think we probably need a 02-* directory somewhere for tests I haven't implemented anything yet which wasn't adequately covered (and then some) by the spectests % wknibot has left wknibot!~wknibot@c-71-230-33-251.hsd1.pa.comcast.net % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net there really should be a printf smart enough to deal with parrot strings and by "deal with" I mean "print" one of the nice things about writing your own printf is, you can roll your own format codes. like %I for struct in_addrs, %P for PMCs... I'm right on the border of doing just that. in the short run it's easier to complain, but there may be some unexplored advantages in the "do it yourself, already" method I have an old implementation of printf I wrote years ago for a bios. not sure it's useful in today's utf8-enabled world tho "Infinoid" at 76.215.208.106 pasted "noidlibc's printf (releasing as public domain)" (349 lines) at http://nopaste.snit.ch/12615 feel free to accuse me of being a bad influence. % Andy has left Andy!~Andy@64.81.227.163 ok I'm hoping to reinvent a little bit less of the wheel :) well... glibc does have pluggable format strings, I think I was thinking about something closer to a wrapper around string_sprintf although pluggable format strings sound fascinating I sense several segfaults in my immediate future pluggable format strings are also gloriously non-portable I think I can do some macro silliness, but that's a cool trick with glibc. its been in there forever, but I've never seen anyone use it. Infinoid++ % tetragon has left tetragon!~seneca@69-196-138-185.dsl.teksavvy.com finally, it works % tetragon has joined #parrot r26737 | duff++ | trunk: : [rakudo] while/until statement modifiers diff: http://www.parrotvm.org/svn/parrot/revision?rev=26737 pmichaud: as I mentioned earlier, I kept getting errors about keys/values not existing as methods on the Pair object. I don't know whether those methods will be useful once parrot knows about container objects, but just in case, here's a patch. "Infinoid" at 76.215.208.106 pasted "keys/values methods for Pair.pir" (23 lines) at http://nopaste.snit.ch/12616 * Infinoid wants to expose the Env singleton PMC as %*ENV % PerlJam has left PerlJam!duff@feather.perl6.nl crud. I forgot what I was doing when I got annoyed by printf my stack sucks "but you should see the size of my heap" I can only assume that you're referring to your laundry or the pile of half-done projects % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177238062.adsl.alicedsl.de % Psyche^ is now known as Patterner % integral has left integral!bsmith@adsl-212-20-244-147.lumison.co.uk