From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Emsley Newsgroups: gmane.lisp.guile.user Subject: Re: guile as extension language Date: 07 Apr 2002 04:29:14 +0100 Sender: guile-user-admin@gnu.org Message-ID: <1018150155.1544.17.camel@maybelline> References: <200204062347.g36Nl7l21986@mr-ed.jpl.nasa.gov> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1018149904 6716 127.0.0.1 (7 Apr 2002 03:25:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 7 Apr 2002 03:25:04 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16u3Ie-0001kC-00 for ; Sun, 07 Apr 2002 05:25:04 +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 16u3Hf-0002Tv-00; Sat, 06 Apr 2002 22:24:03 -0500 Original-Received: from mta02-svc.ntlworld.com ([62.253.162.42]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16u3F2-0002RX-00 for ; Sat, 06 Apr 2002 22:21:20 -0500 Original-Received: from maybelline ([80.4.102.118]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020407032118.ZZSL286.mta02-svc.ntlworld.com@maybelline> for ; Sun, 7 Apr 2002 04:21:18 +0100 Original-To: guile-user@gnu.org In-Reply-To: <200204062347.g36Nl7l21986@mr-ed.jpl.nasa.gov> X-Mailer: Evolution/1.0.2 (1.0.2-2) 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:138 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:138 On Sun, 2002-04-07 at 00:47, Matthew R Wette wrote: > Matthew R Wette writes ... > > > > How is Guile intended to be used as an extension language? > > > My interest here was in exploring the scope of work required to > make a Guile extension for Dia (the gnome graphics app). > This is not a reply really, more of a me-too. I have recently written a program in C/C++ using gtk [1] and now want to type a script (say) (or commands) at the console/terminal. I would like this to be interpreted by guile but cannot see how since gtk has the control passed completely to it using gtk_main(). Is scm_init_guile() really the way to do it? I got the impression that it was not, if I wanted portability (and I do). I initially thought that that guile + gtk (not guile-gtk) would be common combination and tried to find examples to see how they did it, but I could not. Can you recommend anything? I thought that converting to guile-gtk, but since I was using glade and gtkglarea, I was a bit nervous about doing that. Should I have been? Thanks, Paul. [1] actually it does some sort of molecular graphics, I wrote about something like it a few months ago. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user