[Q] slang

Andreas Raab andreas.raab at gmx.de
Mon Feb 17 13:16:43 UTC 2003


> Hummm, I need to think more about that.

Yes. Modifying the VM in such fundamental ways has severe implications.
Unless you *really* need it I would recommend strongly against it. But if
you do, consider adding Classbox to the special objects array - it can then
be accessed from within the VM. It doesn't help you to send messages to
random instances of it in the image though (that is, unless you want to
enumerate the entire image for this).

Cheers,
  - Andreas

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On 
> Behalf Of Alexandre Bergel
> Sent: Monday, February 17, 2003 2:01 PM
> To: The general-purpose Squeak developers list
> Subject: Re: [Q] slang
> 
> 
> > Pass it as an argument into a primitive.
> 
> I would like to modify the methodlookup in order to take into 
> account classboxes. More specifically I would like to send 
> messages to the class Classbox and to its instances contained 
> in the image.
> Hummm, I need to think more about that.
> 
> Thanks for your answers,
> Alexandre
> 
> > 
> > > What would be 
> > > the Slang/C translation for 'Smalltalk at: #MyGreatClass' ?
> > 
> > Doesn't exist. The VM makes no assumptions about the way 
> the image is
> > organized.
> > 
> > Cheers,
> >   - Andreas
> > 
> 
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Bergel Alexandre  http://www.iam.unibe.ch/~bergel
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 



More information about the Squeak-dev mailing list