Re: Parrot::Coroutine

2006-10-14 Thread Leopold Toetsch
Am Samstag, 14. Oktober 2006 04:21 schrieb Bob Rogers: >    Here's the Parrot::Coroutine patch; I will commit this if nobody > objects. Please note that you can extend existing PMCs with PIR methods. >    It seems to me that this should be mentioned in docs/compiler_faq.pod > as an alternative wa

Re: Synposis 26 - Documentation [alpha draft]

2006-10-14 Thread Damian Conway
Brent wrote: I've probably been hanging around Web standards nazis for too long, but can we get a separate code to mark the title of a document that can't be linked to (say, a book) along the lines of HTML's tag? Hmm. Maybe. Care to nominate a letter for that? C<>, I<>, T<>, and E<> are

Re: Edge case: incongruent roles

2006-10-14 Thread Jonathan Lang
Larry Wall wrote: Jonathan Lang wrote: : Trey Harris wrote: : >All three objects happen to be Baz's, yes. But the client code doesn't : >see them that way; the first snippet wants a Foo, the second wants a Bar. : >They should get what they expect, or Baz can't be said to "do" either. : : In prin

Re: Edge case: incongruent roles

2006-10-14 Thread Larry Wall
On Sat, Oct 14, 2006 at 07:56:24AM -0700, Jonathan Lang wrote: : Right. That _almost_ takes care of the issue; the only part left : untouched is what happens if you have two methods that can only be : disambiguated by the invocant's role, and you aren't told what the : role is. For instance: : :

Re: Parrot::Coroutine

2006-10-14 Thread Bob Rogers
From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Sat, 14 Oct 2006 13:22:07 +0200 Am Samstag, 14. Oktober 2006 04:21 schrieb Bob Rogers: > Diffs between last version checked in and current workfile(s): Index: compilers/pge/PGE/Regex.pir ==

sprintf() Checkins #14922-14924 Break Linux/PPC Tests

2006-10-14 Thread chromatic
Hi there, Somewhere in the past three checkins is what appears to be an endianness bug; with them, many many tests fail: Failed Test Stat Wstat Total Fail List of Failed --- t/codingstd/cppcommen

Re: Parrot::Coroutine

2006-10-14 Thread Leopold Toetsch
Am Samstag, 14. Oktober 2006 19:48 schrieb Bob Rogers: > True, but this is something different.  Coroutine.pmc is limited in a > way that can't be cured by extension. [ and a lot more ] Thanks for the detailed explanation. I now see the point of a Parrot::Coroutine thingy. OTOH I'd still like

Re: Parrot::Coroutine

2006-10-14 Thread Bob Rogers
From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Sat, 14 Oct 2006 22:34:33 +0200 Am Samstag, 14. Oktober 2006 19:48 schrieb Bob Rogers: > True, but this is something different. ?Coroutine.pmc is limited in a > way that can't be cured by extension. [ and a lot more ] Thanks f

Re: sprintf() Checkins #14922-14924 Break Linux/PPC Tests

2006-10-14 Thread Leopold Toetsch
Am Samstag, 14. Oktober 2006 20:44 schrieb chromatic: > Hi there, > > Somewhere in the past three checkins is what appears to be an endianness > bug; with them, many many tests fail: Indeed - sorry, fixed r14926. I've leanred: on BE boxen you can't format a 'long long' with '%ld' obviously, which

Re: Parrot::Coroutine

2006-10-14 Thread Leopold Toetsch
Am Samstag, 14. Oktober 2006 04:21 schrieb Bob Rogers: A further note, while the patch has hit svn: this namespace > +.namespace ["Parrot::Coroutine"] is actually the absolute namespace: [ 'parrot'; 'Parrot::Coroutine' ] which isn't importable by a lot of HLLs. My remark isn't specific to

Re: Parrot::Coroutine

2006-10-14 Thread Leopold Toetsch
Am Samstag, 14. Oktober 2006 23:20 schrieb Bob Rogers: > This sounds more like a coroutine tutorial to me.  I was hoping that the > 'SEE ALSO' links in the source would cover that.  Still, I agree it > would be good to have a detailed explanation of how coroutines work in > Parrot terms. > >    The

Re: sprintf() Checkins #14922-14924 Break Linux/PPC Tests

2006-10-14 Thread chromatic
On Saturday 14 October 2006 14:22, Leopold Toetsch wrote: > Indeed - sorry, fixed r14926. I've leanred: on BE boxen you can't format a > 'long long' with '%ld' obviously, which is breaking a lot of 'print I0' and > such usage. Confirmed fixed. Thanks! -- c

Re: Parrot::Coroutine

2006-10-14 Thread Bob Rogers
From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Sat, 14 Oct 2006 23:47:13 +0200 Am Samstag, 14. Oktober 2006 23:20 schrieb Bob Rogers: > This sounds more like a coroutine tutorial to me.  I was hoping that the > 'SEE ALSO' links in the source would cover that.  Still, I agree it

sprintf 64 test

2006-10-14 Thread Leopold Toetsch
Folks, Either perl 5 or libc is wrong (or my testcase is bogus, or the standard ...): $ perl -e'printf("!%03.2d!\n", 1)' !001! $ cc -Wall sprintf.c -o sprintf && ./sprintf '%03.2d' 1 # [1] ! 01! Parrot is currently following the 'official' aka libc behavior and is returning the latter re

Re: sprintf 64 test

2006-10-14 Thread SADAHIRO Tomoyuki
On Sun, 15 Oct 2006 00:38:08 +0200, Leopold Toetsch wrote > Folks, > > Either perl 5 or libc is wrong (or my testcase is bogus, or the standard ...): > > $ perl -e'printf("!%03.2d!\n", 1)' > !001! > > $ cc -Wall sprintf.c -o sprintf && ./sprintf '%03.2d' 1 # [1] > ! 01! > > Parrot is cu