Camelia, the Perl 6 bug

IRC log for #parrot, 2008-07-08

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 japhb Gah!
00:00 TiMBuS joined #parrot
00:00 japhb Does IMCC do any constant expression folding, and if so, how do I convince it to do so?
00:02 japhb I want to do something like this: '.macro_const ROWS 10; .macro_const COLS 5; $I0 = 4 * .ROWS * .COLS'
00:02 japhb And have it actually work.
00:03 bacek_ japhb: check my patch from rt #56630. It uses macros.
00:04 japhb Similarly, I want '.macro_const FLAG_FOO 1; .macro_const FLAG_BAR 2; .macro_const FLAG_BAZ 4; $I0 = FLAG_FOO | FLAG_BAR | FLAG_BAZ' work ...
00:04 japhb bacek_: checking
00:06 bacek_ $I0 = 4 * .ROWS * .COLS will not work anyway
00:07 japhb bacek_: it *should*.  Because the RHS is a constant expression that should be turned into a single integer constant by the compiler.
00:07 japhb COMPARISON is misspelled in your patch.  ;-)
00:07 nopaste "Coleoid" at 76.251.83.159 pasted "kid51: win32 'prove' and 'Configure.pl' auto_icu details" (231 lines) at http://nopaste.snit.ch/13512
00:08 particle japhb: imcc doesn't do expressions. it does pir
00:09 particle you can create a '|'() function that takes slurpy args, and similarly a '*'() function
00:09 japhb particle: By which I assume you mean, purely desugaring.
00:09 particle yes
00:10 AndyA joined #parrot
00:10 japhb OK, fine.  But what about the macro engine?  Is it purely text substitution as well, or can it be made to evaluate an expression?
00:10 Khisanth joined #parrot
00:10 japhb I'd happily settle for '.macro_const ROWS 10; .macro_const COLS 5; $I0 = .EXPR(4 * .ROWS * .COLS)'
00:11 japhb or the moral equivalent
00:11 japhb I want no runtime cost.
00:11 japhb And the result of the expression to be stored in the constant table.
00:12 particle you're out of luck
00:12 japhb sigh ....
00:13 particle you can use the .NL() macro
00:13 * japhb blinks, goes to look up .NL()
00:13 particle $I0 = 4 * .ROWS .NL() $I0 *= .COLS
00:13 particle it at least allows you to put it on one line :)
00:13 japhb particle: oh sure ... but it's still a runtime cost.
00:13 particle runtime/parrot/include/hllmacros.pir
00:13 jonathan japhb: Just emit clear code that does the right thing. And worry about <whatever thing compiles PIR in the future> to optimize it for you.
00:14 particle imcc internally does constant folding
00:14 particle but you can't do expressions in pir
00:14 jonathan Trying to emit clever code only makes things harder for the PIR optimizer to improve.
00:15 jonathan And the kind of thing you're pointing out, should be simple optimizations to implement, if they aren't already there. (Not that I'm sure, how bit-rotten the PIR optimizer is.)
00:15 japhb particle: OK, if it doesn't handle expressions in the source, what is it doing?  Does it collapse away ops in the source that it can calculate a forced result for?
00:17 japhb jonathan: I'm not trying to be clever.  A constant expression is the clearest way to express what I'm doing.  Since the expression is a no-go, it's then a matter of knowing how to feed the beast with a less-clear version that still does what I want.
00:18 japhb Besides, I'm writing a benchmark.  Unintentionally doing something that breaks internal optimization would invalidate the results.  :-)
00:22 japhb To be more precise, I'm benchmarking different ways of handling packed data that will exchanged with C.  One of the goals is to determine the fastest way to do it *now*, given the current state of Parrot.  The other goal is to determine if the current packed structure handling is just too slow by design, and thus in need of a redesign.
00:23 japhb s/(fastest way)/$1s/
00:26 cotto-work what's the right way to use get_iter from PIR?
00:26 cotto-work iter = get_iter p #doesn't work
00:26 jonathan cotto-work: $P0 = iter thingy
00:27 cotto-work thanks
00:27 cotto-work jonathan++
00:27 jonathan japhb: Disassembling $I0 = 1 + 3 is curious. :-)
00:28 jonathan It disassembles to
00:28 jonathan 00000330 00000000 00000004
00:28 jonathan In there, the first value is op code, the second means integer register zero, and the third word in there holds a 4
00:28 jonathan So it's generating a set $I0, 4
00:29 jonathan If you want to have similar fun, pdump is your friend. :-)
00:29 jonathan (And probably the best way, if you're happy reading Parrot bytecode in binary form, of seeing what stuff compiles down to.)
00:35 jonathan OK, sleep, Rakudo hacking once I wake up. Night folks.
00:35 japhb g'night
00:35 Coleoid Night!
00:46 clunker9_ joined #parrot
00:47 Limbic_Region joined #parrot
00:48 kid51_at_dinner /nick kid51
00:48 contingencyplan joined #parrot
00:51 contingencyplan joined #parrot
00:51 cotto-work make pdump dies, although deleting the offending constraint makes the build succeed
00:53 cotto-work (line 40 of src/packdump.c)
00:53 bacek_ joined #parrot
01:03 Coleoid If I make spectest_regression, it tells me 2252 tests.  How can I learn the number actually passed?
01:04 Coleoid I could... uh...
01:04 Coleoid Subtract the wallclock seconds.
01:04 pmichaud Coleoid: try "perl tools/test_summary.pl"
01:05 Coleoid Very cool, thanks!
01:06 pmichaud "make spectest_regression" wasn't giving me the statistics I wanted (as in "tests actually passed"), so I created tools/test_summary.pl as an alternative
01:06 pmichaud I'm about to commit a version that also summarizes todo results, as well as 'skip'
01:06 bacek_ joined #parrot
01:08 dalek r29134 | pmichaud++ | trunk:
01:08 dalek : [rakudo]: Make tools/test_summary.pl summarize TODO results also
01:08 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29134
01:09 dalek r29135 | pmichaud++ | trunk:
01:09 dalek : [rakudo]: Get empty subs to properly return undef
01:09 dalek : * Refactor 'undef' to be a named_0ary
01:09 dalek : * Clean up routine_declarator a bit
01:09 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29135
01:12 Coleoid *blink*  Not kidding, 'about to commit'.
01:12 Coleoid Hey, isa_ok() is working.
01:12 kid51 Coleoid:  Thanks again for the testing assistance!
01:13 Coleoid kid51: Sure thing!
01:14 Coleoid The help was mutual, I build now!  :D
01:19 kid51 Coleoid:  the developer who filed the test failure report on auto::icu, Fran�ois Perrad, is one of our major people on Win32.  So he can probably be helpful in problems you encounter.
01:21 bacek_ joined #parrot
01:23 Coleoid kid51: Thanks.  Is François often here?
01:24 dalek r29136 | Whiteknight++ | gsoc_pdd09:
01:24 dalek : [gsoc_pdd09] Fixed some pointer arithmetic for proper alignment. Doesn't solve my segfault problem, but makes me feel better.
01:24 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29136
01:24 cotto-work Coleoid, I can't remember having seen fperrad (and I've been looking)
01:24 dalek r29137 | chromatic++ | trunk:
01:24 dalek : [pdump] Fixed pdump compilation (reported by Christoph Otto).
01:24 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29137
01:25 cotto-work chromatic++
01:25 kid51 purl doesn't seen to know any 'fperrad' -- but he follows the list and RT closely
01:26 cotto-work karma fperrad
01:26 purl fperrad has karma of 766
01:26 cotto-work (probably mostly from svn commits)
01:27 Whiteknight that's the best way to earn karma
01:28 Whiteknight at least, best for the project
01:31 cotto-work playing with polyglotbot would be the fastest, but someone would probably notice
01:31 dalek r29138 | chromatic++ | trunk:
01:31 dalek : [PMC] Fixed a warning in the Float PMC.
01:31 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29138
01:32 magnachef joined #parrot
01:32 bacek_ joined #parrot
01:37 dalek r29139 | jkeenan++ | trunk:
01:37 dalek : Use a named variable () instead of config/auto/pack.pm inside foreach loop inside runstep().
01:37 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29139
01:41 Whiteknight segfault--
01:41 dalek r29140 | Whiteknight++ | gsoc_pdd09:
01:41 dalek : [gsoc_pdd09] Okay, now I've ACTUALLY fixed that pointer arithmetic. It's ugly, but it should do the job for now. +comments. Fixes an assertion failure, doesn't fix my segfault error.
01:41 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29140
01:50 dalek r29141 | jkeenan++ | trunk:
01:50 dalek : Make program flow inside runstep() more coherent.
01:50 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29141
01:54 nopaste joined #parrot
01:59 nopaste "magnachef" at 74.78.109.88 pasted "make error on CentOS release 4.6" (20 lines) at http://nopaste.snit.ch/13513
02:01 magnachef does anyone else have issues making parrot trunk on CentOS 4.x?
02:06 pmichaud (wild guess)  -- that looks to me as though libparrot isn't being built or linked properly
02:06 pmichaud oh... perhaps you did a "make install" step previously?
02:07 pmichaud if so, then it's probably grabbing the wrong libparrot
02:07 magnachef I've done make cleans, and tried making from a new co
02:07 pmichaud well, if you ever did 'make install' on that system, then make clean and a new checkout won't help
02:07 dalek r29142 | Whiteknight++ | gsoc_pdd09:
02:07 dalek : [gsoc_pdd09] Fixed an existing problem with the Memory_Pool compacting code attempting to dereference links in non-PObj memory objects. Doesn't fix my segfault error.
02:07 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29142
02:08 pmichaud it'll still grab the "install" version of the library instead of the newly built on
02:08 pmichaud *one
02:08 pmichaud I'm still just guessing here
02:09 magnachef ahhh, so how do I clear the old libparrot out?
02:09 pmichaud I don't know.  perhaps look for libparrot in /lib, /usr/lib, /usr/local/lib, or the other standard "lib" places
02:09 magnachef yeah, running a find now
02:14 dalek r29143 | pmichaud++ | trunk:
02:14 dalek : [rakudo]:  Make 'return' with no arguments work for now. (RT #56638, masak++ )
02:14 dalek : * Patch courtesy "Carl M�sak" <cmasak@gmail.com>
02:14 dalek : * See also note in ticket regarding proper return value.
02:14 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29143
02:27 magnachef hmmm...still can't find libparrot anywhere
02:29 magnachef I have done builds fine on freebsd, openbsd, netbsd, etc with no issue
02:29 pmichaud did you look for libparrot.*, or just "libparrot"?
02:29 magnachef just libparrot
02:30 magnachef let me try with libparrot.*
02:31 magnachef found it in: /home/parrot/builds/trunk/blib/lib/
02:33 pmichaud that's the one you just built
02:33 pmichaud (at least it should be)
02:33 pmichaud any others?
02:34 magnachef that was it
02:34 magnachef it was there after a make clean
02:34 pmichaud I would expect it to remain after 'make clean' -- it shouldn't be there after 'make realclean' though.
02:34 kid51 'make realclean' is the smoke tester's friend!
02:35 pmichaud make clean just gets rid of the files needed to build parrot -- it doesn't eliminate the files needed to run parrot
02:35 magnachef ahhh, realclean is what I need
02:35 kid51 It's like castor oil for the configuration system!
02:35 magnachef guess I need to change those VMs then
02:37 * magnachef makes 'make realclean' is friend
02:37 magnachef s/is/his/
03:02 dalek r29144 | jkeenan++ | trunk:
03:02 dalek : Additional refactoring from within auto::sizes::runstep().  Test resulting internal subs.
03:02 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29144
03:04 * kid51 must sleep
03:04 purl $kid51->sleep(8 * 3600);
03:09 Whiteknight ha, if I manage to get a full 8 hours, I'll say something nice about purl
03:09 * Whiteknight is sure that won't happen
04:37 nopaste "japhb" at 76.191.190.8 pasted "Limits of IMCC constant folding" (67 lines) at http://nopaste.snit.ch/13514
04:38 japhb jonathan: See paste above.  It's not clear how a constant expression of more than two operands can be folded successfully ....
05:24 baest joined #parrot
05:25 Psyche^ joined #parrot
05:39 nopaste joined #parrot
05:46 Ademan joined #parrot
05:48 Theory joined #parrot
05:53 dalek r29145 | pmichaud++ | trunk:
05:53 dalek : [rakudo]: Refactor Perl6Capture to use Capture_PIR, implement prefix:<\\>
05:53 dalek : * This implementation is almost certainly buggy, but it's a start.
05:53 dalek : * Partially addresses RT #56684 (moritz++)
05:53 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29145
06:00 bacek_ Yo! pmichaud++
06:03 * bacek_ running autounfudge --auto
06:11 dalek r29146 | pmichaud++ | trunk:
06:11 dalek : [rakudo]: More updates to empty 'return', RT #56638
06:11 dalek : * Based on comments from TimToady++
06:11 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29146
06:11 pmichaud time for sleep -- be back tomorrow
06:18 Auzon joined #parrot
06:20 uniejo joined #parrot
07:00 Ademan joined #parrot
07:04 contingencyplan joined #parrot
07:04 apeiron_ joined #parrot
07:40 barney joined #parrot
08:04 iblechbot joined #parrot
08:14 Whiteknight joined #parrot
08:26 dalek r29147 | bernhard++ | trunk:
08:26 dalek : [codingstd] Remove trailing whitespace.
08:26 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29147
08:33 jonathan morning all
08:33 purl morning, jonathan
08:34 moritz good morning
08:34 * purl whips out a machete.  I'm *tired* of your shit moritz
08:35 moritz purl, forget good morning
08:35 purl moritz: I forgot good morning
08:36 bacek_ jonathan, moritz: good localtime()
08:37 bacek_ jonathan: pmichaud steals your TODO items :)
08:37 jonathan I know!!!
08:37 jonathan I just came here thinking "OK, first item, \\...oh"
08:37 moritz but the capture patch didn't make any tests pass
08:37 jonathan Oh.
08:39 moritz at least autounfudge didn't catch any
08:39 bacek_ > my @a = (1,2,3); my @b = (1,2,3); say \@a === \@b;
08:40 bacek_ Could not find non-existent sub infix:===
08:40 bacek_ very strange...
08:41 bacek_ perl6: say 1===1;
08:41 polyglotbot 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
08:41 polyglotbot ..'parrot;PCT::HLLCompiler;command_line' pc 1267 (src/PCT/HLLCom...
08:42 jonathan Oh, that'll be because we're pasring it, but ain't implemented it yet.
08:45 bacek_ perl6: my @array = <a b c>; my $ref   = \@array; say ~$ref; say +$ref;
08:45 polyglotbot 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
08:45 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 19622 (src/gen_grammar.pir:2450)␤called f...
08:45 bacek_ polyglotbot?
08:45 purl it has been said that polyglotbot is running an outdated version of rakudo.
08:47 bacek_ bacek_: pugs: my @array = <a b c>; my $ref  = \@array; say ~$ref; say +$ref;
08:47 bacek_ [6:46pm] p6eval: pugs: OUTPUT[a b c␤3␤]
08:47 bacek_ [6:46pm] bacek_: rakudo: my @array = <a b c>; my $ref  = \@array; say ~$ref; say +$ref;
08:47 bacek_ [6:46pm] p6eval: rakudo 29147: OUTPUT[a b c␤0␤]
08:47 bacek_ jonathan: your turn to fix pmichaud's bug :)
08:48 jonathan bacek_: Should it numify to the number of array elements + the number of hash elements?
08:48 bacek_ jonathan: no idea...
08:50 bacek_ .sub 'get_number' :method :vtable
08:50 bacek_ $I0 = self.'list'()
08:50 bacek_ .return ($I0)
08:50 bacek_ .end
08:50 bacek_ will bring Capture to sinc with pugs.
08:52 bacek_ afk # ging home
08:55 Ademan joined #parrot
09:14 cognominal joined #parrot
09:36 pancake joined #parrot
09:36 pancake io
09:37 pancake $ 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)
09:49 pancake bug report created with patch
09:51 moritz pancake++
09:51 bacek moritz: about 56692
09:52 bacek moritz: there is small patch from #55438 for this bug
09:53 moritz I think I saw that, yes
09:53 bacek just a sec. I'll cut it from big diff
09:53 moritz the one that moves push_eh catch two lines up?
09:54 nopaste "bacek" at 202.7.166.181 pasted "eval patch for moritz" (17 lines) at http://nopaste.snit.ch/13519
09:54 pancake cool
09:54 bacek moritz: indeed
09:55 moritz bacek: running spectest_regression with it now. If it succeeds, I'll commit and close #56692
09:56 bacek moritz: ok.
09:56 bacek how I can check existence of file in PIR?
09:56 pancake i have a mips-linux box and x86 open/free/net bsd boxes
09:56 pancake needs testing? which kind?
09:57 pancake (also a ppc and arm ones..)
09:57 moritz all kinds, I think ;)
09:57 * bacek thinking about setting public buildbot for parrot/rakudo...
10:01 * pancake fetching parrot on mips
10:04 dalek r29148 | moritz++ | trunk:
10:04 dalek : [rakudo] fix RT #56692 (eval doesn't catch compilation errors).
10:04 dalek : Patch curtesy of bacek++
10:04 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29148
10:04 kj joined #parrot
10:04 moritz karma bacek
10:04 purl bacek has karma of 50
10:06 pancake btw is my patch ok?
10:07 bacek pancake: rt id?
10:08 moritz #56694
10:08 * moritz grabs some food
10:08 bacek No permission to view ticket
10:09 bacek oops. EWRONGTICKETNUMBER
10:09 pancake #56694
10:10 pancake src/ops/experimental.ops:424: warning: cast increases required alignment of target type
10:11 pancake all the *.ops files shows lot of warnings like this
10:11 pancake in mips
10:11 pancake and some oether in .c files src/embed.c:505: warning: cast increases required alignment of target type
10:14 jonathan moritz: I'm seeing 6 subtests UNEXPECTEDLY SUCCEEDED
10:14 jonathan Looks like there may be a few things to un-todo. :-)
10:14 jonathan (That's without any patches locally BTW)
10:19 * pancake running tests in mips
10:26 Coleoid joined #parrot
10:29 moritz jonathan: no need to un-TODO these tests, they are likely bogus
10:30 moritz an operation returns a completely wrong result, but the type of the result is right, so the isa_ok passes
10:31 jonathan moritz: Ah, OK.
10:31 jonathan So long as we don't end up with *too* many like that.
10:31 moritz aye
10:31 jonathan Though thankfully they shown in a distinct list, so it's hard to confuse them with failures that your changes have introduced.
10:32 moritz I'll take care the spectest_regression output stays sane, readable and concise
10:33 jonathan Thanks, it's much appreciated. :-)
10:33 moritz because that's the reason for having it in the first place, as opposed to spectest
10:44 pancake http://news.nopcode.org/parrot-mips-test.txt
10:44 moritz cool
10:53 nopaste "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
10:54 bacek afk
10:54 pancake http://www.toolness.com/wp/?p=52
10:56 jan joined #parrot
10:59 moritz pancake: very interesting
11:02 pancake yup it is
11:45 ruoso joined #parrot
11:47 Whiteknight joined #parrot
11:47 Ademan joined #parrot
11:56 dalek r29149 | Whiteknight++ | gsoc_pdd09:
11:56 dalek : [gsoc_pdd09] Updating to trunk r29148
11:56 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29149
12:06 dalek r29150 | jonathan++ | trunk:
12:06 dalek : [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.
12:06 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29150
12:14 tetragon joined #parrot
12:15 iblechbot joined #parrot
12:24 pancake how can i comment multiple lines in perl6?
12:25 pancake http://dev.perl.org/perl6/rfc/5.html <- none of these ways works
12:25 moritz pancake: I think that's described in S02
12:25 moritz S02?
12:25 purl S02 is http://dev.perl.org/perl6/doc/design/syn/S02.html
12:26 moritz or http://perlcabal.org/syn/S02.html
12:26 moritz or \n=begin comment\n stuff here \n=end comment\n
12:27 barney joined #parrot
12:28 pancake ok works
12:30 pancake is there a perl6 vim syntax highlighting available?
12:37 Whiteknight yeah, look in the editor/ folder in the repo
12:37 Whiteknight it contains the highlighting files and some documentation for them
12:47 moritz pancake: in utils/perl6.vim in the pugs repo
12:48 moritz http://svn.pugscode.org/pugs/util/perl6.vim
12:54 donaldh joined #parrot
12:55 dalek r29151 | bernhard++ | trunk:
12:55 dalek : [Pipp PCT] Add token METHOD_NAME and use it in the rule 'method_definition' and 'method_call'.
12:55 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29151
12:58 teknomunk joined #parrot
13:28 gryphon joined #parrot
13:34 jhorwitz joined #parrot
13:39 rdice joined #parrot
13:46 pancake moritz: thanks
13:52 jonathan pmichaud: ping
13:54 pmichaud pong
13:55 jonathan pmichaud: Am hacking a bit on signatures today.
13:55 pmichaud I saw that.  :-)
13:55 jonathan I'm now looking at parameter/signature actions and wanted your thoughts on this.
13:56 jonathan Basically, I need to build up a signature object as well as the PAST.
13:56 jonathan I know you've mentioend wanting to try and do more in parameter and less in signature too.
13:56 pmichaud well, I still haven't done all of the parameter refactori.... right :-)
13:57 jonathan 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. :-)
13:57 pmichaud I'm pretty close to being able to do the refactor, since I got $_ and friends working this past week
13:58 pmichaud I hadn't thought about building signatures in parallel (although it obviously needs to be done)
13:58 jonathan OK, what do you want me to do?
13:58 pmichaud good question.
13:58 purl Yeah, it is. I'm stumped.
13:58 pmichaud hrm.
13:59 jonathan Keep the code relatively as it is, but build the signature in parallel, and leave it for you to refactor later?
13:59 pmichaud yes, let's go ahead and do that for now.
13:59 jonathan OK.
13:59 jonathan The toher thing is
13:59 jonathan :(Bar, Foo)
13:59 pmichaud refactoring hasn't been as big an issue as it seemed to be at first.
13:59 jonathan This is allowed (seen in various places in synopses)
14:00 jonathan <signature> and, more specifically, <parameter> don't see to have a way of not specifying a name, but just a type, however.
14:00 jonathan s/see/seem/
14:00 pmichaud (phone)
14:01 barney Is there a PCT based language, that uses plain PMCs as objects ?
14:16 pancake isnt .HOW implemented?
14:17 moritz perl6: say 1.HOW
14:17 polyglotbot 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
14:17 polyglotbot ..(src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler...
14:17 moritz it is implemented, but it doesn't convert to string right now
14:17 moritz perl6: say 1.HOW.WHAT
14:17 polyglotbot OUTPUT[Int␤]
14:18 * jonathan wonders how HOW should stringify
14:19 pancake moritz: oks i see
14:19 pancake howhow
14:19 moritz jonathan: to "don't know how to stringify meta clas"? ;-)
14:20 jonathan ;-)
14:20 pancake heh
14:27 pmichaud (PCT based language w/PMCs) ....NQP ?
14:37 barney pmichaud: Yes. NQP looks good for jumpstarting PHP OO
14:54 dalek r29152 | jonathan++ | trunk:
14:54 dalek : [rakudo] Start to build signature objects. We don't put any types in yet.
14:54 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29152
15:02 dalek r29153 | pmichaud++ | trunk:
15:02 dalek : [rakudo]: spectest-progress.csv update: 94 files, 1662 passing tests
15:02 dalek : * Also add a column with an estimate of the total number of spectests.
15:02 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29153
15:12 moritz pmichaud++ # not breaking existing code while adding another column ;-)
15:33 dalek r29154 | jonathan++ | trunk:
15:33 dalek : [rakudo] STD.pm tracking: variable_decl becomes variable_declarator, add declarator and make us able to parse a signature in a declaration.
15:33 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29154
15:41 dalek r29155 | bernhard++ | trunk:
15:41 dalek : [Pipp PCT] Fiddle with grammar and actions in order to make
15:41 dalek : the generated PAST more like the PAST generated by NQP.
15:41 dalek : But oo_1.php is still not working.
15:41 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29155
15:41 tewk joined #parrot
15:41 barney fperrard++ for identifying problem in Pipp, RT#55842
16:00 moritz parrotsketch?
16:00 purl parrotsketch is a status meeting for parrot core committers held every Tuesday at 18:30 UTC in #parrotsketch
16:01 moritz so in 2.5h if my time calculation is correct ;)
16:02 moritz don't know if I'll make it, if not my report isn't so much different from last time
16:07 pmichaud parrot sketch in 143 mins
16:07 pmichaud (2h23m)
16:09 Theory joined #parrot
16:17 tewk joined #parrot
16:21 jonathan pmichaud: Sometimes I'm getting $/.panic(...) leading to Null PMC access in type() rather than actually displaying the error message.
16:22 pmichaud jonathan: moritz and others have noticed this also
16:22 jonathan OK.
16:22 pmichaud it's occurring in $/.panic, though?
16:22 pmichaud that's odd.
16:23 pmichaud if you can get a backtrace that might help
16:23 pmichaud but I have to run errands now
16:23 pmichaud (it has become a totally crazy morning around here)
16:24 jonathan Well, it shows up in the backtrace, in one routine down the call tree.
16:24 jonathan I wonder if it's related to return in PCT.
16:24 jonathan erm
16:25 jonathan in NQP, I mean
16:25 jonathan If it was added...
16:26 moritz there's a test case in spec/S02-builtin_data_types/type.t which showed that behaviour for me
16:29 pmichaud return exists in NQP, yes, although we probably aren't using it.
16:30 pmichaud 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
16:30 jonathan Ah. Then that's probably what I'm seeing.
16:31 pmichaud I don't know how to get the backtraces working properly
16:32 jonathan Are we throwing a new exception there, or are we rethrowing the old one?
16:32 particle you mean like having an uncatch rather than rethrow?
16:32 pmichaud rethrowing the old one
16:32 jonathan OK
16:32 pmichaud but just using a C<throw> opcode to do it.  I don't know if there's a better one (that is implemented)
16:32 jonathan I'd have hoped Parrot would preserve the original trace.
16:32 jonathan Oh
16:32 jonathan OK, I was thinking there was a rethrow opcode, but maybe now.
16:32 pmichaud there's one specced, but I don't know if it's implemented
16:33 pmichaud looks like there is
16:33 pmichaud maybe I'll try rethrow instead
16:33 sjansen joined #parrot
16:33 dalek r29156 | bernhard++ | trunk:
16:33 dalek : [Pipp] add a test case where a class is defined, but not yet used.
16:33 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29156
16:33 pmichaud oh, but pdd23 claims:
16:33 pmichaud {{ NOTE: "rethrow", and "pushaction" are removed, and "die" is different }}
16:33 particle right
16:34 particle rethrow is deprecated
16:34 pmichaud might also be worth thinking about RT #56604 in this context as well :-)
16:34 pmichaud anyway, gotta run errands
16:34 pmichaud bbl
16:40 paco joined #parrot
16:43 jonathan moritz: ping
16:47 moritz jonathan: pong
16:49 jonathan moritz: Did you say there were a bunch of tests we can get passing if my ($a, $b) style things work?
16:49 moritz jonathan: I did, but I'm not so sure anymore
16:49 moritz jonathan: because many of those also involve list assignment
16:49 moritz jonathan: wich you'd also have to do to make them pass
16:50 jonathan my ($a, $b) = (1, 2) style things?
16:50 moritz jonathan: and I simplified some tests to my $a; my $b; where that's not the feature that is being tested for
16:50 moritz jonathan: yes
16:50 jonathan OK
16:50 jonathan I'm on the way to having the my ($a, $b) part working, anyway.
16:51 moritz that would be great
16:53 dalek r29157 | bernhard++ | trunk:
16:53 dalek : [Pipp PCT] Make oo_2.php succeed by using namespace more consistently.
16:53 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29157
16:55 jonathan I need to do another refactor to get this *really* working.
16:56 jonathan But the patch that I'm about to put in makes this work:
16:56 jonathan my ($a, $b); $a = 100; $b = 58; say $a - $b;
16:57 Whiteknight jonathan++
17:04 dalek r29158 | jonathan++ | trunk:
17:04 dalek : [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.
17:04 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29158
17:08 * moritz runs autounfudge to see if that patch magically got some new tests passing
17:10 moritz jonathan: does autounfudge work on windows?
17:10 * jonathan would be surprised if anything extra much passes so far.
17:10 moritz (istr that you use windows)
17:10 jonathan moritz: Not tried it...
17:10 jonathan What's the magical incantation?
17:10 moritz perl tools/autunfudge.pl --auto
17:11 moritz requires TAP::Harness and Text::Diff
17:11 jonathan moritz: What directory do I need to bein for that?
17:11 moritz jonathan: languages/perl6
17:11 purl rumour has it languages/perl6 is rakudo. strange that doesnt parse for you
17:11 particle autounfudge.pl --auto seems redundantly redundant
17:11 jonathan Oh, you'd typo'd it.
17:11 jonathan Doesn't run as I don't have TAP::Harness.
17:12 moritz particle: I know, but the --auto options refers to something else as the 'auto' in the name ;)
17:13 particle jonathan: i see :viviself('Perl6Scalar') in your patch... does that mean my (@a, %b) won't work?
17:14 jonathan particle: Yup. :-)
17:14 jonathan 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.
17:15 moritz that was the "While more work is needed ..." part of the message ;)
17:17 stupidbot joined #parrot
17:20 particle i really need to get my dev env set back up
17:20 particle lemme see if i can find that msvc install cd....
17:21 bacek joined #parrot
17:26 particle i really wanna refactor scope_declarator action method to match std better
17:28 dalek r29159 | bernhard++ | trunk:
17:28 dalek : [Pipp] Update test instructions.
17:28 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29159
17:32 jonathan particle: I'm doing bits in that area at the moment; I already added declarator earlier today.
17:32 jonathan But yes, there is much more to do.
17:32 particle sure
17:32 particle don't worry, it'll take a while for me to get things set up
17:33 particle ...but i finally found the discs
17:33 jonathan :-)
17:33 * jonathan hopes particle comes and joins the refactoring fun
17:33 particle oh, lovely, my os doesn't recognize my dvd drive
17:33 particle *sigh*
17:34 cotto-work barney, do you or fperrad have any plans to do something like make spectest for pipp?
17:34 * tewk started always keeping server2008 and MSV isos on his hard drive
17:36 barney for now there is only my notes in docs/testing.pod     39/1292 passing (nothing to brag about)
17:38 barney AFAIK for running the PHP tests one needs to compile the Test-running PHP first
17:39 cotto_work I'll look into that.
17:42 dalek bernhard.schmalhofer@gmx.de | Pipp:
17:42 dalek link: http://www.perlfoundation.​org/parrot/index.cgi?pipp
17:43 cotto_work barney, the wiki says 5.2.4 is the target.  Didn't you say we're targeting 5.3?
17:44 dalek bernhard.schmalhofer@gmx.de | Pipp:
17:44 dalek link: http://www.perlfoundation.​org/parrot/index.cgi?pipp
17:47 chromatic joined #parrot
17:49 dalek bernhard.schmalhofer@gmx.de | PHP OO for Perl 6 programmers:
17:49 dalek link: http://www.perlfoundation.org/parrot/i​ndex.cgi?php_oo_for_perl_6_programmers
17:49 barney cotto: The Wiki should be updated
17:56 cotto_work barney++
17:56 dalek r29160 | Whiteknight++ | gsoc_pdd09:
17:56 dalek : [gsoc_pdd09] Update function-level documentation for src/gc/resources.c. These changes can (and will) be folded into trunk too.
17:56 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29160
17:57 dalek r29161 | bernhard++ | trunk:
17:57 dalek : [docs] Consistent indenting of ChangeLog with tabs.
17:57 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29161
17:59 * particle reboots
18:00 dalek bernhard.schmalhofer@gmx.de | release_schedule_2008:
18:00 dalek link: http://www.perlfoundation.org/parr​ot/index.cgi?release_schedule_2008
18:02 Ivatar joined #parrot
18:05 * moritz imagines particle lying on his bed, closing and re-opening eyes and saying "reboot successful"
18:05 chromatic You can't know that.
18:06 chromatic 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.
18:06 moritz I can't know, but I can imagine ;-)
18:07 moritz and \hbar isn't very large in comparison to particle ;-)
18:09 pmichaud jonathan: in scope_declarator, shouldn't we just use the node generated in $?BLOCK_SIGNATURED rather than create new ones?
18:10 pmichaud also, ?? !! works now, so
18:10 pmichaud $scope := $declarator eq 'my' ?? ' lexical' !! 'package';
18:12 jonathan ?? !! - cool
18:12 dalek r29162 | bernhard++ | trunk:
18:12 dalek : [docs] Some fiddling with release_manager_guide.pod
18:12 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29162
18:12 jonathan The question: I don't understand what you mean. We care about the signature, not the block.
18:12 pmichaud ignore the block
18:12 jonathan We're not greating a block.
18:12 particle joined #parrot
18:12 pmichaud ignore the block
18:12 jonathan *generating
18:13 pmichaud 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
18:13 pmichaud it already has that stuff in it
18:13 pmichaud then we just adjust the scope if the declarator is 'our'
18:14 pmichaud I think I will probably get rid of $?BLOCK_SIGNATURED and just change it to $?LAST_SIGNATURE
18:14 pmichaud so that it's not a block but is instead just the signature
18:14 jonathan That will maybe work for now, but when signatures get more complex I'm less sure.
18:15 pmichaud I think it should work, or should be made to work.  duplicating the variable creation code seems wrong.
18:15 pmichaud let me know when you're at a likely stopping point for the day and I'll experiment with some refactors
18:15 pmichaud I'll also see if I can get my parameter refactors in place, since they're also a part of this
18:16 jonathan I think that the best bet will actually be to toss the parameter checking code generating, and just put it all in the signature.
18:16 jonathan Then just get the signature object itself to do the binding.
18:16 jonathan Which will do the type checks and so forth as needed.
18:16 pmichaud well, binding and assignment are slightly different here :-)
18:16 jonathan But once signatures get more advanced, will handle the unpacking too.
18:16 pmichaud but yes, that's the essential idea
18:17 pmichaud my ($a, $b) = ....     is a list assignment
18:17 PerlJam PAST nodes don't have a way to make copies of themselves?
18:18 pmichaud PerlJam: oh, we could probably implement clone on them if we wanted to.  but I don't think we need a copy
18:18 pmichaud I'd like to see that whatever PAST structure is returned for a signature is already correct
18:18 pmichaud without having to do a whole lot of higher-level context-based manipulation
18:19 jonathan 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.
18:19 jonathan So it's just signature binding, with forcing list context on the RHS of the '=', right?
18:19 dalek r29163 | kjs++ | trunk:
18:19 dalek : [languages/pir] updates to PIR language.
18:19 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29163
18:19 pmichaud it's not signature binding -- that would be :=
18:20 jonathan OK, so...
18:20 pmichaud the signature evaluates to a list of PAST::Var nodes
18:20 pmichaud and we just do list assignment
18:21 pmichaud same as   ($a, $b) = ...      (which isn't a signature)
18:21 jonathan OK
18:21 jonathan But my ($a, $b) := ...; is a sig binding?
18:21 pmichaud yes, that will likely be a sig binding
18:21 jonathan OK
18:21 jonathan But then we want a signautre object on the LHS.
18:22 jonathan So in that case we want the LHS not to evaluate to a list of PAST::Var nodes.
18:22 pmichaud well, we can always implement assignment on signatures
18:22 jonathan OK, that's what I thought would be easier.
18:22 pmichaud I see what you're getting at, yes.
18:22 jonathan Just override infix:= method for the Signature class.
18:23 pmichaud or possibly iterator
18:23 pmichaud it depends on how list assignment is implemented
18:23 jonathan OK
18:23 jonathan Is that on your "soon" list?
18:23 pmichaud yes.
18:23 jonathan OK
18:24 pmichaud it's even mentioned in my #parrotsketch report for today :-)
18:24 jonathan We need to do things like my (:$name, [$x, @*xs]) = ...; eventually too, I guess.
18:25 pmichaud (as yes
18:25 pmichaud er, yes.
18:26 jonathan 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.
18:26 jonathan *built
18:26 chromatic #ps in 5
18:27 pmichaud I'm trying to imagine what a signature object looks like in PIR
18:27 pmichaud (haven't looked at the patches in detail yet)
18:28 jonathan At the moment, just a List of Hash.
18:28 cotto_work joined #parrot
18:28 gryphon joined #parrot
18:28 jonathan I think it will end up holding a list of some descriptors for the parameters.
18:29 jonathan 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.
18:30 pmichaud we may end up defining PAST::Signature before we're done :-)
18:30 chromatic #ps time
18:31 dalek r29164 | jonathan++ | trunk:
18:31 dalek : [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.
18:31 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29164
18:32 jonathan pmichaud: That'd be...fun. :-)
18:32 jonathan The main reason I want signatures, of course, is to have all the info available for during MMD.
18:32 pmichaud well, we have to applications for signatures
18:32 pmichaud one is for MMD
18:32 pmichaud but one is to specify the parameters for calling
18:33 pmichaud s/to applications/two applications/
18:33 pmichaud and the PIR that gets generated in each case will be different
18:33 pmichaud unless, of course, we make major modifications to PIR/IMCC :-P
18:36 cognominal 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++
18:38 dalek r29165 | kjs++ | trunk:
18:38 dalek : [languages/pir] make simple assignments work. Yay!
18:38 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29165
18:38 jonathan 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.
18:50 dalek r29166 | chromatic++ | gsoc_pdd09:
18:50 dalek : [src] Made GC diagnostics disable-able, and disabled them by default.  This
18:50 dalek : still allows us to get GC diagnostics when we need them, but doesn't interfere
18:50 dalek : with passing tests.
18:50 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29166
18:54 mire joined #parrot
18:55 chromatic Is there a metacommitter in the house?
18:56 cognominal what is a metacommitter?  or the glossary I should read
18:56 chromatic a metacomitter can give commit access
18:57 particle i'm one
18:57 chromatic NotFound gets access.
18:57 moritz cool, NotFound++
18:57 NotFound Good :)
18:58 * NotFound cleans his chainsaw...
18:58 moritz clean chainsaws hurt much less then rusty ones ;)
18:58 particle NotFound: please follow the directions in section "Instructions the new committer must follow" in docs/project/metacommitter_guide.pod
18:58 cotto_work (Parrot Chainsaw Massacre)--
18:58 * davidfetter waves to cotto_work
18:59 * cotto_work waves back at davidfetter
18:59 davidfetter any word from your cow orkers?
19:00 cotto_work nope, but I'll let you know once something happens
19:00 davidfetter thanks :)
19:01 cotto_work np
19:06 NotFound Subversion password created.
19:07 particle account name?
19:07 purl account name is youndts
19:07 cotto_work purl, forget account name
19:07 purl cotto_work: I forgot account name
19:07 NotFound julianalbo
19:09 particle do you have an rt account?
19:10 NotFound Yes, and have rights on it.
19:14 particle and it's julianalbo, too?
19:14 particle if so, then you're set. welcome!
19:14 NotFound Yes.
19:14 NotFound Thanks!
19:19 NotFound Checking out with the account.
19:29 tewk Someone want to double check my delete branch cmdline
19:29 japhb tewk: OK, continuing with our discussion ...
19:29 tewk svn del http://svn.perl.org/parrot/branches/gsoc_nci
19:30 dalek r29167 | jonathan++ | trunk:
19:30 dalek : [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.
19:30 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29167
19:31 jonathan Gotta go to the store - back soon.
19:32 japhb 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.
19:32 shamu joined #parrot
19:33 japhb He uses named struct elements, but for my stuff the overhead of named keys is significant, so I don't.
19:34 particle tewk: that should work
19:34 japhb 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 ...)
19:34 NotFound dalek: you have ruined my first attempt to commit :D
19:34 japhb afk for a bit
19:35 NotFound Er.... jonathan
19:37 tewk japhb: generating both should be easy, mabye as STRUCTNAME_pos and STRUCTNAME_named, and then storing them as namespace_globals
19:38 chromatic They're OrderedHashes anyway, so you can access them either way.
19:38 chromatic By index or by key, I mean.
19:40 dalek r29168 | Whiteknight++ | gsoc_pdd09:
19:40 dalek : [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.
19:40 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29168
19:40 dalek r29169 | tewk++ | gsoc_nci:
19:40 dalek : [gsoc_nci] removing outdated branch
19:40 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29169
19:41 dalek r29170 | tewk++ | gsoc_nci:
19:41 dalek : [gsoc_nci] recreate branch
19:41 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29170
19:43 tewk examples/benchmarks/float4.pir has several ManagedStruct creation alternatives. We can generate all or some of them using name mangeling
19:48 dalek r29171 | julianalbo++ | trunk:
19:48 dalek : Add Parrot_printf and Parrot_eprintf to the extend API
19:48 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29171
19:49 NotFound Done :)
19:50 chromatic Nicely done.  Now you have to resolve the ticket.
19:53 NotFound Done.
19:54 * moritz wonders why purl doesn'T have some sneaky comment on 'Done.'
19:57 jonathan NotFound: Er....yes?
19:58 NotFound jonathan: you ruined my first attempt to commit, with the actions.pm codingstd
19:58 jonathan Oh, by beating you to fixing it?
19:58 NotFound Yes, It was nice little change to start.
19:58 japhb chromatic: hmmm, I thought only the structure *definitions* were OrderedHashes, but the structures themselves were something different ...
19:58 jonathan D'oh - sorry!
19:59 * japhb needs to add a couple more cases to float4.pir, it sounds like.
19:59 NotFound jonathan: no problem :)
19:59 japhb Because I'd be happy to get away from the "friendly/fast" dichotomy.
19:59 chromatic japhb, if I recall correct, all access to struct members uses the OrderedHash.
19:59 chromatic correctly that is
20:01 japhb chromatic: Hmmm, OK, thanks.
20:01 * japhb will hack up a couple tests after finishing lunch
20:01 japhb :-)
20:13 dalek r29172 | tewk++ | gsoc_nci:
20:13 dalek : [gsoc_nci] ncigen
20:13 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29172
20:23 dalek r29173 | jonathan++ | trunk:
20:23 dalek : [rakudo] Allow has ($.x, $y, $!z) to work.
20:23 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29173
20:28 slightlyoff joined #parrot
21:17 purl joined #parrot
21:18 teknomunk joined #parrot
21:39 c karma purl
21:39 purl purl has karma of 8129
21:39 cotto_work karma purl
21:39 purl purl has karma of 8129
21:42 davidfetter karma cotto
21:42 purl cotto has karma of 18
21:48 dalek r29174 | julianalbo++ | trunk:
21:48 dalek : Fix a codingstd in release_manager_guide.pod
21:48 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29174
22:11 dalek r29175 | jonathan++ | trunk:
22:11 dalek : [rakudo] Stop producing blocks when we only want a signature object. Additionally, start storing the constraints in the signature object.
22:11 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29175
22:13 moritz jonathan: no need for a [rakudo] tag in commit messages to the pugs repo ;)
22:15 jonathan Oh, geck!
22:15 jonathan It's automatic now!
22:15 moritz ;)
22:15 jonathan Apologies.
22:15 purl apologies are worthless but they create an opening.
22:16 jonathan Thanks for the inspiration, purl...
22:18 dalek r29176 | Whiteknight++ | trunk:
22:18 dalek : [core] updated function-level documentation and a few error messages in src/lists.c
22:18 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29176
22:21 dalek r29177 | Whiteknight++ | gsoc_pdd09:
22:21 dalek : [gsoc_pdd09] updating to trunk r29148.
22:21 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29177
22:34 cotto_work is there a way to make gdb break whenever any function from a certain file is run?
22:35 chromatic ANY function or a particular function?
22:35 cotto_work any function
22:35 cotto_work a particular function is easy
22:37 chromatic I'm not aware of one.
22:44 cotto_work how do I find out where an exception was thrown from at the C-level?
22:45 jonathan cotto_work: Maybe put a breakpoint in real_exception and look at the stack trace.
22:45 cotto_work that'd work.  jonathan++
22:46 NotFound I was thinking some days ago about the idea of adding an option to abort when an exception is thrown without handler.
22:47 Whiteknight isn't that what happens now?
22:47 NotFound It exits, without dumping core.
22:48 chromatic So you get a backtrace.
22:48 chromatic Interesting.
22:55 dalek r29178 | Whiteknight++ | trunk:
22:55 dalek : [core] update error messages in src/lists.c, again. Now, includes total number of items in list, for comparison.
22:55 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29178
22:55 dalek r29179 | julianalbo++ | trunk:
22:55 dalek : Avoid a warning on Solaris, clarify PARROT_const_cast usage, see RT#56110
22:55 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29179
22:57 japhb joined #parrot
23:01 jonathan Report: http://use.perl.org/~Jonath​anWorthington/journal/36875
23:03 pmichaud good report
23:04 jonathan pmichaud: Will do next Rakudo day on Thursday.
23:05 jonathan Feel free to have a shuffle around on parameters stuff if you wish.
23:05 jonathan Won't do any more today/tomorrow.
23:05 pmichaud jonathan: sounds good.  I'll look around at parameters and signatures
23:05 jonathan I have put in a test for has ($x, $y) style things
23:05 pmichaud good.
23:05 jonathan Put didn't get around to my ($a, $b)
23:06 jonathan Maybe good to stick one in before you start refactoring.
23:06 pmichaud well, we have quite a bit of my ($a, $b)   in the test suite already.
23:06 moritz but they are all fudged atm
23:06 jonathan OK, well, maybe something works now.
23:06 jonathan I need to get off the computer and rest my hands/arms.
23:07 jonathan Will be about on IRC tomorrow, if there's any questions - will code again on Thursday.
23:14 gryphon joined #parrot
23:21 s1n still trying to get a feel for the test suite, and i wanted to run a single test. how is that done?
23:22 moritz in the simplest case (not fudged) ../../parrot perl6.pbc t/spec/S29-str/lc.t
23:22 moritz and if it's fudged, echo S29-str/lc.t > t/localtest.data; make localtest
23:23 s1n moritz: thanks
23:24 s1n moritz: if it's been fudged, couldn't i run the fudged script in similar fashion to the first method?
23:25 moritz yes, run the .rakudo instead of the .t file
23:25 moritz but remeber to regenerate the .rakudo file when you change the .t file
23:27 japhb Why doesn't #parrot have a topic right now?
23:27 moritz it does
23:27 japhb That's ... odd.
23:27 moritz 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
23:28 moritz 01:27 -!- Topic set by smash [~smash@bl5-75-155.dsl.telepac.pt] [Tue Jun 17  17:56:33 2008]
23:28 NotFound japhb: irc clients sometimes fail to get current topic, nothing unusual.
23:28 japhb NotFound: I've literally never seen that happen before.  Especially when there is a negative response to '/topic'
23:29 NotFound japhb: in some server is more frequent, don't know why.
23:30 NotFound Maybe is the server that lost sync, and that happens more frequently in some networks.
23:30 japhb ah, that makes sense
23:32 moritz I've never seen that either (always use irssi)
23:33 NotFound I've seen lot of times in irc-hispano.org, and with a variety of clients.
23:33 moritz anyway, time for bed
23:36 dalek r29180 | julianalbo++ | trunk:
23:36 dalek : Fix trailing space in list.c
23:36 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29180
23:45 NotFound Finally I've got a PASS make test in C++ build :)
23:45 NotFound Good nigth
23:48 chromatic Good work.
23:48 davidfetter NotFound++ :)
23:49 bacek_ joined #parrot

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced