Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Object system

7 views
Skip to first unread message

Luke Palmer

unread,
Dec 31, 2003, 4:06:19 PM12/31/03
to Internals List
Since I'm working on a compiler that requires objects, and seeing as how
we have a python compiler now hanging over our heads, what work is
necessary to finish up the object system?

I notice that ParrotObject only has [get|set]_integer_keyed. I assume
we intend to make those for the rest of the data types.

Also, in order to support anonymous classes, I'd like the method table
to be in the class object itself, as opposed to in mangled globals. Is
this also something I could tackle?

What else could I do?

Thanks,
Luke

Leopold Toetsch

unread,
Jan 2, 2004, 6:46:34 AM1/2/04
to Luke Palmer, perl6-i...@perl.org
Luke Palmer <fibo...@babylonia.flatirons.org> wrote:

> I notice that ParrotObject only has [get|set]_integer_keyed. I assume
> we intend to make those for the rest of the data types.

Yep. Albeit before continuing here filling the blanks, I'd really like
to have attribute naming/mangling clarified. The pmc doesn't depend on
that, but tests do :)

> Also, in order to support anonymous classes, I'd like the method table
> to be in the class object itself, as opposed to in mangled globals. Is
> this also something I could tackle?

Its again the problem of name mangling. Melvin's proposal WRT class
syntax seems to imply, that imcc takes care of bundling methods with
their classes, but I'm not sure, how the anonymous case will be done.

> Thanks,
> Luke

leo

0 new messages