From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthew R Wette Newsgroups: gmane.lisp.guile.user Subject: Re: guile as extension language Date: Sat, 06 Apr 2002 15:47:07 -0800 Sender: guile-user-admin@gnu.org Message-ID: <200204062347.g36Nl7l21986@mr-ed.jpl.nasa.gov> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1018136917 31735 127.0.0.1 (6 Apr 2002 23:48:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2002 23:48:37 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16tzvA-0008Fk-00 for ; Sun, 07 Apr 2002 01:48:36 +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 16tzug-0000mS-00; Sat, 06 Apr 2002 18:48:06 -0500 Original-Received: from grover.jpl.nasa.gov ([128.149.29.21]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16tztk-0000jh-00 for ; Sat, 06 Apr 2002 18:47:08 -0500 Original-Received: from mr-ed.jpl.nasa.gov (mr-ed [128.149.29.79]) by grover.jpl.nasa.gov (8.9.3/8.9.3) with ESMTP id PAA23294 for ; Sat, 6 Apr 2002 15:47:08 -0800 (PST) Original-Received: from mr-ed (localhost [127.0.0.1]) by mr-ed.jpl.nasa.gov (8.10.2+Sun/8.10.2) with ESMTP id g36Nl7l21986 for ; Sat, 6 Apr 2002 15:47:07 -0800 (PST) Original-To: guile-user@gnu.org 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:136 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:136 Matthew R Wette writes ... > > How is Guile intended to be used as an extension language? > > Some extension languages like Perl can be fed commands from the main > application. I believe the Apache Perl module works this way. > > Other extension languages can not be run this way and need to execute > in a separate process, typically communicating via a socket > connection. I believe the Apache Java servlet modules work this way. > > I just read through the Guile 1.5.6 code and it seems that Guile > cannot be fed commands from a parent application like the first case > above. If you want to use Guile as an *extension* language you need > to run it in a separate process and talk via sockets. For example, if > I wanted to generate a Guile Apache module it seems I would need to do > it this way. Is this correct? By the way, I noticed that The GIMP uses a separate process to run script-fu. My interest here was in exploring the scope of work required to make a Guile extension for Dia (the gnome graphics app). Matt _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user