From: Alassane &
Subject: POPLOG and LISP
Date: 
Message-ID: <NDIAYE.92Jun29193505@sol.cs.uni-sb.de>
hello,
I'm investigating the possibilities to couple POPLOG or PROLOG to LISP 
(Lucid, Allegro or Symbolics) in one system or such a way taht I can call
functions or variables, etc on both systems. I've already consider the
foreign function interface as well as the function run-program in LISP.
but it's not enough. 
How someone already experience with this problem? what's about UNIX process
communication? is it compatible with POP-11? any idea or suggestion or hint
would be appreciated. please e-mail me.


--
-------------------------------------------------------------
|NET: ······@cs.uni-sb.de				    |
|-----------------------------------------------------------|
|POST: Alassane NDIAYE   	   |                        |
|      FB 14 - Informatik IV	   | PHONE: +49-681-302-4135|
|      Universitaet des Saarlandes |                        |
|      Im Stadtwald 15		   |------------------------|
|      D-6600 Saarbruecken 11	   | FAX:   +49-681-302-4421|
|      Federal Republic of Germany |			    |
-------------------------------------------------------------

From: Steve Knight
Subject: Re: POPLOG and LISP
Date: 
Message-ID: <1350038@otter.hpl.hp.com>
> I'm investigating the possibilities to couple POPLOG or PROLOG to LISP 
> (Lucid, Allegro or Symbolics) in one system or such a way taht I can call
> functions or variables, etc on both systems. 

I am sure this is a stupid question, but someone has to ask it.  Have you 
considered porting the Lisp to Poplog?  This approach would lead to a single
process model.  This would definitely be the simplest and most comfortable
solution -- the penalty is that Poplog Common Lisp is nowhere near as fast
as Lucid Lisp.


> I've already consider the
> foreign function interface as well as the function run-program in LISP.
> but it's not enough. 

A nasty problem, I suspect, is that both Poplog and Lucid would have their 
own "main" routines.  However, if you are prepared to communicate across
pipes (as you suggest in the next paragraph) then the foreign function
interface will be very comfortable.


> How someone already experience with this problem? what's about UNIX process
> communication? is it compatible with POP-11? any idea or suggestion or hint
> would be appreciated. please e-mail me.

Getting Poplog to work as one process amongst many peers is quite 
simple.  I suggest making the process communicate via sockets or datagrams
and writing a little C library to provide a simple interface between
Poplog and Lucid.

Steve
From: James Burton
Subject: Re: POPLOG and LISP
Date: 
Message-ID: <1992Jul2.052815.12509@latcs1.lat.oz.au>
Nimbly though, I heard you say - 
>> I'm investigating the possibilities to couple POPLOG or PROLOG to LISP 
>> (Lucid, Allegro or Symbolics) in one system or such a way taht I can call
>> functions or variables, etc on both systems. 
>
Why not just make both languages run on the same interpreter.
This sort of thing has been done.
We have a system here which runs Forth, Lisp and a prolog-like
language all on the one interpreter.

James Burton.

-- 
	Rather be the Captain than the Cook!
	Bungie Jumping is not for small things.
	Herein is a hint to the way of the world.
From: Alassane &
Subject: Re: POPLOG and LISP
Date: 
Message-ID: <NDIAYE.92Jul2094843@sol.cs.uni-sb.de>
thank you for your answers. POPLOG offers LISP and PROLOG. But our problem is,
that we cooperate with people, who intend to use POPLOG. We use Lucid Common
Lisp and don't want to move to POPLOG. But we need the modules the other
group implements.

- alassane
--
-------------------------------------------------------------
|NET: ······@cs.uni-sb.de				    |
|-----------------------------------------------------------|
|POST: Alassane NDIAYE   	   |                        |
|      FB 14 - Informatik IV	   | PHONE: +49-681-302-4135|
|      Universitaet des Saarlandes |                        |
|      Im Stadtwald 15		   |------------------------|
|      D-6600 Saarbruecken 11	   | FAX:   +49-681-302-4421|
|      Federal Republic of Germany |			    |
-------------------------------------------------------------