[squeak-dev] [Documentation] Where do I find a list of primitives implemented by the Squeak VM / Pharo VM?

Eliot Miranda eliot.miranda at gmail.com
Mon Mar 12 14:38:31 UTC 2018


Hi Hannes,

> On Mar 12, 2018, at 5:42 AM, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> 
> Hello
> 
> Where do I find a list of primitives implemented by the Squeak VM / Pharo VM?
> 
> I assume most of the primitives are the same.
> 
> I found some pages [1] and [2] related to primitives on the Swiki.
> 
> What I am looking for is an updated
> 
>    'List of primitives of the Squeak VM'
> 
> It might just contain a reference to a source file in a repo.

For the Cog VMs the Bible (actually the implementation) is StackInterpreter class>>#initializePrimitiveTable in the VMMaker.oscog package in source.squeak.org/VMMaker.  It would be great to add a method to the package that generates the Swiki page instead of having to write it manually.

> 
> It should answer for example: 'what does primitive 121 implement?'
> 
> 
> Regards
> 
> Hannes
> 


More information about the Squeak-dev mailing list