Re: Distributed testing idea

2004-03-14 Thread Scott Bolte
Just for the record, I've abandoned the HTTP::Daemon changes that supported using two unidirectional pipes. Given what I've learned, I believe the HTTP protocol precludes that mode. The problem is reading some types of response messages. When using

[PROPOSED PATH] Clean Up Compiler Warnings (Linux PPC)

2004-03-14 Thread chromatic
Hi there, The attached patch (mostly for discussion, not applying) cleans up three compiler warnings on Linux PPC. These are all related to implicitly declared functions. My solution may not be the best approach, but it works for me. In particular, the posix_memalign() manpage states:

RE: Operators that keep going and going...

2004-03-14 Thread Matt Creenan
It just goes to show.. the perl community has already thought of everything.. -Original Message- From: Luke Palmer [mailto:[EMAIL PROTECTED] Sent: Sunday, March 14, 2004 12:41 PM To: Carissa Cc: Perl Language Subject: Re: Operators that keep going and going... Carissa writes: > The oth

Re: OO version of Data::Dumper, library/onload.imc, library/objects.imc

2004-03-14 Thread Jens Rieks
Hi, On Sunday 14 March 2004 18:55, Leopold Toetsch wrote: > Jens Rieks <[EMAIL PROTECTED]> wrote: > > here is ready-for-commit version of Data::Dumper. > > Committed (forgot description and credits - sorry). > > Two tests are failing here > t/pmc/dumper.t2 512122 16.67% 8 12 > > Co

Re: Classes and metaclasses

2004-03-14 Thread Piers Cawley
Leopold Toetsch <[EMAIL PROTECTED]> writes: > Piers Cawley <[EMAIL PROTECTED]> wrote: >> Leopold Toetsch <[EMAIL PROTECTED]> writes: > >>> Dan Sugalski <[EMAIL PROTECTED]> wrote: >>> The one question I have is whether we need to have a "call class method" operation that, when you invoke

Re: Classes and metaclasses

2004-03-14 Thread Mitchell N Charity
This will have to be quick, but... Objects, and Classes, and MetaClasses, oh my! In the beginning, there is MMD. Ideally as a lexically and dynamically scoped first-class variable. Dispatching on argument types, value predicates, call site, current continuation, and all sorts of other useful thin

unprefixed global symbols

2004-03-14 Thread Mitchell N Charity
Leopold Toetsch <[EMAIL PROTECTED]> wrote: Marcus Holland-Moritz <[EMAIL PROTECTED]> wrote: > One of my modules embeds the ucpp preprocessor, which has a > function init_tables(). The same function exists in parrot. Renamed. Another item for the embedding/extending todo list: namesp

Re: parrot no longer compiles on win32

2004-03-14 Thread Leopold Toetsch
Goplat <[EMAIL PROTECTED]> wrote: > --- Leopold Toetsch <[EMAIL PROTECTED]> wrote: >> Goplat <[EMAIL PROTECTED]> wrote: >> > ops/sys.ops:169: warning: implicit declaration of function `gmtime_r' >> > ops/sys.ops:170: warning: implicit declaration of function `asctime_r' >> > ops/sys.ops:178: warni

Re: OO version of Data::Dumper, library/onload.imc, library/objects.imc

2004-03-14 Thread Leopold Toetsch
Jens Rieks <[EMAIL PROTECTED]> wrote: > here is ready-for-commit version of Data::Dumper. Committed (forgot description and credits - sorry). Two tests are failing here t/pmc/dumper.t2 512122 16.67% 8 12 Could be whitespace problem. Thanks for the first OO app, leo

Re: parrot no longer compiles on win32

2004-03-14 Thread Goplat
--- Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Goplat <[EMAIL PROTECTED]> wrote: > > ops/sys.ops:169: warning: implicit declaration of function `gmtime_r' > > ops/sys.ops:170: warning: implicit declaration of function `asctime_r' > > ops/sys.ops:178: warning: implicit declaration of function `loc

Re: Operators that keep going and going...

2004-03-14 Thread Luke Palmer
Carissa writes: > The other thought that grew from these random neurons firing was whether or > not it would be possible to have operators that don't actually do anything > until the data they're dependent upon changes. I should hope that would be possible, since it's possible in Perl 5! See perl

OO version of Data::Dumper, library/onload.imc, library/objects.imc

2004-03-14 Thread Jens Rieks
Hi all, here is ready-for-commit version of Data::Dumper. Not everything is documented yet, but the original interface is still functional. Most of the code is now loaded with load_bytecode, which reduces memory usage if several loaded modules are using the dumper. New/modified things: - the co

Re: [perl #27637] [PATCH] Fix failing Tcl language tests

2004-03-14 Thread Leopold Toetsch
Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote: > this patch let's the Tcl test suite complete again. There are no new > features and the test suite han't been touched. > The major change is, that subs are now called like: > > word_length = __match_close( start_word, buffer ) Thanks, applied.

[FYI] mainframe inside the notebook

2004-03-14 Thread Leopold Toetsch
The German computer mag iX 4/2004 (p98 ff) has an article about the "hercules"[1] emulator. You can run e.g. Linux S/390, Z/OS, OS/390, and such on a x86 box. [1] www.conmicro.cx/Hercules/ leo

Re: [perl #27624] [PATCH] make output from classes/make neat

2004-03-14 Thread Leopold Toetsch
Matt Fowles <[EMAIL PROTECTED]> wrote: > This patch makes the output from classes/make a little neater... Thanks, applied. leo

[perl #27637] [PATCH] Fix failing Tcl language tests

2004-03-14 Thread via RT
# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #27637] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=27637 > Hi, this patch let's the Tcl test suite complete again. There are no new fea

Re: newbie question....

2004-03-14 Thread Paolo Molaro
My weekly perusing on parrot lists... On 03/12/04 Dan Sugalski wrote: > For example, if you look you'll see we have 28 binary "add" ops. > .NET, on the other hand, only has one, and most hardware CPUs have a Actually, there are three opcodes: add, add.ovf, add.ovf.un (the last two throw an ex

Re: Operators that keep going and going...

2004-03-14 Thread Simon Cozens
[EMAIL PROTECTED] (Carissa) writes: > Obviously the Perl6 community has accepted that it's possible to have > variants on operators for things like vectorization. I'm wondering if there > would be any desire, need or room for what I have so far thought of as > "persistent" (or "Energizer Bunny") o

Re: PDD15: per-class attribute offsets

2004-03-14 Thread Leopold Toetsch
Oli <[EMAIL PROTECTED]> wrote: > But, even if we stop everything until all objects got their attribute > list updated, any offsets previously obtained via C may > still be bogus afterwards. And there is no way for the code that holds > the offset to know that either. Good point. It seems that aft

Re: Classes and metaclasses

2004-03-14 Thread Leopold Toetsch
Piers Cawley <[EMAIL PROTECTED]> wrote: > Leopold Toetsch <[EMAIL PROTECTED]> writes: >> Dan Sugalski <[EMAIL PROTECTED]> wrote: >> >>> The one question I have is whether we need to have a "call class >>> method" operation that, when you invoke it, looks up the class of the >>> object and redispat

Re: [perl #27609] [PATCH] Fix illegal CFLAGS

2004-03-14 Thread Leopold Toetsch
Andy Dougherty <[EMAIL PROTECTED]> wrote: > While checking out ponie-2, I got stuck building parrot. The > following patch papers over the problem, but I wonder why > makefiles.pl is altering CFLAGS. Shouldn't that information > logically be in CFLAGS.in? Maybe processing that doesn't provide t

Operators that keep going and going...

2004-03-14 Thread Carissa
No, this isn't a complaint about the number of operators in Perl6. ;-) Rather I'd just like to throw out an idea (or two) that occurred to me today somewhere between consciousness and the lack thereof while riding the Skytrain. Obviously the Perl6 community has accepted that it's possible to hav

Re: CPAN Upload: A/AB/ABERGMAN/ponie-2.tar.gz - Ponie Development Release 2

2004-03-14 Thread Leopold Toetsch
Marcus Holland-Moritz <[EMAIL PROTECTED]> wrote: > One of my modules embeds the ucpp preprocessor, which has a > function init_tables(). The same function exists in parrot. Renamed. thanks for testing, leo

Re: parrot no longer compiles on win32

2004-03-14 Thread Leopold Toetsch
Goplat <[EMAIL PROTECTED]> wrote: > ops/sys.ops:169: warning: implicit declaration of function `gmtime_r' > ops/sys.ops:170: warning: implicit declaration of function `asctime_r' > ops/sys.ops:178: warning: implicit declaration of function `localtime_r' > msvcrt doesn't have these functions (it us

[perl #27624] [PATCH] make output from classes/make neat

2004-03-14 Thread via RT
# New Ticket Created by Matt Fowles # Please include the string: [perl #27624] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=27624 > All~ This patch makes the output from classes/make a little neater... Matt Index: co

Re: PDD15: per-class attribute offsets

2004-03-14 Thread Oli
Dan Sugalski wrote: As well as involving much finding of instances, and moving of their attribute values, this isn't thread safe (please excuse my lack of PASM syntax knowledge): Yeah, adding an attribute requires a stop-the-world action, as every object that has the modified class needs to be

Re: Mutating methods

2004-03-14 Thread arcadi shehter
Date: Fri, 12 Mar 2004 12:01:10 -0800 Larry Wall wrote: >It's really a pity that question mark is already so overloaded with >boolean connotations, because > >$dog? .bark > >would really be the best postfix operator in ASCII for this. >People would probably end up writing > >my Dog $spot ?

[perl #27609] [PATCH] Fix illegal CFLAGS

2004-03-14 Thread via RT
# New Ticket Created by Andy Dougherty # Please include the string: [perl #27609] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=27609 > While checking out ponie-2, I got stuck building parrot. The following patch paper

Re: Classes and metaclasses

2004-03-14 Thread Piers Cawley
Leopold Toetsch <[EMAIL PROTECTED]> writes: > Dan Sugalski <[EMAIL PROTECTED]> wrote: > >> The one question I have is whether we need to have a "call class >> method" operation that, when you invoke it, looks up the class of the >> object and redispatches to it, or whether class methods are just >

Re: Classes and metaclasses

2004-03-14 Thread Paolo Molaro
On 03/13/04 Mark Sparshatt wrote: > One difficulty is when calling class methods some languages require that > you provide the class object as the receiver (Ruby and c# do this) while > some languages let you use an instance of the class as the receiver > (Java does this) I think you're confusi

Re: More object stuff

2004-03-14 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > ... --should we have the > base object system participate in multimethod dispatch? That is, if > someone does an: > add P1, P2, P3 > and P2 is a parrot object, should that add vtable method > automatically redispatch to MMD if the vtable method can't

Re: [BUG] can not use op names as sub/method name

2004-03-14 Thread Leopold Toetsch
Jens Rieks <[EMAIL PROTECTED]> wrote: > Hi, > On Saturday 13 March 2004 07:28, Leopold Toetsch wrote: >> Jens Rieks <[EMAIL PROTECTED]> wrote: >> > .sub open method > Or, maybe .sub "foo" method as an alternative syntax? > This would allow other characters than now in sub names, too. I've now al

[CVS ci] more PIR syntax improvements

2004-03-14 Thread Leopold Toetsch
PIR did parse since quite a time instructions like: $I0 = defined $P0[0] $P1 = clone $P2 but these were handled with explicite rules. And I found me often writing: len = length $S0 which wasn't a valid syntax. I've now tossed the special handling of defined and clone. Instead PIR allows

[CVS ci] PIR syntax

2004-03-14 Thread Leopold Toetsch
1) to disambiguate '.' in method calls from concat the latter now needs spaces around the dot. obj.meth # a meth call x . y # concat x, y 2) added in a bunch of missing operators: $ perl -Ilib -Iimcc imcc/t/syn/op.t 1..10 ok 1 - += ok 2 - -= ok 3 - *= ok 4 - /= ok 5 - &= ok 6 - |= ok

Re: imcc concat and method syntax

2004-03-14 Thread Leopold Toetsch
Melvin Smith <[EMAIL PROTECTED]> wrote: > foo.baz is a method or member access > foo . baz is concatenation So it is now. CONCAT requires whitespace on either side. > -Melvin leo