Hello,
I'm interfacing Lisp and C++ through Lucid Lisp foreign function interface.
The problem is that the Lucid Lisp foreign interface
is designed to interface with procedural languages like C or Fortran.
Therefore I have had difficulties.
For example, the C++ macro "new" does not work inside Lisp.
One of C++ experts said that it's because the functions called by the new macro
are not loaded into the lisp memory space.
His general suggestion is that it is not a good idea to load the files
with those required functions into the lisp memory space
since they may conflict with those used to construct the lisp environment.
I cannot drop Lucid Lisp.
Then, the only choice seems to be to take the C++ code out of Lisp
and use interprocess communication (ipc) between the two processes.
Do you have any better idea than ipc?
Could you please shed some light to ยทยทยท@lipari.usc.edu?
Thanks a lot.
Jung