% Ademan has joined #parrot % Theory has left Theory!~Theory@c-67-160-131-113.hsd1.or.comcast.net % contingencyplan has joined #parrot % apeiron_ has joined #parrot % apeiron has left apeiron!~apeiron@c-69-248-118-67.hsd1.pa.comcast.net % barney has joined #parrot % iblechbot has joined #parrot % Whiteknight has joined #parrot % barney has left barney!~bernhard@p549A3934.dip0.t-ipconnect.de r29147 | bernhard++ | trunk: : [codingstd] Remove trailing whitespace. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29147 % Ademan has left Ademan!~dan@h-67-101-43-134.snfccasy.dynamic.covad.net morning all morning, jonathan good morning * purl whips out a machete. I'm *tired* of your shit moritz purl, forget good morning moritz: I forgot good morning jonathan, moritz: good localtime() jonathan: pmichaud steals your TODO items :) I know!!! I just came here thinking "OK, first item, \\...oh" but the capture patch didn't make any tests pass Oh. at least autounfudge didn't catch any > my @a = (1,2,3); my @b = (1,2,3); say \@a === \@b; Could not find non-existent sub infix:=== very strange... perl6: say 1===1; OUTPUT[Could not find non-existent sub infix:===␤current instr.: '_block11' pc 35 (EVAL_10:19)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub ..'parrot;PCT::HLLCompiler;command_line' pc 1267 (src/PCT/HLLCom... Oh, that'll be because we're pasring it, but ain't implemented it yet. perl6: my @array = ; my $ref = \@array; say ~$ref; say +$ref; OUTPUT[Statement not terminated properly at line 1, near "= \\@array;"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub ..'parrot;Perl6::Grammar;statementlist' pc 19622 (src/gen_grammar.pir:2450)␤called f... polyglotbot? it has been said that polyglotbot is running an outdated version of rakudo. bacek_: pugs: my @array = ; my $ref = \@array; say ~$ref; say +$ref; [6:46pm] p6eval: pugs: OUTPUT[a b c␤3␤] [6:46pm] bacek_: rakudo: my @array = ; my $ref = \@array; say ~$ref; say +$ref; [6:46pm] p6eval: rakudo 29147: OUTPUT[a b c␤0␤] jonathan: your turn to fix pmichaud's bug :) bacek_: Should it numify to the number of array elements + the number of hash elements? jonathan: no idea... .sub 'get_number' :method :vtable $I0 = self.'list'() .return ($I0) .end will bring Capture to sinc with pugs. afk # ging home % bacek_ has left bacek_!~bacek@mcas-151.usr.optusnet.com.au % Ademan has joined #parrot % cognominal has joined #parrot % pancake has joined #parrot io $ echo 'print "foo"' | ./parrot languages/lua/lua.pbc <- this command makes parrot segfault in Parrot_Closure_invoke (src/pmc/closure.pmc:103) (null value in outer_sub) % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net bug report created with patch pancake++ moritz: about 56692 moritz: there is small patch from #55438 for this bug I think I saw that, yes just a sec. I'll cut it from big diff the one that moves push_eh catch two lines up? "bacek" at 202.7.166.181 pasted "eval patch for moritz" (17 lines) at http://nopaste.snit.ch/13519 cool moritz: indeed bacek: running spectest_regression with it now. If it succeeds, I'll commit and close #56692 moritz: ok. how I can check existence of file in PIR? i have a mips-linux box and x86 open/free/net bsd boxes needs testing? which kind? (also a ppc and arm ones..) all kinds, I think ;) * bacek thinking about setting public buildbot for parrot/rakudo... * pancake fetching parrot on mips r29148 | moritz++ | trunk: : [rakudo] fix RT #56692 (eval doesn't catch compilation errors). : Patch curtesy of bacek++ diff: http://www.parrotvm.org/svn/parrot/revision?rev=29148 % kj has joined #parrot karma bacek bacek has karma of 50 % ruoso has left ruoso!~ruoso@201009120124.user.veloxzone.com.br btw is my patch ok? pancake: rt id? #56694 * moritz grabs some food % iblechbot has left iblechbot!~iblechbot@ppp-62-216-197-103.dynamic.mnet-online.de No permission to view ticket oops. EWRONGTICKETNUMBER #56694 src/ops/experimental.ops:424: warning: cast increases required alignment of target type all the *.ops files shows lot of warnings like this in mips and some oether in .c files src/embed.c:505: warning: cast increases required alignment of target type moritz: I'm seeing 6 subtests UNEXPECTEDLY SUCCEEDED Looks like there may be a few things to un-todo. :-) (That's without any patches locally BTW) * pancake running tests in mips % Coleoid has joined #parrot % jan has left jan!~chatzilla@89-253-66-101.customers.ownit.se jonathan: no need to un-TODO these tests, they are likely bogus an operation returns a completely wrong result, but the type of the result is right, so the isa_ok passes moritz: Ah, OK. So long as we don't end up with *too* many like that. aye Though thankfully they shown in a distinct list, so it's hard to confuse them with failures that your changes have introduced. I'll take care the spectest_regression output stays sane, readable and concise Thanks, it's much appreciated. :-) because that's the reason for having it in the first place, as opposed to spectest http://news.nopcode.org/parrot-mips-test.txt cool "bacek" at 202.7.166.165 pasted "Implemening of get_number for Capture so +$capture produce correct results. (for jonathan/pmichaud to blame)" (22 lines) at http://nopaste.snit.ch/13520 afk http://www.toolness.com/wp/?p=52 % jan has joined #parrot pancake: very interesting yup it is % Ademan has left Ademan!~dan@h-67-101-42-243.snfccasy.dynamic.covad.net % ruoso has joined #parrot % Whiteknight has joined #parrot % Ademan has joined #parrot r29149 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] Updating to trunk r29148 diff: http://www.parrotvm.org/svn/parrot/revision?rev=29149 r29150 | jonathan++ | trunk: : [rakudo] Stub in signatures. This doesn't do anything useful yet, but does lay a lot of groundwork: Signature class is in place, :(...) is now parsed and results in a Signature object, all subs and methods get a Signature object attached (though it's not populated yet) and some comments explaining what is going on. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29150 % tetragon has joined #parrot % iblechbot has joined #parrot how can i comment multiple lines in perl6? http://dev.perl.org/perl6/rfc/5.html <- none of these ways works pancake: I think that's described in S02 S02? S02 is http://dev.perl.org/perl6/doc/design/syn/S02.html or http://perlcabal.org/syn/S02.html or \n=begin comment\n stuff here \n=end comment\n % barney has joined #parrot ok works is there a perl6 vim syntax highlighting available? yeah, look in the editor/ folder in the repo it contains the highlighting files and some documentation for them % rdice has left rdice!~richarddi@CPE001ff33cb98b-CM00159a01d44c.cpe.net.cable.rogers.com pancake: in utils/perl6.vim in the pugs repo http://svn.pugscode.org/pugs/util/perl6.vim % donaldh has joined #parrot r29151 | bernhard++ | trunk: : [Pipp PCT] Add token METHOD_NAME and use it in the rule 'method_definition' and 'method_call'. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29151 % teknomunk has joined #parrot % tetragon has left tetragon!~seneca@76-10-148-120.dsl.teksavvy.com % Coleoid has left Coleoid!~Coleoid@adsl-75-62-112-74.dsl.bltnin.sbcglobal.net % TiMBuS has left TiMBuS!~Hurf@123-243-167-27.static.tpgi.com.au % gryphon has joined #parrot % jhorwitz has joined #parrot % rdice has joined #parrot moritz: thanks pmichaud: ping pong pmichaud: Am hacking a bit on signatures today. I saw that. :-) I'm now looking at parameter/signature actions and wanted your thoughts on this. Basically, I need to build up a signature object as well as the PAST. I know you've mentioend wanting to try and do more in parameter and less in signature too. well, I still haven't done all of the parameter refactori.... right :-) OK, well, I'd rather do something now that helps get things how you'd like, rather than gives you more to have to refactor later. :-) I'm pretty close to being able to do the refactor, since I got $_ and friends working this past week I hadn't thought about building signatures in parallel (although it obviously needs to be done) OK, what do you want me to do? good question. Yeah, it is. I'm stumped. hrm. Keep the code relatively as it is, but build the signature in parallel, and leave it for you to refactor later? yes, let's go ahead and do that for now. OK. The toher thing is :(Bar, Foo) refactoring hasn't been as big an issue as it seemed to be at first. This is allowed (seen in various places in synopses) and, more specifically, don't see to have a way of not specifying a name, but just a type, however. s/see/seem/ (phone) Is there a PCT based language, that uses plain PMCs as objects ? % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % donaldh has left donaldh!~chatzilla@proxy-sjc-2.cisco.com isnt .HOW implemented? perl6: say 1.HOW OUTPUT[get_string() not implemented in class 'P6metaclass'␤current instr.: 'print' pc 9632 (src/gen_builtins.pir:6354)␤called from Sub 'say' pc 9654 (src/gen_builtins.pir:6364)␤called from Sub '_block11' pc 43 (EVAL_12:18)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 ..(src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler... it is implemented, but it doesn't convert to string right now perl6: say 1.HOW.WHAT OUTPUT[Int␤] * jonathan wonders how HOW should stringify moritz: oks i see howhow jonathan: to "don't know how to stringify meta clas"? ;-) ;-) heh (PCT based language w/PMCs) ....NQP ? % uniejo has left uniejo!~uniejo@193.88.64.250 pmichaud: Yes. NQP looks good for jumpstarting PHP OO r29152 | jonathan++ | trunk: : [rakudo] Start to build signature objects. We don't put any types in yet. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29152 r29153 | pmichaud++ | trunk: : [rakudo]: spectest-progress.csv update: 94 files, 1662 passing tests : * Also add a column with an estimate of the total number of spectests. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29153 pmichaud++ # not breaking existing code while adding another column ;-) r29154 | jonathan++ | trunk: : [rakudo] STD.pm tracking: variable_decl becomes variable_declarator, add declarator and make us able to parse a signature in a declaration. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29154 r29155 | bernhard++ | trunk: : [Pipp PCT] Fiddle with grammar and actions in order to make : the generated PAST more like the PAST generated by NQP. : But oo_1.php is still not working. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29155 % tewk has joined #parrot fperrard++ for identifying problem in Pipp, RT#55842 parrotsketch? parrotsketch is a status meeting for parrot core committers held every Tuesday at 18:30 UTC in #parrotsketch so in 2.5h if my time calculation is correct ;) don't know if I'll make it, if not my report isn't so much different from last time % tewk_ has left tewk_!~tewk@ekstrom.org parrot sketch in 143 mins (2h23m) % Theory has joined #parrot % tewk has left tewk!~tewk@lre-west-4-62.usahousing.utah.edu % tewk has joined #parrot pmichaud: Sometimes I'm getting $/.panic(...) leading to Null PMC access in type() rather than actually displaying the error message. jonathan: moritz and others have noticed this also OK. it's occurring in $/.panic, though? that's odd. if you can get a backtrace that might help but I have to run errands now (it has become a totally crazy morning around here) Well, it shows up in the backtrace, in one routine down the call tree. I wonder if it's related to return in PCT. erm in NQP, I mean If it was added... % apeiron_ is now known as apeiron there's a test case in spec/S02-builtin_data_types/type.t which showed that behaviour for me return exists in NQP, yes, although we probably aren't using it. although since NQP does put return handlers into its sub/methods, the exceptions show up at the point of the rethrow instead of where they were originally thrown Ah. Then that's probably what I'm seeing. I don't know how to get the backtraces working properly Are we throwing a new exception there, or are we rethrowing the old one? you mean like having an uncatch rather than rethrow? rethrowing the old one OK but just using a C opcode to do it. I don't know if there's a better one (that is implemented) I'd have hoped Parrot would preserve the original trace. Oh OK, I was thinking there was a rethrow opcode, but maybe now. there's one specced, but I don't know if it's implemented looks like there is maybe I'll try rethrow instead % sjansen has joined #parrot r29156 | bernhard++ | trunk: : [Pipp] add a test case where a class is defined, but not yet used. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29156 oh, but pdd23 claims: {{ NOTE: "rethrow", and "pushaction" are removed, and "die" is different }} right rethrow is deprecated might also be worth thinking about RT #56604 in this context as well :-) anyway, gotta run errands bbl % paco has left paco!~chatzilla@139.Red-80-36-122.staticIP.rima-tde.net % paco has joined #parrot moritz: ping jonathan: pong moritz: Did you say there were a bunch of tests we can get passing if my ($a, $b) style things work? jonathan: I did, but I'm not so sure anymore jonathan: because many of those also involve list assignment jonathan: wich you'd also have to do to make them pass my ($a, $b) = (1, 2) style things? jonathan: and I simplified some tests to my $a; my $b; where that's not the feature that is being tested for jonathan: yes OK I'm on the way to having the my ($a, $b) part working, anyway. that would be great r29157 | bernhard++ | trunk: : [Pipp PCT] Make oo_2.php succeed by using namespace more consistently. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29157 I need to do another refactor to get this *really* working. But the patch that I'm about to put in makes this work: my ($a, $b); $a = 100; $b = 58; say $a - $b; jonathan++ r29158 | jonathan++ | trunk: : [rakudo] Start making signatures in variable declarations work. While more work is needed to make this more general, my ($a, $b); will now declare both $a and $b. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29158 % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au % stupidbot has left stupidbot!bacek@123-243-38-218.tpgi.com.au * moritz runs autounfudge to see if that patch magically got some new tests passing jonathan: does autounfudge work on windows? * jonathan would be surprised if anything extra much passes so far. (istr that you use windows) moritz: Not tried it... What's the magical incantation? perl tools/autunfudge.pl --auto requires TAP::Harness and Text::Diff moritz: What directory do I need to bein for that? jonathan: languages/perl6 rumour has it languages/perl6 is rakudo. strange that doesnt parse for you autounfudge.pl --auto seems redundantly redundant Oh, you'd typo'd it. Doesn't run as I don't have TAP::Harness. particle: I know, but the --auto options refers to something else as the 'auto' in the name ;) jonathan: i see :viviself('Perl6Scalar') in your patch... does that mean my (@a, %b) won't work? particle: Yup. :-) But I wanted to get the one chunk of code I just did put in, before I did some shuffling around of stuff to make that work. that was the "While more work is needed ..." part of the message ;) % stupidbot has joined #parrot i really need to get my dev env set back up lemme see if i can find that msvc install cd.... % bacek has joined #parrot i really wanna refactor scope_declarator action method to match std better r29159 | bernhard++ | trunk: : [Pipp] Update test instructions. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29159 particle: I'm doing bits in that area at the moment; I already added declarator earlier today. But yes, there is much more to do. sure don't worry, it'll take a while for me to get things set up ...but i finally found the discs :-) * jonathan hopes particle comes and joins the refactoring fun oh, lovely, my os doesn't recognize my dvd drive *sigh* barney, do you or fperrad have any plans to do something like make spectest for pipp? * tewk started always keeping server2008 and MSV isos on his hard drive % cotto-work is now known as cotto_work for now there is only my notes in docs/testing.pod 39/1292 passing (nothing to brag about) AFAIK for running the PHP tests one needs to compile the Test-running PHP first I'll look into that. bernhard.schmalhofer@gmx.de | Pipp: link: http://www.perlfoundation.org/parrot/index.cgi?pipp barney, the wiki says 5.2.4 is the target. Didn't you say we're targeting 5.3? bernhard.schmalhofer@gmx.de | Pipp: link: http://www.perlfoundation.org/parrot/index.cgi?pipp % chromatic has joined #parrot bernhard.schmalhofer@gmx.de | PHP OO for Perl 6 programmers: link: http://www.perlfoundation.org/parrot/index.cgi?php_oo_for_perl_6_programmers cotto: The Wiki should be updated barney++ r29160 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] Update function-level documentation for src/gc/resources.c. These changes can (and will) be folded into trunk too. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29160 r29161 | bernhard++ | trunk: : [docs] Consistent indenting of ChangeLog with tabs. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29161 * particle reboots bernhard.schmalhofer@gmx.de | release_schedule_2008: link: http://www.perlfoundation.org/parrot/index.cgi?release_schedule_2008 % particle has left particle!~particle@c-98-232-28-49.hsd1.wa.comcast.net % Ivatar has joined #parrot * moritz imagines particle lying on his bed, closing and re-opening eyes and saying "reboot successful" You can't know that. You can know he's lying down somewhere, or that he's on his bed, but you can't know both that he's stationary and where he is. I can't know, but I can imagine ;-) and \hbar isn't very large in comparison to particle ;-) jonathan: in scope_declarator, shouldn't we just use the node generated in $?BLOCK_SIGNATURED rather than create new ones? also, ?? !! works now, so $scope := $declarator eq 'my' ?? ' lexical' !! 'package'; ?? !! - cool r29162 | bernhard++ | trunk: : [docs] Some fiddling with release_manager_guide.pod diff: http://www.parrotvm.org/svn/parrot/revision?rev=29162 The question: I don't understand what you mean. We care about the signature, not the block. ignore the block We're not greating a block. % particle has joined #parrot ignore the block *generating but instead of creating a new PAST::Stmts node and re-creating the variables (and traits and...) in it, just grab the first child of $?BLOCK_SIGNATURED it already has that stuff in it then we just adjust the scope if the declarator is 'our' I think I will probably get rid of $?BLOCK_SIGNATURED and just change it to $?LAST_SIGNATURE so that it's not a block but is instead just the signature That will maybe work for now, but when signatures get more complex I'm less sure. I think it should work, or should be made to work. duplicating the variable creation code seems wrong. let me know when you're at a likely stopping point for the day and I'll experiment with some refactors I'll also see if I can get my parameter refactors in place, since they're also a part of this I think that the best bet will actually be to toss the parameter checking code generating, and just put it all in the signature. Then just get the signature object itself to do the binding. Which will do the type checks and so forth as needed. well, binding and assignment are slightly different here :-) But once signatures get more advanced, will handle the unpacking too. but yes, that's the essential idea my ($a, $b) = .... is a list assignment PAST nodes don't have a way to make copies of themselves? PerlJam: oh, we could probably implement clone on them if we wanted to. but I don't think we need a copy I'd like to see that whatever PAST structure is returned for a signature is already correct without having to do a whole lot of higher-level context-based manipulation The list assignment stuff: it's one of those things I "know", but am still trying to work out how fits in with the fact that what you've got on the left there is actually a signature. So it's just signature binding, with forcing list context on the RHS of the '=', right? r29163 | kjs++ | trunk: : [languages/pir] updates to PIR language. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29163 it's not signature binding -- that would be := % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net OK, so... the signature evaluates to a list of PAST::Var nodes and we just do list assignment same as ($a, $b) = ... (which isn't a signature) OK But my ($a, $b) := ...; is a sig binding? yes, that will likely be a sig binding OK But then we want a signautre object on the LHS. So in that case we want the LHS not to evaluate to a list of PAST::Var nodes. well, we can always implement assignment on signatures OK, that's what I thought would be easier. I see what you're getting at, yes. Just override infix:= method for the Signature class. or possibly iterator it depends on how list assignment is implemented OK Is that on your "soon" list? yes. OK it's even mentioned in my #parrotsketch report for today :-) We need to do things like my (:$name, [$x, @*xs]) = ...; eventually too, I guess. (as yes er, yes. My gut feeling is that it's probably eaiser to implement if we call infix:= and pass it the list of things build on the RHS. *built % cotto_work has left cotto_work!~cotto@tide501.microsoft.com #ps in 5 I'm trying to imagine what a signature object looks like in PIR (haven't looked at the patches in detail yet) At the moment, just a List of Hash. % cotto_work has joined #parrot % gryphon has joined #parrot I think it will end up holding a list of some descriptors for the parameters. Whether they are some object that can be got at rather than an internal implementation detail, is the subject of my question on p6l earlier today. we may end up defining PAST::Signature before we're done :-) #ps time r29164 | jonathan++ | trunk: : [rakudo] Start to refactor declare_attribute a bit so it mostly doesn't dive into the parse tree, but instead takes parameters providing the information it needs. This is a step on making has ($.a, $.b) style things work. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29164 pmichaud: That'd be...fun. :-) The main reason I want signatures, of course, is to have all the info available for during MMD. well, we have to applications for signatures one is for MMD but one is to specify the parameters for calling s/to applications/two applications/ and the PIR that gets generated in each case will be different unless, of course, we make major modifications to PIR/IMCC :-P As a language users, even without mmd, we want signatures. The lack of it pisses me in Perl 5. And with junctionnal types, signatures have the flexibility of Perl 5 . So kudos to jonathan++ r29165 | kjs++ | trunk: : [languages/pir] make simple assignments work. Yay! diff: http://www.parrotvm.org/svn/parrot/revision?rev=29165 cognominal: Well, what I'm working on is more about being able to interogate the signatures and making the full details available to MMD algorithm as much as anything else. r29166 | chromatic++ | gsoc_pdd09: : [src] Made GC diagnostics disable-able, and disabled them by default. This : still allows us to get GC diagnostics when we need them, but doesn't interfere : with passing tests. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29166 % mire has joined #parrot Is there a metacommitter in the house? what is a metacommitter? or the glossary I should read a metacomitter can give commit access i'm one NotFound gets access. cool, NotFound++ Good :) * NotFound cleans his chainsaw... clean chainsaws hurt much less then rusty ones ;) NotFound: please follow the directions in section "Instructions the new committer must follow" in docs/project/metacommitter_guide.pod (Parrot Chainsaw Massacre)-- * davidfetter waves to cotto_work * cotto_work waves back at davidfetter any word from your cow orkers? nope, but I'll let you know once something happens thanks :) np % kj has left kj!~IceChat7@193.1.100.105 Subversion password created. account name? account name is youndts purl, forget account name cotto_work: I forgot account name julianalbo do you have an rt account? Yes, and have rights on it. and it's julianalbo, too? if so, then you're set. welcome! Yes. Thanks! Checking out with the account. Someone want to double check my delete branch cmdline tewk: OK, continuing with our discussion ... svn del http://svn.perl.org/parrot/branches/gsoc_nci r29167 | jonathan++ | trunk: : [rakudo] Make has ($x, $y) work. It doesn't work with twigils just yet, but that should be a grammar change. Also remove some incorrect cuddles. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29167 Gotta go to the store - back soon. I think the only structure defs I have checked into the SVN repo are the variants on 'float4' ... see examples/benchmarks/float4.pir and examples/opengl/shapes.pir. I've got more locally that I'm hacking on. Also, note that chromatic's old 2D SDL bindings have a fair number of structure defs. % shamu has joined #parrot He uses named struct elements, but for my stuff the overhead of named keys is significant, so I don't. tewk: that should work In your structure definitions, it should be possible to use both the friendly and the fast ways. (If we could make the friendly way fast, that would be nice, but I'm not holding my breath ...) dalek: you have ruined my first attempt to commit :D afk for a bit Er.... jonathan japhb: generating both should be easy, mabye as STRUCTNAME_pos and STRUCTNAME_named, and then storing them as namespace_globals They're OrderedHashes anyway, so you can access them either way. By index or by key, I mean. % barney has left barney!~bernhard@p549A3934.dip0.t-ipconnect.de r29168 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] redefine Gc_it_card to be an unsigned char instead of a bitfield. 8-bit bitfield was being padded by some compilers to 32 bits long. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29168 r29169 | tewk++ | gsoc_nci: : [gsoc_nci] removing outdated branch diff: http://www.parrotvm.org/svn/parrot/revision?rev=29169 r29170 | tewk++ | gsoc_nci: : [gsoc_nci] recreate branch diff: http://www.parrotvm.org/svn/parrot/revision?rev=29170 examples/benchmarks/float4.pir has several ManagedStruct creation alternatives. We can generate all or some of them using name mangeling r29171 | julianalbo++ | trunk: : Add Parrot_printf and Parrot_eprintf to the extend API diff: http://www.parrotvm.org/svn/parrot/revision?rev=29171 Done :) Nicely done. Now you have to resolve the ticket. Done. * moritz wonders why purl doesn'T have some sneaky comment on 'Done.' NotFound: Er....yes? jonathan: you ruined my first attempt to commit, with the actions.pm codingstd Oh, by beating you to fixing it? Yes, It was nice little change to start. chromatic: hmmm, I thought only the structure *definitions* were OrderedHashes, but the structures themselves were something different ... D'oh - sorry! * japhb needs to add a couple more cases to float4.pir, it sounds like. jonathan: no problem :) Because I'd be happy to get away from the "friendly/fast" dichotomy. japhb, if I recall correct, all access to struct members uses the OrderedHash. correctly that is chromatic: Hmmm, OK, thanks. * japhb will hack up a couple tests after finishing lunch :-) % mire has left mire!~Frodo@8-168-222-85.adsl.verat.net r29172 | tewk++ | gsoc_nci: : [gsoc_nci] ncigen diff: http://www.parrotvm.org/svn/parrot/revision?rev=29172 r29173 | jonathan++ | trunk: : [rakudo] Allow has ($.x, $y, $!z) to work. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29173 % iblechbot has left iblechbot!~iblechbot@ppp-62-216-222-54.dynamic.mnet-online.de % slightlyoff has joined #parrot % ruoso has left ruoso!~ruoso@201.45.49.162 % sjansen has left sjansen!~sjansen@206.83.88.66.ptr.us.xo.net % purl has left purl!~purl@florence.kuiki.net % purl has joined #parrot % teknomunk has joined #parrot % cotto_work is now known as c karma purl purl has karma of 8129 % c is now known as cotto_work karma purl purl has karma of 8129 karma cotto cotto has karma of 18 r29174 | julianalbo++ | trunk: : Fix a codingstd in release_manager_guide.pod diff: http://www.parrotvm.org/svn/parrot/revision?rev=29174 % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com r29175 | jonathan++ | trunk: : [rakudo] Stop producing blocks when we only want a signature object. Additionally, start storing the constraints in the signature object. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29175 jonathan: no need for a [rakudo] tag in commit messages to the pugs repo ;) Oh, geck! It's automatic now! ;) Apologies. apologies are worthless but they create an opening. Thanks for the inspiration, purl... r29176 | Whiteknight++ | trunk: : [core] updated function-level documentation and a few error messages in src/lists.c diff: http://www.parrotvm.org/svn/parrot/revision?rev=29176 r29177 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] updating to trunk r29148. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29177 % japhb has left japhb!~geoff@76-191-190-8.dsl.static.sonic.net is there a way to make gdb break whenever any function from a certain file is run? % Ivatar has left Ivatar!~graham@tu055.demon.co.uk ANY function or a particular function? any function a particular function is easy I'm not aware of one. how do I find out where an exception was thrown from at the C-level? cotto_work: Maybe put a breakpoint in real_exception and look at the stack trace. that'd work. jonathan++ I was thinking some days ago about the idea of adding an option to abort when an exception is thrown without handler. isn't that what happens now? It exits, without dumping core. So you get a backtrace. Interesting. r29178 | Whiteknight++ | trunk: : [core] update error messages in src/lists.c, again. Now, includes total number of items in list, for comparison. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29178 r29179 | julianalbo++ | trunk: : Avoid a warning on Solaris, clarify PARROT_const_cast usage, see RT#56110 diff: http://www.parrotvm.org/svn/parrot/revision?rev=29179 % japhb has joined #parrot Report: http://use.perl.org/~JonathanWorthington/journal/36875 good report pmichaud: Will do next Rakudo day on Thursday. Feel free to have a shuffle around on parameters stuff if you wish. Won't do any more today/tomorrow. jonathan: sounds good. I'll look around at parameters and signatures I have put in a test for has ($x, $y) style things good. Put didn't get around to my ($a, $b) Maybe good to stick one in before you start refactoring. well, we have quite a bit of my ($a, $b) in the test suite already. but they are all fudged atm OK, well, maybe something works now. I need to get off the computer and rest my hands/arms. Will be about on IRC tomorrow, if there's any questions - will code again on Thursday. % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % gryphon has joined #parrot still trying to get a feel for the test suite, and i wanted to run a single test. how is that done? in the simplest case (not fudged) ../../parrot perl6.pbc t/spec/S29-str/lc.t and if it's fudged, echo S29-str/lc.t > t/localtest.data; make localtest moritz: thanks moritz: if it's been fudged, couldn't i run the fudged script in similar fashion to the first method? yes, run the .rakudo instead of the .t file but remeber to regenerate the .rakudo file when you change the .t file Why doesn't #parrot have a topic right now? it does That's ... odd. 01:27 -!- Topic for #parrot: Parrot 0.6.3 "Beautiful Parrot" Released | http://parrotcode.org/ | 5/649/88 new/open/stalled tix | logged in http://irclog.perlgeek.de/parrot/today 01:27 -!- Topic set by smash [~smash@bl5-75-155.dsl.telepac.pt] [Tue Jun 17 17:56:33 2008] japhb: irc clients sometimes fail to get current topic, nothing unusual. NotFound: I've literally never seen that happen before. Especially when there is a negative response to '/topic' japhb: in some server is more frequent, don't know why. Maybe is the server that lost sync, and that happens more frequently in some networks. ah, that makes sense I've never seen that either (always use irssi) I've seen lot of times in irc-hispano.org, and with a variety of clients. anyway, time for bed r29180 | julianalbo++ | trunk: : Fix trailing space in list.c diff: http://www.parrotvm.org/svn/parrot/revision?rev=29180 % jhorwitz has left jhorwitz!~chatzilla@96.245.16.45 % japhb has left japhb!~geoff@208.201.228.107 % Ademan has left Ademan!~dan@h-67-101-42-57.snfccasy.dynamic.covad.net Finally I've got a PASS make test in C++ build :) Good nigth Good work. NotFound++ :) % bacek_ has joined #parrot % rafl has left rafl!~rafl@62.75.161.67 % AndyA has left AndyA!~andy@ca93nt.hexten.net % chromatic is now known as chromatic_away % rafl has joined #parrot % AndyA has joined #parrot % japhb has joined #parrot % Ademan has joined #parrot % TiMBuS has joined #parrot % Ademan has left Ademan!~dan@h-67-101-96-56.snfccasy.dynamic.covad.net % kid51 has joined #parrot % Theory has left Theory!~Theory@c-67-160-131-113.hsd1.or.comcast.net % kid51 is now known as kid51_at_dinner % Ademan has joined #parrot moritz: i've tried that trick to run a single test, it seems to need Test.pm. what's the easiest way to including t/spec/packages/Test.pm in @INC for this? s1n: That's not _the_ Test.pm that's used for the tests Auzon: what is? parrot/languages/perl6/Test.pm okay, how do i get that in @INC so I can run a single test? Easiest way is to be in parrot/languages/perl6, and type ../../parrot perl6.pbc ~/pugs/t/whatever hmm ok... that worked, thanks by the way, is it just me or does it take a while to start the test? % magnachef has joined #parrot Took me 5.5 seconds for spec/S02-builtin_data_types/nested_arrays.t with an unoptimized build and all % Ademan has left Ademan!~dan@h-67-101-145-62.snfccasy.dynamic.covad.net -e1 takes ~.3s though. weird, i'm on a gentoo build, nothing special in the configure, took me 11.5 seconds my proc isn't that slow either, wonder why that is How long does -e1 take? heh, if i strace it, it'll segfault, does a ton of brk() calls that seem slow too what's -e1? just ../../parrot perl6.pbc -e1 1s what is that though? Basically, a no-op to see how long Rakudo takes to start up optimizations? oh s1n: perl Configure.pl --optimize --inline will speedup parrot a bit hmm, i was running the perl6 bin to get 11.5s, running parrot with the perl6.pbc took 7.7s half as long for -e1 bacek_: i'll give it a whirl why would the perl6 bin be twice as slow as using parrot and the pbc? s1n: --target parse, past, pir The perl6 binary has been known to have problems sometimes too. check times Tene: what is that, a configure switch? err looks like make target? no, parrot perl6.pbc --target=parse foo.pl oh, okay, will in a second, rebuilding parrot % Ademan has joined #parrot that's no good, segfault building perl6.pbc with those configure options hmm, i didn't disable debugging and parrot doesn't have any debuggable symbols file shows its not stripped though s1n: make realclean is ultimate answer can somebody tell me what freeze/thaw is? what does that do compared to just clean? Whiteknight: serialize/deserialize its the Storable interface Infinoid, what do you mean by that? I'm not familiar with that interface at all Whiteknight: take a complex data structure, "freeze" it into a string, so you can send it across a network or stick it in a file then, get it on the other side and "thaw" it back into your complex data structure. http://search.cpan.org/~ams/Storable-2.18/Storable.pm okay, I think I see what you're talking about That's how PMCs are stored in PBC? very likely, yes s1n: realclean gets rid of extra stuff (including Makefiles and other Configure-generated files) that clean does not. Often when 'make clean; make' fails, 'make realclean; perl Configure.pl; make' works japhb: yeah i eventually noticed my makefiles were gone no go, with --optimize and --inline i still get a segfault i don't seem to have any symbols, but this is the top of the stack: Parrot_ResizablePMCArray_set_pmc_keyed_int is there a pastebot in here? 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/ s1n: http://nopaste.snit.ch/ is the normal one "s1n" at 75.16.180.101 pasted "optimize and inline crash with nqp.pbc" (20 lines) at http://nopaste.snit.ch/13532 i don't have full symbols for some reason though that was executed by doing: ./parrot /home/s1n/Projects/parrot/compilers/nqp/nqp.pbc --output=src/gen_actions.pir --encoding=fixed_8 --target=pir languages/perl6/src/parser/actions.pm which was part of the make procedures anyone have an idea as to how to get debugging symbols, so i can post an RT bug (if necessary)? not sure... normally debugging is on (Configure.pl has a --debugging=n flag, but it defaults to 1) % kid51_at_dinner is now known as kid51 s1n: which command causes this segfault? bacek_: ./parrot /home/s1n/Projects/parrot/compilers/nqp/nqp.pbc --output=src/gen_actions.pir --encoding=fixed_8 --target=pir languages/perl6/src/parser/actions.pm ah. ok missed the line s1n: can you try run it manually with -G optiion? ./parrot -G /home... Infinoid: i didn't disable that, just provided a prefix, optimize, and inline s1n: do you know if both of those were necessary to reproduce the crash? optimize seems to be the trigger, i took off inline and it still did it i'll try with just inline I get a different segfault with --optimize no segfault with just inline okay, does anyone have any ideas what i'm doing wrong to not get debuggable symbols? i'll submit an RT ticket % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net "Infinoid" at 75.5.244.195 pasted "building perl6 segfaults on x86_64 with Configure.pl --optimize" (95 lines) at http://nopaste.snit.ch/13533 s1n: what platform? amd64 gentoo, all source compiled I am also running gentoo amd64, and debugging symbols are working here hmmm what the hell my system isn't exactly standard (I've upgraded to perl 5.10.0 for instance), but last I checked, stock gentoo worked fine (if there's any such thing as "stock gentoo" :)) maybe its worth comparing Configure.pl's output "Infinoid" at 75.5.244.195 pasted "Here's mine." (89 lines) at http://nopaste.snit.ch/13534 hmm i've got a different parrot version: r29179 % cognominal has left cognominal!~cognomina@82.67.232.89 "s1n" at 75.16.180.101 pasted "configure output" (90 lines) at http://nopaste.snit.ch/13535 there's not much different, i have ctags and a different parrot revision yeah, that looks pretty innocent japhb might be interested in getting a look at your glxew.h (my system doesn't have that), but that shouldn't affect debugging symbols I don't think guess the next step is to trade cflags the first couple lines output by "make" show how it invokes the compiler Infinoid, s1n: Yep, I'm always interested in getting new tarballs of GL headers ... there's a -g in there in mine... it's long but it ends with: -march=nocona -O2 -pipe -g -DHAS_GETTEXT -DHAVE_COMPUTED_GOTO -fPIC -I. -o xx.o -c xx.c % cognominal has joined #parrot not mine for some reason, it's not adding it for me even when i specify debugging=1 if i figure out what's going on there, i'll submit a patch, i gotta get some symbols first i do have this in my CFLAGS though: -DDISABLE_GC_DEBUG=1 -DNDEBUG r29181 | jkeenan++ | trunk: : [configure] Merge autojit branch into trunk per : http://rt.perl.org/rt3/Ticket/Display.html?id=43318. Code from runstep() : refactored into internal subroutines, then tested. Description which : Configure.pl prints for this step has been made more precise. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29181 % contingencyplan has left contingencyplan!~contingen@cpe-76-186-27-146.tx.res.rr.com % chromatic_away has left chromatic_away!~chromatic@sub17-30.member.dsl-only.net % magnachef has left magnachef!~magnachef@cpe-74-78-109-88.buffalo.res.rr.com % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % kid51 has left kid51!~jkeen@pool-70-107-11-63.ny325.east.verizon.net Infinoid: okay, i built parrot with symbols and i got a totally different backtrace s1n: what did you have to change? "s1n" at 75.16.180.101 pasted "optimize segfault" (36 lines) at http://nopaste.snit.ch/13536 i think i'm going to create an RT ticket since i'm not the only one getting this please do should i still use the parrot bug or just email the ml? err parrotbug parrotbug@parrotcode.org, the mailing list will be copied automatically will that create an RT ticket? yes. okay want me to include your backtrace too? hmm, good question. I'm not sure they're caused by the same thing * Infinoid will try with -G in theory they should be caused by the same thing, because our platforms are more or less the same. but the crash definitely occurs in a different spot adding -G to the parrot command line allows it to succeed. guess that means it's memory-management related the perl6 pseudo-executable built properly for me now that I got past that one spot in compilers/json/ lemme try that before I submit the repor t great, thanks. (if -G does affect it, it's worth mentioning that, but it doesn't mean the bug shouldn't be submitted) -G as a gcc option? no, it's a parrot option oh it means "turn off garbage collection" alright, i'll rebuild and try again. i'll submit the report when i'm done, thanks for the help Infinoid no problem. s1n++ for the testing heh i wanted to try working through some of the skipped rakudo tests, but finding this problem will be sufficient for tonight's effort :) yup, works with the -G option alright, im out for tonight % purl has left purl!~purl@florence.kuiki.net % Andy has joined #parrot % Theory has joined #parrot % Ademan has left Ademan!~dan@h-68-167-206-130.snfccasy.dynamic.covad.net % slightlyoff has left #parrot % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177229188.adsl.alicedsl.de % Psyche^ is now known as Patterner % Debolaz has left Debolaz!~root@nat.andersberle.com % particle1 has joined #parrot % particle has left particle!~particle@c-98-232-28-49.hsd1.wa.comcast.net % chromatic has joined #parrot if I want to add tests to an existing .t file where the tests are current pasm, is it fine to use pir? Yes, please do. thanks % apeiron has left apeiron!~apeiron@c-69-248-118-67.hsd1.pa.comcast.net should a normal Array PMC evaluate to true when it has unassigned elements (i.e. only size has been set)? % Andy has left Andy!~Andy@64.81.227.163 it does currently, but it seems counterintuitive % Andy has joined #parrot I guess it is the least surprising thing to do, though. r29182 | cotto++ | trunk: : [gdbm pmc] return empty string instead of PMCNULL for null key or gdmb handle diff: http://www.parrotvm.org/svn/parrot/revision?rev=29182 % Theory has left Theory!~Theory@c-67-160-131-113.hsd1.or.comcast.net % uniejo has joined #parrot it looks like freeze and/or thaw for src/pmc/array.pmc are broken and list_visit has no test coverage is this worth fixing? other list functions have very good test coverage % purl has joined #parrot More tests is usually good. % Andy has left Andy!~Andy@64.81.227.163