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