How to embed a common lisp interpreter into a gui application
-
06-07-2019 - |
Question
I want to know how to embed a lisp interpreter into a gui application, i.e. something like what pyshell does for Python.
Solution
Some options:
- Write the complete application including the GUI in Lisp: lots of Lisp systems support that
- 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.
- 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.
OTHER TIPS
I've had success with GNU Guile, if you're OK with Scheme instead of Common Lisp
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow