Re: Objects, methods, attributes, properties, and other related frobnitzes

2003-02-19 Thread Dave Mitchell
On Wed, Feb 19, 2003 at 02:06:55PM +, Peter Haworth wrote: > Shouldn't we be traversing the inheritance tree once, doing these three > steps at each node until one works, rather doing each step once for the > whole tree. MM dispatch probably complicates this, though. > > If my derived class ha

Re: Arrays, lists, referencing

2003-02-19 Thread Luke Palmer
On Wed, Feb 19, 2003 at 09:51:12AM +1100, Deborah Ariel Pickett wrote: > That said, I don't know of anything that the C comma operator can do > that you couldn't equivalently do with a Perl5 C statement: > > foo() or (do { warn("blah"); next; }); # Yes, it's ugly. Well, gee, it's not that ugl

Re: Arrays, lists, referencing

2003-02-19 Thread Smylers
Dave Mitchell wrote: > On Tue, Feb 18, 2003 at 10:06:29PM -, Smylers wrote: > > > More practically, the length of a list is never interesting: a list > > by definition must be hardcoded into the program so its length is > > known at compile time. > > Err, no. Eg in perl 5: > > $value =

Re: Arrays, lists, referencing

2003-02-19 Thread Stephen McCamant
> "DP" == Deborah Ariel Pickett <[EMAIL PROTECTED]> writes: DP> One thing that the C comma operator promises is that its left DP> operand (and all side effects) is completely evaluated before work DP> starts on the right operand. (This may not be strictly true in DP> the Perl interpret

Re: parrot performance vs.(trivial test) the good, the bad, and the ugly

2003-02-19 Thread schwern
On Tue, Feb 18, 2003 at 09:27:17PM +0100, Leopold Toetsch wrote: > > --optimize may be broken. I tried it with a clean parrot source and > > > The ellipses should have been placeholders for other options. I > configure mine with: > > perl Configure.pl --floatval=double --debugging --optimize

Re: Arrays, lists, referencing

2003-02-19 Thread David Storrs
On Wed, Feb 19, 2003 at 09:51:12AM +1100, Deborah Ariel Pickett wrote: > That said, I don't know of anything that the C comma operator can do > that you couldn't equivalently do with a Perl5 C statement: > > foo() or (do { warn("blah"); next; }); # Yes, it's ugly. Or just a Boolean: foo(

Re: parrot performance vs.(trivial test) the good, the bad, and the ugly

2003-02-19 Thread schwern
On Tue, Feb 18, 2003 at 01:53:11PM +0100, Leopold Toetsch wrote: > Did you have an optimized parrot compile? > > ( make progclean ; perl Configure.pl ... --optimize ; make -s) --optimize may be broken. I tried it with a clean parrot source and I still get cc -g like so: perl pmc2c.pl coroutine.

use only The::Finest => 1.23;

2003-02-19 Thread Brian Ingerson
I've just released a module called 'only.pm' that allows people to install multiple versions of various modules. It also lets them 'use' specific versions. It was suggested to me that this might contribute insight towards module versioning in Perl6. Have fun. Here is the doc: NAME only -

Trivial patch for examples/mops/mops.py

2003-02-19 Thread Art Haas
This patch assumes that '/usr/bin/python' exists, of course ... Index: examples/mops/mops.py === RCS file: /cvs/public/parrot/examples/mops/mops.py,v retrieving revision 1.2 diff -u -u -r1.2 mops.py --- examples/mops/mops.py 13

Re: parrot performance vs.(trivial test) the good, the bad, and the ugly

2003-02-19 Thread schwern
On Tue, Feb 18, 2003 at 04:03:40AM -0800, Tupshin Harper wrote: > FYI...all three used the identical algorithm taken from the primes.pasm > example complete with labels and gotos(makes for very disconcerting perl > code). Startup times and printf times were not significant in any of the > cases(

[perl #21300] Testing

2003-02-19 Thread Gregory \(Internal\)
# New Ticket Created by "Gregory \(Internal\)" # Please include the string: [perl #21300] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=21300 > Testing body Gregory

Re: Objects, methods, attributes, properties, and other related frobnitzes

2003-02-19 Thread Peter Haworth
On Fri, 14 Feb 2003 15:56:25 -0500, Dan Sugalski wrote: > I got clarification. The sequence is: > > 1) Search for method of the matching name in inheritance tree > 2) if #1 fails, search for an AUTOLOAD > 3) if #2 fails (or all AUTOLOADs give up) then do MM dispatch Shouldn't we be traversing the

[perl #21301] [PATCH] life.pasm

2003-02-19 Thread via RT
# New Ticket Created by Leon Brocard # Please include the string: [perl #21301] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=21301 > This little patch changes the life.pasm in examples/assembly/ to use a small spaceship i