From: Arun Swaminathan
Subject: Attention: Java NATIVE CALL GURUS/ LISP Problem
Date: 
Message-ID: <4ii5j1$q2o@piglet.cc.utexas.edu>
Hi all,

I have a strange problem that I hope someone can help. I am trying to
write a bridge between a reasoning tool written in LISP and
Java. Since I dont know of any Lisp to java bindings, I have to use
C. The LISP vendor, Allegro provides mechanisms for making C-calls
from Lisp ( and for C-functions called from Lisp to make Lisp
calls). So does Java.But how can I connect them all, ie. I need
two-way communication between all three.

I was hoping there might be some way to do this as function calls, ie.
the java client calls a C-function which then calls a Lisp function
and output goes the reverse direction. (Is this even reasonable to
hope for ? Since this would mean Lisp and Java would have to share the
C-space ?).

The other way might be to have the C-portion of the server listen on
some port. and have the client send queries there (even though both
are on same machine). But I am not confident about my ability to
program with sockets, plus the problem of converting the data
representation will be left to me.

I would be much grateful if somebody suggest a better way of handling
this problem ? (or perhaps confirm that this is the only way (;-( )

Thanks in advance,
Arun Swaminathan
From: Michael McIlrath
Subject: Re: Attention: Java NATIVE CALL GURUS/ LISP Problem
Date: 
Message-ID: <4iiej3$9kf@life.ai.mit.edu>
You should definitely at least check out the Xerox ILU (interlanguage
unification) stuff.  If they dont yet have a java binding I bet they 
will soon.  See

ftp://ftp.parc.xerox.com/pub/ilu/ilu.html

mike