From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Brett Viren Newsgroups: gmane.lisp.guile.user Subject: Re: guile as extension language Date: Sun, 7 Apr 2002 10:24:10 -0400 Sender: guile-user-admin@gnu.org Message-ID: <15536.22154.342488.354382@minos.phy.bnl.gov> References: <200204062347.g36Nl7l21986@mr-ed.jpl.nasa.gov> Reply-To: Brett Viren NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1018189705 2120 127.0.0.1 (7 Apr 2002 14:28:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 7 Apr 2002 14:28:25 +0000 (UTC) Cc: guile-user@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16uDea-0000Y5-00 for ; Sun, 07 Apr 2002 16:28:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16uDdN-0004TJ-00; Sun, 07 Apr 2002 10:27:09 -0400 Original-Received: from smtpgw.bnl.gov ([130.199.3.16]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16uDaW-0004Gg-00 for ; Sun, 07 Apr 2002 10:24:12 -0400 Original-Received: from bnl.gov ([130.199.128.163]) by smtpgw.bnl.gov with esmtp (Exim 3.34 #1 ) id 16uDaU-0006uZ-00; Sun, 07 Apr 2002 10:24:10 -0400 Original-Received: from minos (minos.phy.bnl.gov [130.199.36.108]) by bnl.gov (8.9.2/8.9.2) with ESMTP id KAA07194; Sun, 7 Apr 2002 10:24:10 -0400 (EDT) Original-Received: from bviren by minos with local (Exim 3.34 #1 (Debian)) id 16uDaU-0000I5-00; Sun, 07 Apr 2002 10:24:10 -0400 Original-To: Matthew R Wette In-Reply-To: <200204062347.g36Nl7l21986@mr-ed.jpl.nasa.gov> X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:142 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:142 I am sure the experts will say more, but as a simple user I can say that you can indeed embed (lib)guile into your executable w/out the need to talk to the guile executable via sockets (ick!). There are 2 ends of a spectrum in how you can embed guile. On one end, you can do everything in scheme and call scheme wrapped versions of your library's functions. On the other, you can do everything in C/C++ and call into scheme either by passing strings of scheme code to guile or via guile's scm_ C functions using "SCM" objects. I have written both type of applications and both models are easy to develop. However, since dia's main loop is under GTK+'s control, you will likely tend toward the former. BTW, I think it would be way cool to extend dia with guile. Do you intend to use scheme as an output format instead of the current XML, or just use it for run time extension, a'la emacs? Regards, -Brett. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user