[Vm-dev] Re: Method invocation in Slang

Igor Stasenko siguctua at gmail.com
Wed Feb 6 15:49:39 UTC 2008


On 06/02/2008, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
>
> On Feb 6, 2008, at 12:02 , Robert Krahn wrote:
>
> > Hello!
> >
> > Is there a way to invoke a "normal" method from an arbitrary object
> > in Slang?
> >
> > If I have an oop:
> >
> > oop := interpreterProxy instantiateClass: MyClass indexableSize: 0.
> >
> > Now I would like to send message #m1 to the object behind oop. Can
> > the InterpreterProxy do that?
>
> No, the interpreter is not reentrant.
>
> What are you actually trying to accomplish? Possibly Andreas'
> callback support is what you need.
>
> - Bert -
>
>
Invoking methods of object is what actually VM created for.
I might suggest that you need to split primitive on two parts, and
place ST code in between, where you need send message to object.


-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list