www.delorie.com/gnu/docs/guile/goops_62.html   search  
Buy GNU books!

Goops Manual

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

5.2 Introduction

GOOPS is the object oriented extension to Guile. Its implementation is derived from STk-3.99.3 by Erick Gallesio and version 1.3 of the Gregor Kiczales Tiny-Clos. It is very close to CLOS, the Common Lisp Object System (CLtL2) but is adapted for the Scheme language.

Briefly stated, the GOOPS extension gives the user a full object oriented system with multiple inheritance and generic functions with multi-method dispatch. Furthermore, the implementation relies on a true meta object protocol, in the spirit of the one defined for CLOS (Gregor Kiczales: A Metaobject Protocol).

The purpose of this tutorial is to introduce briefly the GOOPS package and in no case will it replace the GOOPS reference manual (which needs to be urgently written now ...).

Note that the operations described in this tutorial resides in modules that may need to be imported before being available. The main module is imported by evaluating:

(use-modules (oop goops))

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