www.delorie.com/gnu/docs/gforth/gforth_158.html   search  
 
Buy GNU books!


Gforth Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.21.3 The `objects.fs' model

This section describes the `objects.fs' package. This material also has been published in M. Anton Ertl, Yet Another Forth Objects Package, Forth Dimensions 19(2), pages 37--43.

This section assumes that you have read 5.20 Structures.

The techniques on which this model is based have been used to implement the parser generator, Gray, and have also been used in Gforth for implementing the various flavours of word lists (hashed or not, case-sensitive or not, special-purpose word lists for locals etc.).

5.21.3.1 Properties of the `objects.fs' model  
5.21.3.2 Basic `objects.fs' Usage  
5.21.3.3 The `object.fs' base class  
5.21.3.4 Creating objects  
5.21.3.5 Object-Oriented Programming Style  
5.21.3.6 Class Binding  
5.21.3.7 Method conveniences  
5.21.3.8 Classes and Scoping  
5.21.3.9 Dividing classes  
5.21.3.10 Object Interfaces  
5.21.3.11 `objects.fs' Implementation  
5.21.3.12 `objects.fs' Glossary  

Marcel Hendrix provided helpful comments on this section.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003