This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GOOPS


Bill Nell <bnell@mathworks.com> writes:

> Ok, stupid question:  Where do I get the latest version of GOOPS?  The
> one on ftp.gnu.org is 0.1.2 and I remember seeing that it is know up
> to 0.1.4?

Try

  ftp://ftp.nada.kth.se/SANS/programs/guile/guile-oops-0.1.3i.tar.gz

The C-level interface is currently undocumented and experimental, but
it should work.

The principle is to use scm_make_class to create a class from the C
level and then populate it with slots using scm_add_slot.

There are some snarf macros is goops-snarf.h which are used in the
demo example fdi.c.  You get fdi.c compiled and linked into guile-oops
if you give configure the option --enable-fdi-example.

Please tell me if there are any kinds of problems.  The current C
interface is maybe not the best imaginable, but the basic framework of
GOOPS is good and has a great deal of power, so we should be able to
provide whatever functionality is needed.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]