I'm still working on my use case, but it appears the new MetaClass PMC
(src/pmc/metaclass.pmc) could use this vtable method as well; currently it
only has an add_attribute PMETHOD.

On 3/4/07, Alek Storm <[EMAIL PROTECTED]> wrote:

Hmm, no, these deal with normal object attributes.  I believe you're
thinking of properties.  I'll put together some sketch code with what
I already have and post that.

Thanks,
Alek Storm

On 3/5/07, chromatic <[EMAIL PROTECTED]> wrote:
> On Sunday 04 March 2007 19:13, Alek Storm wrote:
>
> > In fact, these vtable methods *encourage* the use of many languages in
> > a single application.  For example, without these methods, programmers
> > have to be aware of the semantics of the Smalltalk object system and
> > use extra code when dealing with Smalltalk objects, breaking
> > abstraction.  With them, however, interoperability is complete, and
> > the Smalltalk object semantics are still satisfied.
>
> Are you intending to use these to store instance attributes?  I thought
the
> point of these was to store annotations on PMCs--something very
different
> from member variables.
>
> Perhaps the discussion would be clearer if you were to sketch out the
> specific
> behavior you would like to enable in the HLL.
>
> -- c
>

Reply via email to