unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Re: guile as extension language
@ 2002-04-06 23:47 Matthew R Wette
  2002-04-07  3:29 ` Paul Emsley
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Matthew R Wette @ 2002-04-06 23:47 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 8+ messages in thread
* guile as extension language
@ 2002-04-06 23:33 Matthew R Wette
  0 siblings, 0 replies; 8+ messages in thread
From: Matthew R Wette @ 2002-04-06 23:33 UTC (permalink / raw)



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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-04-16  8:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-06 23:47 guile as extension language Matthew R Wette
2002-04-07  3:29 ` Paul Emsley
2002-04-07 14:38   ` Neil Jerram
2002-04-08 11:43     ` Bill Schottstaedt
2002-04-16  8:17     ` HELP: crash while using Guile on a Win32 multithreaded development context Daniel CAUNE
2002-04-07 14:24 ` guile as extension language Brett Viren
2002-04-07 14:38 ` Neil Jerram
  -- strict thread matches above, loose matches on Subject: below --
2002-04-06 23:33 Matthew R Wette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).