unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Laurent Marzullo <marzullo@la-defense.oilfield.slb.com>
Subject: C++ Embeded GOOPS interpreter
Date: Thu, 16 Oct 2003 13:35:54 +0200	[thread overview]
Message-ID: <1066304154.28107.35.camel@MARZULLO-MIS> (raw)

Hello,

I would like to write a C++ Application which will use a GOOPS
interpreter.

The C++ application will provide a set of class that could
be used in a scheme programme.

For example, I would like to provide:

class MyClass
{
    public:
        MyClass( int p );
        void SayHello( void );

    private:
        int   m_private;
};

(Perhaps the class above could be seen as:
(define-class <MyClass> ()
    (p #:init-value 0))


and to be able to write in scheme:

(define my_object (make <MyClass> #:p 5 ))

I've take a look at SWIG to generate wrapper function etc, but
it does not use GOOPS even with -c++ option ?
Is there any doc where I could find information of how to write C++
code to provide C++ class access in scheme ?

Thanks

-- 
Laurent Marzullo <marzullo@la-defense.oilfield.slb.com>



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


             reply	other threads:[~2003-10-16 11:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-16 11:35 Laurent Marzullo [this message]
2003-10-16 14:39 ` C++ Embeded GOOPS interpreter Andreas Rottmann
2003-10-16 16:43 ` Matthias Koeppe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1066304154.28107.35.camel@MARZULLO-MIS \
    --to=marzullo@la-defense.oilfield.slb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).