Hi, during my attempts to understand GP better, I came across the block (primitives) that outputs an array of all primitive commands. In combination with (primitiveHelpString '') I used GP to print a table with all the primitives and their help text.
A few did not have any help text, I added a short comment there.
I hope that helps those who deal with the functioning of GP.
Because I can't upload .csv files, I've added .gp as file extension. Remove ".gp" and open the file with your prefered spreadsheet program.
Here is the file:
Primitives table with help text.
Moderator: MSandro
Primitives table with help text.
- Attachments
-
- table.csv.gp
- (23.73 KiB) Downloaded 2509 times
- Picochilla
- Posts: 28
- Joined: Sep 23rd, '17, 17:44
Re: Primitives table with help text.
Thank you, that is interresting, I thought GP can access more than only about 300 primitives :(
It would be nice if we could extend GP at C level to add new primitives, for example for simpler interfaces with external programming languages such as Python or Lua, or generally to better interact with the operating system.
It would be nice if we could extend GP at C level to add new primitives, for example for simpler interfaces with external programming languages such as Python or Lua, or generally to better interact with the operating system.
Re: Primitives table with help text.
Great news! In the v254 (v083 library), there is now the exec primitive which lets you interact with other programs on the operating systemPicochilla wrote: ↑May 28th, '18, 20:06Thank you, that is interresting, I thought GP can access more than only about 300 primitives :(
It would be nice if we could extend GP at C level to add new primitives, for example for simpler interfaces with external programming languages such as Python or Lua, or generally to better interact with the operating system.