Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,2 @@
01 ptr USAGE POINTER TO Some-Type.
01 prog-ptr USAGE PROGRAM-POINTER "some-program". *> TO is optional

View file

@ -0,0 +1,3 @@
ALLOCATE heap-item RETURNING ptr
...
FREE ptr

View file

@ -0,0 +1 @@
SET prog-ptr TO ENTRY "some-program"

View file

@ -0,0 +1,2 @@
SET ptr1 UP BY 10
SET ptr2 DOWN BY LENGTH OF foo

View file

@ -0,0 +1,2 @@
SET ptr1 TO ptr2 *> ptr1 points to where ptr2 points
SET ptr2 TO ADDRESS OF ptr3 *> ptr2 points to ptr3

View file

@ -0,0 +1,2 @@
SET ADDRESS OF foo TO ptr
MOVE "bar" TO foo

View file

@ -0,0 +1 @@
01 obj USAGE OBJECT-REFERENCE "some-object".

View file

@ -0,0 +1,2 @@
INVOKE SomeClass "new" RETURNING obj-ref
SET another-obj-ref TO obj-ref