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: guile as extension language Date: Sat, 06 Apr 2002 15:33:58 -0800 Sender: guile-user-admin@gnu.org Message-ID: <200204062333.g36NXwl21935@mr-ed.jpl.nasa.gov> Reply-To: Matt Wette NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1018136444 31355 127.0.0.1 (6 Apr 2002 23:40:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2002 23:40:44 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16tznY-00089c-00 for ; Sun, 07 Apr 2002 01:40:44 +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 16tzj2-0000Aj-00; Sat, 06 Apr 2002 18:36:04 -0500 Original-Received: from grover.jpl.nasa.gov ([128.149.29.21]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16tzh1-00005e-00 for ; Sat, 06 Apr 2002 18:33:59 -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 PAA22503 for ; Sat, 6 Apr 2002 15:33:58 -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 g36NXwl21935 for ; Sat, 6 Apr 2002 15:33:58 -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:135 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:135 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? Matt _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user