How to use Lisp in C/C++



Hello everybody,

I would like to incorporate a Lisp program into another, C/C++ based
program. Specifically, I have a set of functions written in Lisp.
These functions, I would like to directly call from C/C++ in which my
main program is written.
So far, I found some hints on the net, but this seems to be either a
very trivial questions or something nobody does. I searched the net,
googled, and read the news groups without finding a satisfying answer.
The most promising tool I found yet has been gcl which generates C
code from Lisp files (gcl -compile -c-file -h-file
<myfunctions.lisp>). Unfortunately, the C code does not make much
sense; it seems the compiler is not designed to allow the code to be
integrated into other projects.

Since mixing program languages is something usual, I was wondering if
anybody knows a tool (rather open source than commercial) or technique
that allows me to do so.

I'll be thankful for every hint, even if this includes the hint that
I'm on a totally wrong track.
Best regards,
Lukas

.



Relevant Pages

  • Re: How to use Lisp in C/C++
    ... OpenLisp has many industrial projects that use it from C/C++, ... I would like to incorporate a Lisp program into another, C/C++ based ... The most promising tool I found yet has been gcl which generates C ... I'll be thankful for every hint, even if this includes the hint that ...
    (comp.lang.lisp)
  • 2 variables in 2 quadratic equations in excel
    ... highly appreciate anyone can tell me how (or hint) to use ms excell ... and/or visual c/c++, basic, or octaveto solve: ... looking to any excel user, mathmatician, and/or programmer's help, ...
    (microsoft.public.excel.misc)