From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Laurent Marzullo Newsgroups: gmane.lisp.guile.devel Subject: C++ Embeded GOOPS interpreter Date: Thu, 16 Oct 2003 13:35:54 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <1066304154.28107.35.camel@MARZULLO-MIS> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1066304714 11266 80.91.224.253 (16 Oct 2003 11:45:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 11:45:14 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Oct 16 13:45:12 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AA6Z6-0001sd-00 for ; Thu, 16 Oct 2003 13:45:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AA6Ww-0003W3-IC for guile-devel@m.gmane.org; Thu, 16 Oct 2003 07:42:58 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AA6Vw-0003N6-OV for guile-devel@gnu.org; Thu, 16 Oct 2003 07:41:56 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AA6Uv-00036e-0A for guile-devel@gnu.org; Thu, 16 Oct 2003 07:41:25 -0400 Original-Received: from [134.32.26.55] (helo=mail.slb.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AA6Uu-00035r-7o for guile-devel@gnu.org; Thu, 16 Oct 2003 07:40:52 -0400 Original-Received: from conversion-daemon.eurmta01.london.eur.slb.com by eurmta01.london.eur.slb.com (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) id <0HMU00401LRHZ8@eurmta01.london.eur.slb.com> for guile-devel@gnu.org; Thu, 16 Oct 2003 11:40:51 +0000 (GMT) Original-Received: from snmsu2.montrouge.omnes.slb.com (snmsu2.montrouge.omnes.slb.com [163.187.152.4]) by eurmta01.london.eur.slb.com (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0HMU00DHSLRD3F@eurmta01.london.eur.slb.com> for guile-devel@gnu.org; Thu, 16 Oct 2003 11:40:25 +0000 (GMT) Original-Received: from snmsu1.montrouge.omnes.slb.com (snmsu1 [163.187.152.2]) by snmsu2.montrouge.omnes.slb.com (8.12.10/8.12.6) with ESMTP id h9GBcNBm023347 for ; Thu, 16 Oct 2003 13:38:23 +0200 (MET DST) Original-Received: from dhcp-90-037.la-defense.eur.slb.com (dhcp-90-037.la-defense.eur.slb.com [163.187.90.37]) by snmsu1.montrouge.omnes.slb.com (8.12.10/8.12.6) with ESMTP id h9GBcN1I017212 for ; Thu, 16 Oct 2003 13:38:23 +0200 (MET DST) Original-To: "Guile (Devel)" X-Mailer: Ximian Evolution 1.4.4 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2879 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2879 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 () (p #:init-value 0)) and to be able to write in scheme: (define my_object (make #: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 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel