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.
It should answer for example: 'what does primitive 121 implement?'
Regards
Hannes
[1] Which methods use primitives? http://wiki.squeak.org/squeak/367
SystemNavigation new browseAllSelect: [:method | method primitive > 0 and: [(method primitive between: 256 and: 519) not]]
[2] Graphics-Primitive http://wiki.squeak.org/squeak/4017 (empty page)
On 3/12/18, H. Hirzel hannes.hirzel@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.
It should answer for example: 'what does primitive 121 implement?'
Regards
Hannes
Hi Hannes,
On Mar 12, 2018, at 5:42 AM, H. Hirzel hannes.hirzel@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
Hi Eliot
Your answer is fine. It directs people to the place where to get the information.
See updated
http://wiki.squeak.org/squeak/2121
Thank you Hannes
On 3/12/18, Eliot Miranda eliot.miranda@gmail.com wrote:
Hi Hannes,
On Mar 12, 2018, at 5:42 AM, H. Hirzel hannes.hirzel@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
squeak-dev@lists.squeakfoundation.org