Re: Objects, finally (try 1)

2003-01-16 Thread Gopal V
If memory serves me right, Jonathan Sillito wrote: > x = a.f # get the method, a limited form of currying > # since the first arg (a==self) is stored > x() # output: A.f() > > setattr(A, "f", g) # replace A's f with g > > a.f()# output: g() > x() # output (still): A.f()

pretty pictures

2003-01-16 Thread Mitchell N Charity
I was playing with doxygen (www.stack.nl/~dimitri/doxygen/index.html) (think javadoc for C++) and thought I'd pass along some random pictures. Doxygen unfortunately doesn't handle perl code, and even has problems with parrot's C. (IMHO, the world needs a wrapper hack which allows you to run all t

Re: pretty pictures

2003-01-16 Thread James Michael DuPont
--- Mitchell N Charity <[EMAIL PROTECTED]> wrote: > Doxygen unfortunately doesn't handle perl code, and even has problems > with parrot's C. You might be interested in autodia, it handles perl. http://droogs.org/autodia/ > (IMHO, the world needs a wrapper hack which allows > you to run all thes

[CVS ci] eval #1

2003-01-16 Thread Leopold Toetsch
So I did it. Check in the first version of eval. First of all, I changed pdd06_pasm, the compile and compreg opcodes didn't fit really well into - well - my scheme of objects. A compiler is now a Parrot class, derived from NCI, living in interpreter->Parrot_compreg_hash. This also needed a change

RE: pretty pictures

2003-01-16 Thread Marc M. Adkins
I have a Perl program that processes Perl source and generates fake C++ headers that doxygen will process. Doxygen doesn't have a hook for adding a new parser, so this is the only way to hack it. The doxygen way of doing things depends pretty heavily on special comments. My doxygen hack pulls a

is, has, and does (more object stuff)

2003-01-16 Thread Dan Sugalski
I still have most of yesterday's p6i mail to dig through (and probably won't until this evening), but one thing that's struck me (courtesy of an ill-timed grumble about objects) is that there are really three ways to do inheritance, and most languages sort of do them, with varying amounts of da

Re: pretty pictures

2003-01-16 Thread Tupshin Harper
The ability to download autodia off of the primary site and the mirror is unfortunately broken. -Tupshin James Michael DuPont wrote: --- Mitchell N Charity <[EMAIL PROTECTED]> wrote: Doxygen unfortunately doesn't handle perl code, and even has problems with parrot's C. You might be

[perl #20355] [PATCH] Incorrect ifdef nesting in cpu_dep.c

2003-01-16 Thread via RT
# New Ticket Created by Andy Dougherty # Please include the string: [perl #20355] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=20355 > I don't think the ifdef logic is quite right in cpu_dep.c. Specifically, if either __

Re: [perl #20355] [PATCH] Incorrect ifdef nesting in cpu_dep.c

2003-01-16 Thread Dan Sugalski
At 7:29 PM + 1/16/03, Andy Dougherty (via RT) wrote: The enclosed patch changes the logic to what I suspect was actually intended. Applied, thanks. -- Dan --"it's like this"--- Dan Sugalski

Re: optimising, and per file flags

2003-01-16 Thread Nicholas Clark
On Mon, Jan 13, 2003 at 09:22:07AM -0800, Steve Fink wrote: > On Jan-12, Nicholas Clark wrote: > > IIRC Leo added an option to Configure.pl to turn on optimising. > > > > Prior to this, on IRC Dan said to me that we need to avoid the hack that perl5 > > found itself in, when it had to retro-fit th

Re: [CVS ci] eval #1

2003-01-16 Thread Leopold Toetsch
Leopold Toetsch wrote: So I did it. Check in the first version of eval. Test status: make test succeeds, as well as -P, running the eval progs with JIT or with -t (trace)/-b (bounds) option fails, probably related to messing with the byte code. Fixed. bug in -j was triggered by garbage mem

[perl #20358] [BUG] disassemble still

2003-01-16 Thread via RT
# New Ticket Created by Leopold Toetsch # Please include the string: [perl #20358] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=20358 > disassemble sometimes takes huge amounts of mem and dies. I'm using disassemble to ge