views:

514

answers:

2

I want to know how to embed a lisp interpreter into a gui application, i.e. something like what pyshell does for Python.

+13  A: 

Some options:

  1. Write the complete application including the GUI in Lisp: lots of Lisp systems support that
  2. Write the application in Lisp and link C code to it, if you need to call some external GUI libraries: Lisp systems can load and call C (and compatible) libraries.
  3. Embed Lisp into your application: ECL (Embeddable Common Lisp) is an obvious choice. LispWorks (commercial) and Allegro CL (commercial) can deliver Lisp code as shared libraries. You can then load such a shared library into your program.
Rainer Joswig
+1  A: 

No. ECL is horrible for embedding. The documentation is non-existent for that use-case.

Bob Stevenik