[Openmcl-devel] Executing CCL from within C/C++

Ron Garret ron at flownet.com
Mon Jul 25 15:39:29 PDT 2016


Why not just run it using popen?

On Jul 25, 2016, at 3:36 PM, Josh Hamell <jhamell at sift.net> wrote:

> Hi,
> 
> We have had great experiences using CCL on a number of different
> projects in different capacities, and are now looking at a very niche
> use case.
> 
> Within Linux, is it possible to compile a C/C++ program against
> lisp-kernel headers, link against the binary (lx86cl64), and execute
> arbitrary Lisp code as input char* s-expressions?  Naively, I can peruse
> the exposed functions using objdump, and would like to believe in a
> simple way to start the interpreter, load an existing heap image, and
> run, all through simple C.  This is sort of a "reverse CFFI" - our issue
> is that the C code needs to be the application entry point, without
> resorting to separate processes.
> 
> We have looked at another Common Lisp implementation which supports this
> kind of interaction, but have come away with some serious issues which
> we do not have the resources to address on this project.
> 
> Thanks,
> Josh
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list