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

[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

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 allowed

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 be

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 confusing

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 methods

[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. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=27609 While checking out ponie-2, I got stuck building parrot. The following patch

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

[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. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=27624 All~ This patch makes the output from classes/make a little neater... Matt

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 uses

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: [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 the

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 redispatches to it, or

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 Cclassoffset 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

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 ?= .new;

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

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)

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

[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 #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. leo

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

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 `localtime_r'

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

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: namespace

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

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

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 it, looks up the class of

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 Could be

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: 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: warning: implicit