How to use Lisp in C/C++
- From: "lukas.pustina@xxxxxxxxxxxxxx" <lukas.pustina@xxxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 13:26:58 -0000
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
.
- Follow-Ups:
- Re: How to use Lisp in C/C++
- From: Matthias Buelow
- Re: How to use Lisp in C/C++
- Prev by Date: Re: Translating parse result into instances
- Next by Date: Re: Translating parse result into instances
- Previous by thread: [OT] Software
- Next by thread: Re: How to use Lisp in C/C++
- Index(es):
Relevant Pages
|