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.
Thanks
Mth
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 -
Well for example I want to send to Transcript the method #show:
Mth
Write it to the console, that's certainly ways simple ;-)
Lukas
vm-dev@lists.squeakfoundation.org