[Vm-dev] Get a symbol pointer une VMMaker

Bert Freudenberg bert at freudenbergs.de
Thu Apr 19 12:49:56 UTC 2007


On Apr 19, 2007, at 14:16 , Mathieu Suen wrote:

>
> Hi,
>
> I am trying to hack some method and I would like to send a message  
> to a Squeak object in the VM.
> How the reification works between the VM and the Squeak word?
>
> I could do somethigs like:
>
> 	messageSelector := "Pointer to the symbol I don't know how to  
> retrieve."
> 	argumentCount := 1
> 	self normalSend.
>

I don't think you can call the interpreter from within a primitive.  
The only way for this would be Andreas' callback support.

Perhaps you can give a little more context about what you are trying  
to do?

- Bert -




More information about the Vm-dev mailing list