Basically, there are seven words, to define a method, a variable, a class; to end a class, to define a method, to allocate an object, to resolve binding, and the base class (which allocates one cell for the object pointer).
methodm v -- m' v unknown ``method''
Defines a method
varm v size -- m v' unknown ``var''
Defines a variable with size bytes
classclass -- class methods vars unknown ``class''
Starts the definition of a sub-class
end-classclass methods vars -- unknown ``end-class''
Ends the definition of a class
definesxt class "name" -- unknown ``defines''
Binds the xt to the method name in the class
newclass -- o unknown ``new''
Creates a new incarnation of the class
::class "name" -- unknown ``::''
Compiles the method name of the class (not immediate!)
Is the base class of all objects
Go to the first, previous, next, last section, table of contents.