Camelia, the Perl 6 bug

IRC log for #parrot, 2008-09-13

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:03 jonathan Which PMC is that in?
00:03 jonathan I think PMC_str_val is generally going away though
00:04 jonathan So the answer is most probably yes.
00:04 dalek r31046 | jonathan++ | trunk:
00:04 dalek : [rakudo] Switch us over to using Perl6MultiSub for all user-generated code (so this excludes operators, but includes any code that users write). All tests that passed before continue to pass. This patch includes several changes that we may want to revisit. (1) Hack in ACCEPTS so Any always type-checks against anything other than Junction and Object type-checks against anything, whether or not they actually inherit from it. (2) Test.pm gets Object rather tha
00:04 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31046
00:05 jonathan Phew. And may the bug reports and comments on the hateful things I've done being. :-)
00:05 bacek jonathan: this is from string.pmc
00:06 jonathan bacek: It'll probably work to do that, I think.
00:06 jonathan Give it a good testing.
00:06 jonathan Woo.
00:06 jonathan multi sub foo(Int $x) { 1 }
00:06 jonathan multi sub foo(Int $x where { $^n > 42 }) { 2 }
00:06 jonathan say foo(12); # 1
00:06 jonathan say foo(45); # 2
00:06 bacek Actually I'm patching pmcs now.
00:07 bacek jonathan++ # Multisubs!!!
00:07 jonathan With the Perl 6 topological sort for candidate ordering too.
00:07 jonathan You can now, as well as constraints to tie-break on, also use roles to dispatch on too.
00:08 bacek very-very good news!
00:08 jonathan There'll be some more work to come for "is default", still got to have a major review of multimethods, and then there's protos. But this bit was the big switchover that I was fearing most.
00:09 AndyA joined #parrot
00:16 bacek gotta go. I've sent few patches for #56468.
00:17 jonathan Cool. :-)
00:18 particle msg s1n i'm useless, you need admin@perl.org
00:18 purl Message for s1n stored.
00:22 particle jonathan++
00:26 jonathan particle: Yeah, I was just writing a blog post and found there's a bug in the type narrowness analysis, it seems. :-(
00:29 jonathan There is something subtle going on, though, I fear.
00:29 jonathan Since there are tests for that in the PIR tests.
00:29 jonathan And those ones pass.
00:30 particle hrmm
00:31 particle well, it'll keep you busy for another day, i suppose
00:36 jonathan Another nice thing that you can do now is
00:36 jonathan for &foo.signature.params -> $p { say $p<type> }
00:39 particle rakudo: sub foo(Int $q) { say $q }; foo(3); for &foo.signature.params -> $p { say $p<type> }
00:39 polyglotbot OUTPUT[3␤Int␤]
00:39 particle :-D
00:40 cognominal with all these introspective stuff one can do all sort of fuzz testing
00:41 jonathan cognominal: Yes, and note you actually get the proto-object there too, not just the name. :-)
00:42 jonathan rakudo: sub foo(Int $q) { say $q }; foo(3); for &foo.signature.params -> $p { say $p<type>.new.WHAT }
00:42 polyglotbot OUTPUT[3␤Int␤]
00:42 jonathan :-)
00:42 * cognominal attempts again to sleep
00:43 cognominal jonathan++
01:15 rurban_ joined #parrot
01:27 dmknopp joined #parrot
01:28 dmknopp left #parrot
01:34 tetragon joined #parrot
01:37 evan joined #parrot
01:49 s1n particle: thanks, pmichaud was the one who referred me to you
01:56 bacek joined #parrot
01:57 bacek hi again
01:57 purl oh, you're back!
01:57 bacek purl: glad to see you ;)
01:57 purl bacek: i'm not following you...
01:58 s1n particle: 550 bounce on admin@perl.org
02:19 s1n can someone explain to me how smolder works?
02:37 kid51 perl Configure.pl
02:37 kid51 make
02:37 kid51 make smolder_tests
02:37 kid51 (or maybe it's make smolder_test ?)
02:38 kid51 It's a drop-in replacement for 'make test'.  And drop-dead simple.  At the end of the test suite, it prints out a little message saying where on the WWW it sent your test results.
02:38 s1n kid51: how can someone go about adding that to another project
02:38 kid51 And then you go there and look at them.
02:38 s1n do you have to upload something to a public smolder server?
02:38 kid51 Ah!  For that you have to talk to go to Smolder's home page.
02:39 s1n i.e. how was that added to parrot?
02:39 Tene pmichaud: ping?
02:39 kid51 It's an OS web application created by Michael Peters
02:39 Tene Bah, I guess I'll email him.
02:39 kid51 Michael Peters added it to Parrot, but Parrot is only one instance of a project running Smolder
02:40 kid51 our smolder site is currently running on a server at Michael's $job
02:40 kid51 But it will probably eventually replace smoke.parrotcode.org
02:40 kid51 If you have an app of your own that you want to use Smolder for, you download and install it on your own server.
02:40 s1n okay, so how does it work exactly, does it upload the test results automatically?
02:41 kid51 Yes.  It's based around TAP::Parser
02:41 s1n where in parrot do i look for that as a sample?
02:41 kid51 It collects the same TAP that make test would produce and exports it to the smolder server, which translates it into HTML.
02:42 kid51 Go to the Parrot wiki and look for smoke testing.
02:42 s1n looks like the makefile has --archive and --send-to-smolder
03:12 s1n jonathan: ping
03:22 Tene purl: pmichaud?
03:22 purl pmichaud is http://www.pmichaud.com/ or "Patrick R. Michaud" <mailto:pmichaud@pobox.com>
03:27 cotto_home pmichaud is also in charge of toaster experiments
03:27 purl okay, cotto_home.
03:50 pmichaud Tene: pong
03:50 Tene pmichaud: I emailed you a patch.
03:50 Tene For gather/take.  You available to look it over?
03:51 Tene Ah, there's the response.
03:51 s1n pmichaud: hey, got a second?
03:53 pmichaud s1n: sure
03:53 pmichaud Tene++ # excellent patch
03:54 Tene pmichaud: I had an idea about exception handlers... justasec...
03:54 pmichaud Tene:  about registering handlers by type?  I saw that in scrollback
03:54 pmichaud I'm a little surprised that Parrot doesn't have that in its design already
03:56 Tene Just properties on the exception handler.  I was thinking set_integer for exception severity and set_keyed for whether it accepts each type of exception
03:57 Tene Then check it in can_handle
03:57 pmichaud ooooh.
03:57 pmichaud set_keyed might get a little expensive
03:57 Tene eh, true.
03:57 pmichaud checking in can_handle would be excellent though
03:58 Tene what sort of API would you like for setting?
03:58 Tene My plan tonight, after I figure out this weird merge conflict, is to implement your proposed refactor of the 'throw' API, to pass the continuation as a second argument instead of the message
03:58 pmichaud are there many cases where we would want an exception character to catch a subset of n exceptions where  1 < n < all ?
03:59 Tene I really don't know.
04:00 pmichaud I'm thinking that it might be useful to simply say "I'm interested in this *one* type of exception", as opposed to having to select a set
04:01 pmichaud my suggestion would be to go ahead and do the 'throw' api
04:01 Tene So don't try to handle all possible use cases
04:01 pmichaud then propose a way to declare an exception handler that handles one type of exception
04:01 pmichaud then watch as allison comes up with the design she really wants?
04:01 pmichaud :-)
04:03 pmichaud actually, it wouldn't be hard to simply create multiple ExceptionHandler objects that all call a common label
04:05 Tene Clever.
04:06 pmichaud each EH object could then be responsible for just trapping one type of exception
04:06 Tene Do you ever care about trapping exceptions of a certain severity?
04:06 dalek r31047 | tene++ | trunk:
04:06 dalek : [cardinal]
04:06 dalek : * Fix chomp, chop, chomp!, chop!, and the test for these.
04:06 dalek : * String::each_byte
04:06 dalek : * String.reverse
04:06 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31047
04:07 dalek r31048 | tene++ | trunk:
04:07 dalek : [cardinal]
04:07 dalek : * Fix Array subtraction.
04:07 dalek : * One new failing test for ranges.
04:07 dalek : dmknopp++
04:07 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31048
04:07 dalek r31049 | tene++ | trunk:
04:07 dalek : [rakudo]
04:07 dalek : * First draft of gather/take
04:07 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31049
04:07 Tene wtf, I thought that first one was already committed.
04:07 pmichaud severity is less important to me
04:07 Tene Let me look at that patch to see if I screwed something up.
04:08 pmichaud from a codegen perspective, severity isn't that big.  from a runtime perspective, it's probably more important.
04:08 Tene I guess I just didn't push that commit.  huh.
04:09 Tene So, propose an API.
04:09 pmichaud following what we did earlier for hll_map, I propose a method on ExceptionHandler :-)
04:09 Tene Oh, clever.  Okay.
04:09 pmichaud personally I find methods to be superior to overloading the meanings of "set_number", "set_integer", etc.
04:10 Tene That's a good preference, I think.  I'll adopt it.
04:13 Tene pmichaud: if I get everything working well with the throw api change, should I just commit, or post it to the list for a while first, or... ?
04:13 pmichaud post to the list or do it in a branch
04:13 pmichaud since release is tuesday
04:13 Tene Man, I don't want to figure out svn branches.
04:13 Tene If you make a branch for me, I'll commit there.
04:13 pmichaud making a branch is easy
04:14 pmichaud svn copy http://svn.perl.org/parrot/trunk http://svn.perl.org/parrot/branches/name_of_branch
04:14 Tene I've always had trouble whenever I try to work with svn.  I nearly always break something.
04:14 Tene That looks safe enough.
04:14 pmichaud then do a "svn co" of the branch
04:14 Tene Do I need to have cwd of an svn checkout when I do that?
04:15 pmichaud no.
04:15 pmichaud (the svn copy, no)
04:15 pmichaud actually neither of them require a cwd of a svn checkout
04:16 Tene Oh, right, I need to look up my password from bitcard...
04:18 dalek r31050 | tene++ | exceptionmagic:
04:18 dalek : Create a branch to work on exception refactoring in.
04:18 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31050
04:33 JJ joined #parrot
04:36 JJ left #parrot
04:40 Tene pmichaud: what about rethrow?  Does rethrow need an optional continuation parameter?
04:42 pmichaud I don't think so
04:43 pmichaud at the point of a rethrow the exception already has its continuation
04:43 pmichaud ohhhh, but we're moving continuations out of the exception
04:43 pmichaud hrm.
04:43 Tene Right.
04:43 Tene I could look for somewhere internal to store it.
04:43 pmichaud I'll argue that rethrow should take a continuation, then
04:44 Tene Okay.
04:45 Tene It's not relevant to what I'm doing right now, but if you've got the time, any idea why ExceptionHandler::invoke has a pmc *next parameter that it doesn't do anything with?  It's just not used at all.
04:48 Tene Oh.  Would it be possible to go digging through the call stack to see where 'throw' was originally called from and generate a return continuation to continue after that in rethrow?
04:48 Tene It sounds a bit sketchy.
04:48 Tene Ignoring rethrow for now.
04:49 pmichaud I *think* (but not sure) that the invoke vtable function uses *next as the return continuation from the invoke
04:49 pmichaud but of course an exception handler doesn't really have a return continuation :-)
04:51 Tene Yay, segfault!
04:52 s1n anyone know how to get proper vim indention working with pmc code?
04:52 Tene works fine for me...
04:53 s1n well how did you do it?
04:54 Tene look in editor/
04:54 s1n i did, it doesn't say other than filetype indent on
04:54 Tene There should be a makefile in there that you can use to install vim stuff.
04:54 s1n yeah i did, make vim-install
04:54 Tene editor/pmc.vim
04:54 Tene That says a lot more than filetype indent on
04:55 s1n well, README.pod said that
04:55 Tene Ah.
04:55 Tene Sorry, misread.
04:56 s1n i don't see anything in pmc.vim that sets the indent
04:56 Tene What is it that misbehaves, exactly?
04:56 s1n i get tabs
04:56 s1n all goofy and not even consistant
04:56 pmichaud anyway, I'm afk for a while
04:56 s1n pmichaud: thanks, talk to ya tomorrow
04:56 Tene pmichaud: thanks for the chat.  I have 'throw' working.  Now to fix the docs and all existing usage... :)
04:57 Tene First, t/
04:57 s1n Tene: what am i doing wrong to not get proper indent
04:58 Tene s1n: try setting expandtab and shiftwidth=4
04:58 Tene That should be on already from the coda...
05:00 s1n heh yeah, that did it
05:00 s1n coda?
05:00 purl coda is not complete yet. or at http://www.coda.cs.cmu.edu/ or insanely great or linux RPMs are available or at http://panic.com/coda - like DreamWeaver for people who know the web is made of text
05:00 Tene The whatever it's called at the end of the file in comments
05:01 s1n oh hmm
05:04 s1n well, it didn't seem to set automatically, but doing it manually seemed to have worked
05:04 Tene There's a vim setting about whether it respects that modeline or not
05:04 Tene Oh, maybe it's called a modeline.
05:05 Tene http://www.vim.org/htmldoc/options.html#'modeline'
05:05 Tene set modeline on in your vimrc, then try
05:09 s1n Tene: thanks, this seems to be working better
05:09 Tene I'm glad I could help. :)
05:12 Tene converted one test file.
05:13 petdance joined #parrot
05:23 tetragon joined #parrot
05:45 dalek r31051 | tene++ | exceptionmagic:
05:45 dalek : Change 'throw' to pass the return continuation as the second arg to exception handlers instead of the stringification of the exception.
05:45 dalek : All parrot tests pass.
05:45 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31051
05:49 Tene Anyone know what sompilers/bcg is?
05:55 cotto_home I think it's an old attempt to refactor pbc.
05:56 cotto_home it stands for bytecode generator (or something similar)
05:56 Tene I've updates the tests, but I can't seem to be able to run the test at all
06:05 Tene ... oh, I'm an idiot.
06:06 Tene I verified that all the parrot tests were passing by diffing the output from running make test in trunk and in my branch
06:06 Tene Except I actually ran make test in my branch twice.
06:06 Tene btw, "S0 = P0" isn't valid pasm
06:10 Tene Yay, segfault!
06:39 dalek r31052 | tene++ | exceptionmagic:
06:39 dalek : Update PCT for exception handling.
06:39 dalek : Update the BCG test, maybe.  I can't run it, so I can't check.
06:39 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31052
06:39 dalek r31053 | tene++ | exceptionmagic:
06:39 dalek : Fix two test files that I used broken pasm in.
06:39 dalek : Many parrot tests pass.  There's a segfault associated with 'die', though.
06:39 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31053
06:57 Tene DietCoke: is most of the tcl test suite supposed to segfault?
07:04 cotto_home Do I smell some sarcasm?
07:05 Tene I'm unsure if that's normal or a problem on my machine.
07:05 cotto_home I can play with it if you want.
07:05 Tene cd languages/tcl ; make ; make test
07:05 Tene It'll be obvious if it fails as much for you as it does for me.
07:06 cotto_home it's looking pretty explodey
07:07 cotto_home ooh.  a couple tests passed.
07:07 bacek Tene: Failed 70/73 test programs. 196/241 subtests failed.
07:07 bacek Almost all of them with segfault
07:08 cotto_home looks about like what I saw
07:08 Tene Thanks
07:08 Tene #parrot++
07:09 cotto_home np
07:11 cotto_home Is this you?: http://sweeks.com/
07:11 Tene No.
07:11 cotto_home funny coincidence then
07:12 Tene Just compilers, or have you actually interacted with him recently?
07:12 cotto_home just curious
07:13 Tene I've been thinking of buying sweeks.net, but I haven't yet.
07:13 Tene I'm http://allalone.org/
07:33 Tene Huh, lua also segfaults all over the place.
07:35 dalek r31054 | tene++ | exceptionmagic:
07:35 dalek : Update rakudo to the new exception API.
07:35 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31054
07:35 dalek r31055 | tene++ | exceptionmagic:
07:35 dalek : Update tcl to the new exception api.
07:35 dalek : Unsure if it's right, as most of the test suite segfaults for me anyway.
07:35 dalek : Also update APL, WMLScript, dotnet, ecmascript, forth, lua, pheme, squaak.
07:35 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31055
07:37 dalek r31056 | allison++ | pdd27mmd:
07:37 dalek : [pdd27mmd] Poking directly into the namespace for a multi only gives you the
07:37 dalek : multis defined in that namespace.
07:37 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31056
07:56 mberends joined #parrot
08:03 dalek r31057 | allison++ | pdd27mmd:
08:03 dalek : [pdd27mmd] Delete commented out calls to old multiple dispatch system.
08:03 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31057
08:26 dalek r31058 | allison++ | pdd27mmd:
08:26 dalek : [pdd27mmd] Delete deprecated 'mmd_dispatch_*' functions, replaced by
08:26 dalek : 'Parrot_mmd_multi_dispatch_from_c_args'.
08:26 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31058
08:27 Tene 'kay, let's see if i can track down these segfaults.
08:33 cotto_home If anyone is up who feels qualified, I'd appreciate comments on this patch.
08:33 nopaste "cotto_home" at 96.26.202.243 pasted "patch to add/use Parrot_strerror" (273 lines) at http://nopaste.snit.ch/14043
08:33 iblechbot joined #parrot
08:47 dalek r31059 | tene++ | exceptionmagic:
08:47 dalek : Create a real ReturnContinuation pmc for die instead of just trying to use an opcode_t *.
08:47 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31059
08:56 dalek r31060 | allison++ | pdd27mmd:
08:56 dalek : [pdd27mmd] Throw an exception from deprecated integer calls to add and find a
08:56 dalek : multi.
08:56 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31060
09:05 dalek r31061 | allison++ | pdd27mmd:
09:05 dalek : [pdd27mmd] Remove 'Parrot_get_mmd_dispatcher' and 'Parrot_mmd_vtfind' which are
09:05 dalek : deprecated and no longer called from anywhere.
09:05 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31061
09:14 rurban_ joined #parrot
09:32 dalek r31062 | tene++ | exceptionmagic:
09:32 dalek : Fix a coroutine test.
09:32 dalek : All parrot tests are passing the same in this branch as they are in trunk now.
09:32 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31062
09:44 Tene What date was the last release?
09:50 dalek r31063 | tene++ | trunk:
09:50 dalek : NEWS updates
09:50 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31063
09:50 rurban [pdd09gc] is missing src/gc/gc_ms.c Should that be gc_ims.c?
09:51 Tene Oh, right, docs.
09:52 bacek joined #parrot
10:02 dalek r31064 | rurban++ | gsoc_pdd09:
10:02 dalek : src/debug.c:868: error: redefinition of 'close_script_file'
10:02 dalek : src/debug.c:845: error: previous definition of 'close_script_file' was here
10:02 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31064
10:05 dalek r31065 | tene++ | exceptionmagic:
10:05 dalek : Update pdd23 and pdd19 to reflect the throw API change.
10:05 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31065
10:06 rurban whiteknight around?
10:07 rurban src/gc/gc_it.c:374: error: `GC_no_trace_volatile_roots' undeclared (first use in this function)
10:15 dalek r31066 | tene++ | exceptionmagic:
10:15 dalek : Remove the 'return' attribute from exception.pmc.
10:15 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31066
10:16 bacek joined #parrot
10:16 masak joined #parrot
10:18 rurban tene: for me most tests do work in trunk. why is it failing? I want to test your languages update
10:20 Tene rurban: which tests?
10:20 Tene What is failing?
10:20 purl failing is good!
10:21 rurban Tenere: you said in your http://www.parrotvm.org/svn​/parrot/revision?rev=31055 Unsure if it's right, as most of the test suite segfaults for me anyway.
10:21 rurban Only tcl?
10:21 Tene rurban: most of the tcl and lua test suite
10:21 rurban ok, for me too.
10:21 Tene normal parrot tests run fine.
10:22 rurban So I'll put your diff into my branch also. Is there a simple diff available somehow?
10:23 Tene sure
10:23 Tene what is it you're wanting to do, exactly?
10:25 rurban Is your exception rewrite $S => $P already supported in trunk?
10:25 Tene No.
10:25 Tene That's what this branch is for.
10:25 rurban Ok, so I'll wait.
10:27 rurban But I'll test your branch on cygwin rigth now.
10:29 Tene Fantastic.
10:30 rurban ../../parrot.exe  -o perl6.pbc perl6.pir
10:30 rurban src/string.c:2241: failed assertion '(s)->encoding'
10:30 rurban I have no ENV{LANG}
10:34 Tene And that's happening only in the branch?
10:35 rurban yes. interesting.
10:35 rurban charset->preferred_encoding is empty
10:36 Tene Can you produce a small PIR sample that reproduces the error?
10:37 rurban First I'll test with the other branches
10:37 Tene Okay.
10:49 Tene Is there anything in parrot currently that will let me call out to a shell?
10:51 Tene Hmm.  There's the experimental exec opcode...
10:51 Tene I might be able to do something with that.
10:53 dalek r31067 | allison++ | pdd27mmd:
10:53 dalek : [pdd27mmd] Remove deprecated 'is_infix' and 'to_infix' functions.
10:53 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31067
11:04 Tene I also need to get control exceptions working properly in cardinal.
11:04 Tene That will be very nice to see, when cardinal and rakudo can interoperate like that.  :)
11:05 masak purl: tell Tene your paste, sir: http://gist.github.com/10589
11:05 purl masak: sorry...
11:06 masak no?
11:06 Tene purl: msg tene look at http://gist.github.com/10589 for masak
11:06 purl Message for tene stored.
11:06 masak ah
11:06 masak different bot dialect
11:06 masak :)
11:12 bacek rakudo: sub a($b) { $b(5) }; a(&say)
11:12 polyglotbot OUTPUT[5␤]
11:13 bacek rakudo: sub a(&b) { b(5) }; a(&say)
11:13 polyglotbot OUTPUT[Could not find non-existent sub b␤current instr.: 'a' pc 139 (EVAL_15:63)␤called from Sub '_block11' pc 27 (EVAL_15:15)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:481)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1078
11:13 polyglotbot ..(src/PCT/HLLCompiler.pir:610)␤called from Sub 'parrot;PCT::HLLCompiler;comma...
11:16 bacek this is definitely not-yet-implemented-rakudo-feature
11:16 bacek It should work according to S06
11:21 tetragon_ joined #parrot
11:27 pmurias joined #parrot
11:29 pmurias did i just ask about rakudo here and got redirected to #perl6 or was it #perl? ;)
11:29 masak pmurias: must have been #perl :)
11:30 pmurias how does rakudo implement context
11:30 masak bacek: ok, writing a little rakudobug ticket about it
11:34 dalek r31068 | allison++ | pdd27mmd:
11:34 dalek : [pdd27mmd] Refactoring multiple dispatch namespace searching code, preparing to
11:34 dalek : search more than just the global multi namespace.
11:34 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31068
11:34 masak pmurias: context, as in scalar/array/hash/void?
11:35 pmurias as in item/list ;)
11:39 pmurias masak: scalar context is item context in perl6
11:39 masak ok.
11:52 rurban Tene: yes, just in your branch. There was probably a fix for this in trunk earlier
11:58 bacek seen chromatic
11:58 purl chromatic was last seen on #parrot 3 days, 11 hours, 56 minutes and 39 seconds ago, saying: Work keeps me busy; have to keep the news hopper full.  [Sep 10 00:01:32 2008]
12:02 jonathan hi all
12:09 pmurias jonathan: hi
12:10 pmurias jonathan: how does rakudo implement context (as in item/list)?
12:11 jonathan pmurias: Currently everything can respond to .item/.list/.hash methods
12:11 jonathan So if you want something in list context, you call .list on it
12:12 pmurias similiar to the way we do it in smop ;)
12:12 pmurias jonathan: and how do you handle &want then?
12:13 jonathan We don't at the moment.
12:13 iblechbot joined #parrot
12:13 jonathan I'm not sure how that's going to happen.
12:14 jonathan I think pmichaud has been pondering some changes to the way we're currently handling context stuff, though.
12:14 jonathan But I'm not exactly sure what he has in mind.
12:14 pmurias food&
12:29 petdance joined #parrot
12:32 s1n joined #parrot
12:37 Whiteknight joined #parrot
12:48 tetragon joined #parrot
12:53 PacoLinux joined #parrot
13:10 kid51 joined #parrot
13:25 jonathan s1n: You were after me earlier, but I was sleeping.
13:27 bacek joined #parrot
13:35 Zaba_ joined #parrot
13:59 xiaoyafeng joined #parrot
14:36 masak joined #parrot
14:50 Tene rurban: can you generate a small PIR example?
14:51 iblechbot joined #parrot
14:54 s1n jonathan: yeah but i don't remember what for now heh
15:21 Juerd joined #parrot
15:37 dalek r31069 | fperrad++ | trunk:
15:37 dalek : [Markdown] add a new language
15:37 dalek : - initial files generated by tools/dev/mk_language_shell.pl
15:37 dalek : - see http://daringfireball.net/projects/markdown/
15:37 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31069
16:05 davidfetter joined #parrot
16:05 masak moritz++ # perl-5-to-6
16:10 kid51 joined #parrot
16:13 Whiteknight joined #parrot
16:16 bacek joined #parrot
16:16 dalek r31070 | rgrjr++ | trunk:
16:16 dalek : * src/pbc_merge.c:
16:16 dalek :    + (pbc_merge_debugs):  Fix off-by-one error in mapping update
16:16 dalek :      (RT#58660).  This threw off line numbers in the second and
16:16 dalek :      subsequent merged PBC file, though by varying amounts.
16:16 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31070
16:27 dalek r31071 | fperrad++ | trunk:
16:27 dalek : [Markdown]
16:27 dalek : - implement a minimalist version
16:27 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31071
16:31 dalek r31072 | fperrad++ | trunk:
16:31 dalek : [Markdown]
16:32 dalek : - fix $Id
16:32 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31072
16:37 mberends all: could someone please give me a commit bit, to contribute a Pod6Parser and translators?
16:38 Whiteknight they usually meet and talk about it before giving out commit bits
16:38 Whiteknight If you have the initial versions ready, you could submit a patch. having a good patch count helps getting the bit
16:41 mberends See initial versions http://nopaste.snit.ch/14035 http://nopaste.snit.ch/14036
16:47 rurban Whiteknight: your gsoc branch: src/gc/gc_it.c:374: error: `GC_no_trace_volatile_roots' undeclared (first use in this function)
16:48 Whiteknight really? let me take a look-see at it
16:48 rurban maybe you forgot to commit a header update
16:51 Whiteknight I removed that flag in trunk, merged trunk into the branch, and never removed the flag from the branch
16:51 dalek r31073 | Whiteknight++ | gsoc_pdd09:
16:51 dalek : [gsoc_pdd09] remove old references to the now-removed GC_no_trace_volatile_roots flag
16:51 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31073
16:52 Whiteknight fixed now, I think
16:52 rurban I'll try abd report. Does smolder also take branch reports?
16:53 rurban I did the same :)
16:57 rurban Whiteknight: in your branch is the same problem as with tene's with LANG not defined causing src/string.c:2241: failed assertion '(s)->encoding'
16:57 rurban charset->preferred_encoding is empty
16:57 purl i already had it that way, rurban.
16:58 rurban it's fixed in trunk but I don't know in with rev.
17:10 dalek r31074 | fperrad++ | trunk:
17:10 dalek : [Markdown]
17:10 dalek : - add the first test
17:11 dalek : - part of languages-smoke
17:11 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31074
17:16 rurban_ joined #parrot
17:20 dalek r31075 | fperrad++ | trunk:
17:20 dalek : [build]
17:20 dalek : - add Markdown language
17:20 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31075
17:25 petdance joined #parrot
17:32 dalek r31076 | fperrad++ | trunk:
17:32 dalek : [docs]
17:32 dalek : - add Markdown language
17:32 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31076
17:40 baest joined #parrot
17:51 dalek r31077 | rurban++ | cygwin070patches:
17:51 dalek : added markdown (makefile adapted) - trunk r31041
17:51 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31077
18:00 dalek r31078 | rurban++ | cygwin070patches:
18:00 dalek : [cardinal] remove t/classes
18:00 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31078
18:01 dalek r31079 | rurban++ | cygwin070patches:
18:01 dalek : [cardinal] remove t/06-hash.t
18:01 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31079
18:04 dalek r31080 | rurban++ | cygwin070patches:
18:04 dalek : [cardinal] add t/array t/hash t/string
18:04 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31080
18:06 dalek r31081 | rurban++ | cygwin070patches:
18:06 dalek : markdown added to MANIFEST
18:06 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31081
18:14 dalek r31082 | rurban++ | cygwin070patches:
18:14 dalek : [pods] add markdown and jvm to pod sections
18:14 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31082
18:44 cotto_home Is there any reason for not having a function to throw exceptions from C with the message in a STRING?
18:47 dalek r31083 | rurban++ | trunk:
18:47 dalek : enable t/native_pbc/header.t: fix checks, use Parrot::Test::run_command
18:47 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31083
18:53 dalek r31084 | rurban++ | cygwin070patches:
18:53 dalek : all languages: #ELSIF(not win32) => #ELSIF(parrot_is_shared and not win32) env LD_RUN_PATH="@build_dir@/blib/lib"
18:53 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31084
19:20 tetragon joined #parrot
19:38 rurban joined #parrot
19:59 dalek r31085 | rurban++ | trunk:
19:59 dalek : set svn props on languages/cardinal/t/range.t languages/markdown/t/Parrot/Test/Markdown.pm
19:59 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31085
20:07 Tene rurban++ # cleaning up after me
20:24 tewk joined #parrot
20:32 dalek r31086 | chromatic++ | trunk:
20:32 dalek : [Markdown] Fixed POD formatting.
20:32 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31086
20:38 rurban Some update from my side: I'm leaving off on Monday to Mainz-Germany for one whole month. I'll rent an apartment there, but take only my laptop with me. So development will be fine, just testing needs double time. Same CPU time as a typical MacOS laptop as I saw in the Harness posts. And I don't have that much virtual machines on my laptop. Just two: Fedora Core 1 (with the Storable bug) and...
20:38 rurban ...some debian.
20:45 rurban Tene: I will see how I can get to the src/string.c:2241: failed assertion '(s)->encoding' bug on cygwin. It must be an old left-over. The gsoc_pdd09 branch has the same problem. Maybe tomorrow.
20:54 nopaste "rurban" at 91.115.117.191 pasted "small pir to reproduce src/string.c:2241: failed assertion '(s)->encoding' on cygwin" (14 lines) at http://nopaste.snit.ch/14046
20:55 rurban I think loadlib P1, "foo" is small enough.
21:04 cotto_home is t/native_pbc/header.t acting oddly for anyone else?
21:06 rurban Could be my fault. I just added it and tested it only on 32bit
21:06 rurban What's the output?
21:06 purl the output is, like, different
21:07 cotto_home it doesn't run any tests
21:07 cotto_home although I'm also on 32bit
21:07 cotto_home prove t/native_pbc/header.t will tell you if it's working
21:09 dalek r31087 | rurban++ | cygwin070patches:
21:09 dalek : add STATUS-branch for cygwin070patches only. Should NOT be merged.
21:09 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31087
21:10 rurban t/native_pbc/header....ok All tests successful Files=1, Tests=9,  2 wallclock secs
21:10 rurban maybe you need svn up t/native_pbc/header.t
21:10 cotto_home it's also possible I broke something
21:11 rurban I re-enabled these tests in two steps.
21:13 rurban cotto_home: Can you paste the output? I use now Parrot::Test::run_command to help with an already installed shared lib
21:15 nopaste "cotto_home" at 96.26.202.243 pasted "t/native_pbc/header.t failure" (15 lines) at http://nopaste.snit.ch/14047
21:15 rurban I see now some problem with an old File::Temp
21:16 rurban $ perl5.8.0 t/native_pbc/header.t
21:16 rurban 1..9
21:16 rurban Can't locate object method "new" via package "File::Temp" at t/native_pbc/header.t line 29.
21:16 rurban # No tests run!
21:16 rurban $ perl5.8.4 t/native_pbc/header.t
21:16 rurban 1..9
21:16 rurban Operation `eq': no method found,
21:16 rurban left argument in overloaded package File::Temp,
21:16 rurban right argument has no overloaded magic at lib/Parrot/Test.pm line 312.
21:16 rurban # Looks like your test died before it could output anything.
21:17 rurban perl5.8.8 works fine. I'll fix the overload bug in lib/Parrot/Test.pm
21:19 tetragon_ joined #parrot
21:19 cotto_home That's funny.  I get the same result (failure) with perl5.8.8
21:20 rurban Found the problem. Will fix it. Hairy overload magic with file-pointers
21:21 cotto_home rurban++
21:23 rurban can you svn up and try now?
21:23 rurban only this test is changed
21:23 cotto_home it passed
21:24 dalek r31088 | rurban++ | trunk:
21:24 dalek : t/native_pbc/header.t: fix hairy file-pointer overload problem in older perls: Operation eq: no method found string vs file-pointer
21:24 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31088
21:24 rurban strange. Now I have to check this with all such File::Temp objects within run_command in my branch.
21:26 kid51 joined #parrot
21:27 cotto_home rurban, is cygwin070patches the branch I should use if I want to play with Parrot on windows?
21:27 Limbic_Region joined #parrot
21:27 rurban Trunk also. cygwin070patches only has some convenience patches
21:31 dalek r31089 | rurban++ | trunk:
21:31 dalek : [library] support make test via run_command with already installed shared libparrot
21:31 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31089
21:34 rurban cotto_home: msvc needs probably some hand-holding
21:34 dalek r31090 | rurban++ | cygwin070patches:
21:34 dalek : merge with trunk r31089: support make test via run_command with already installed shared libparrot
21:34 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31090
21:35 rurban libparrot.lib in build_dir is the importlib, the static lib is in blib/lib/libparrot.lib, the shared lib is currently broken AFIK
21:36 rurban This should be confirmed and written down in the README_win32.pod
21:40 dalek r31091 | chromatic++ | trunk:
21:40 dalek : [JIT] Fixed exception throwing for PPC JIT.  Now division by zero errors don't
21:40 dalek : crash the system.
21:40 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31091
21:41 cotto_home rurban, I haven't been able to make msvc9 work at all, yet
21:41 cotto_home so yes, it does
21:45 rurban ron blaschke did the latest MSVC checks. He tests with 9.0, 6.0, 7.1 and 8.0
21:47 cotto_home That's very good to know.  My alter ego will bug him next time he sees him.
21:47 rurban I guess you need to delete $PARROT_HOME/libparrot.lib and check if LIBPARROT = $(LIBPARROT_STATIC)
21:48 cotto_home I'm not at work so I can't test, but the latest problem was that msvc was storing environ as __environ in the .obj and complaining about not being able to resolve it.
21:50 cotto_home It'd be very nice to automate all the hand-holding so msvc works oob.
21:51 cotto_home something like perl Configure.pl --cc=cl and Configure.pl DTRT
22:02 dalek r31092 | rurban++ | trunk:
22:02 dalek : [core] Resolve ticket #58794 ([PATCH] remove the obsolete .past search in try_bytecode_extensions
22:02 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31092
22:03 dalek r31093 | chromatic++ | trunk:
22:03 dalek : [JIT] Fixed another exception throw in PPC JIT, and cleaned up two compiler
22:03 dalek : warnings.
22:03 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31093
22:07 cotto_home rurban, that bug you just filed can be resolved, can't it?
22:08 rurban I'm just going over all of my RT tickets. Yes I'll do. But you can confirm it also.
22:09 cotto_home ok.  I was just a little confused that you'd fix a bug then file a ticket
22:13 rurban I see now. The ticket #58840: [BUG] Parrot::Test Check for filehandle before comparing with eq to '/dev/null' is to remiond me to fix Parrot::Test for all other tests which later need that.
22:13 rurban In my branch I plan to use that, that's why.
22:22 cotto_home pmichaud, ping
22:24 cotto_home seen pmichaud
22:24 purl pmichaud was last seen on #parrot 17 hours, 28 minutes and 0 seconds ago, saying: anyway, I'm afk for a while
22:41 iblechbot joined #parrot
22:42 cotto_home I guess he couldn't handle the acceleration.
22:49 particle joined #parrot
22:54 rurban MSVC required for me: perl Configure.pl --cc=cl --link=link and manually fixing $Config{ar} to lib and SHARED => STATIC
22:58 cotto_home I saw your notes and tried that, but still got the __environ goofiness.
22:59 dalek r31094 | rurban++ | cygwin070patches:
22:59 dalek : adopt pdd30
22:59 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31094
23:01 dalek r31095 | rurban++ | cygwin070patches:
23:01 dalek : fix for RT#39742 installed-conflict
23:01 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31095
23:01 dalek r31096 | rurban++ | cygwin070patches:
23:01 dalek : merge with latest trunk fix
23:01 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31096
23:05 cognominal what is wrong here?
23:05 cognominal class H::A { }
23:05 cognominal class H::B is H::A { }
23:05 cognominal it says Attempt to inherit from non-existent parent class
23:06 cognominal if I strips the 'H::', everywhere it compiles
23:16 Theory joined #parrot
23:25 cotto_home seen rblaschke
23:25 purl I haven't seen 'rblaschke', cotto_home
23:29 cotto_home seen rblasch
23:29 purl I haven't seen 'rblasch', cotto_home
23:30 cotto_home seen blaschke
23:30 purl I haven't seen 'blaschke', cotto_home
23:30 cotto_home not my day
23:31 cognominal class H::A { } ; my $a = H::A.new(); say $a.WHAT;
23:31 cognominal that prints A
23:31 cognominal I am thouroughly confused
23:33 cognominal class H::A { } ; say H::A.WHAT
23:33 cognominal still 'A'
23:39 GeJ joined #parrot
23:44 cotto_home rakudo: class H::A { } ; my $a = H::A.new(); say $a.WHAT
23:44 cotto_home perl6: class H::A { } ; my $a = H::A.new(); say $a.WHAT
23:44 polyglotbot OUTPUT[A␤]
23:44 polyglotbot OUTPUT[A␤]
23:51 braceta joined #parrot

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

Parrot | source cross referenced