[squeak-dev] Re: primitives

nicolas cellier ncellier at ifrance.com
Sat Nov 1 15:29:22 UTC 2008


Mark Volkmann a écrit :
> Where can I read about the standard primitives in Squeak? I can find 
> lots of resources on writing my own primitives, but I want to know what 
> the existing ones do. For example, I'm looking at the "new" method in 
> Behavior and I see "<primitive: 70>". Where can I find a description of 
> that does? Is there an easy way to find the corresponding C source code?
> 
> ---
> Mark Volkmann
> 
> 
> 

I forgot the links, but search for Smalltalk blue book at Stephane 
Ducasse site.

If you load VMMaker, you will have the code for most of these primitives 
in Smalltalk pseudo-C code (slang). Most of C "source" is in fact 
generated from that.

Nicolas




More information about the Squeak-dev mailing list