__find_method Overrideable From PASM/PIR?

2004-04-04 Thread chromatic
According to PDD15, defining a method called __find_method() in my PASM or PIR would allow Perl 5 AUTOLOAD-like behavior. I can override __get_string() -- and it's tested in t/pmc/delegate.t. Is __find_method() workable yet? If not, how would I go about adding it? t/pmc/delegate.t looks like th

[DOCS] Ops parsing

2004-04-04 Thread Michael Scott
I've updated the docs for the ops parsing system. make html-clean; make html You'll find it under Perl Modules/Operations and Ops/Tools. Mike

Re: "new" method

2004-04-04 Thread chromatic
On Sun, 2004-04-04 at 10:17, Leopold Toetsch wrote: > .sub __init method > > is AFAIK the constructor. It gets called automatically for all parent > classes and the class itself and is the best place to put attributes for > objects in place and set these to their default values. I personally wan

Re: "new" method

2004-04-04 Thread Uri Guttman
> "C" == Chris <[EMAIL PROTECTED]> writes: C> How about some variation on "create"? just please make sure it has the missing 'e'. :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and C

RE: "new" method

2004-04-04 Thread Chris
How about some variation on "create"? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.593 / Virus Database: 376 - Release Date: 20/02/2004

Re: "new" method

2004-04-04 Thread Leopold Toetsch
Jens Rieks <[EMAIL PROTECTED]> wrote: > Hi, > Chromatic and I are unsure what the best name for a constructor method is. .sub __init method is AFAIK the constructor. It gets called automatically for all parent classes and the class itself and is the best place to put attributes for objects in pl

"new" method

2004-04-04 Thread Jens Rieks
Hi, Chromatic and I are unsure what the best name for a constructor method is. Leo, is it time-consuming to fix IMCC in order to make it possible to use "new" as a method name? Is there something special to consider to avoid problems regarding several languages? Is BUILD a good name for a non

Re: Languages testing

2004-04-04 Thread Nicholas Clark
On Sun, Mar 28, 2004 at 02:11:01AM -0500, Will Coleda wrote: > use lib qw(../lib ../../lib ../../../lib); > use Parrot::Config; > my $path = $INC{"Parrot/Config.pm"}; > $path =~ s:lib/Parrot/Config.pm$::; > > to figure out the path to the parrot executable. > > Is this too evil, or should I go a

Language Interoperability

2004-04-04 Thread Randy W. Sims
On the Module-Build[1] mailing-list[2] we are currently discussing plugin architectures which will allow users to modify and extend Module::Build's functionality. One thing that we would like to have happen is that when the transition is made to parrot we'd like it to be possible to script Modu

[CVS ci] diamond class hierarchy

2004-04-04 Thread Leopold Toetsch
Object gurus, please have a look at t/pmc/object-meths_17. Is the code ok? Is it failing because init order is really wrong? BTW I tried to add this test as a TODO but this seems not to work. leo