[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile as extension language
From: |
Matthew R Wette |
Subject: |
Re: guile as extension language |
Date: |
Sat, 06 Apr 2002 15:47:07 -0800 |
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