Gforth Manual - Properties of the Objects model Go to the first , previous , next , last section, table of contents . Passing selectors on the stack is a little less convenient, but possible. Objects are just data structures in memory, and are referenced by their address. You can create words for objects with normal defining words like constant . Likewise, there is no difference between instance variables that contain objects and those that contain other data.
Late binding is efficient and easy to use.
There are also a few defining words that parse. It does not try to incorporate everything. An implementation in ANS Forth is available. Go to the first , previous , next , last section, table of contents .