How do I get a common-lisp GUI in Windows? How do I get a common-lisp GUI in Windows? windows windows

How do I get a common-lisp GUI in Windows?


Doug is right; CAPI will work fine. Other things you can try:

cltk: http://www.cliki.net/Lisp-Tk

I know that Allegro has something for Windows programming also, but I've never tried it.

What may also work is cells-gtk: http://common-lisp.net/project/cells-gtk/

Again, I can only tell you that it exists but not how bad it is or if it even really works...

I can not comment also on the quality ofhttp://www.cliki.net/GTK%20binding

But that's mostly what is available.

Corman Lisp probably has something to offer for Windows programming also.

Anyway, the choices on Windows are relatively slim. The you can probably have the most confidence in CAPI, which is used for the LispWorks IDE on Windows, Linux, MacOS X and on quite few big unices also...

Regards


I think I've found my own answer. Clojure seems to have everything I was looking for, just because I can now use all of the Java GUI items natively in LISP. It is a different dialect of LISP than the Common-Lisp I was using, but seems to have a lot of community support, and integrates with my Windows installation of Emacs either through SLIME or through the Inferior-Lisp interpreter. So far I've been very impressed.

Oh, a code sample:

(. javax.swing.JOptionPane (showMessageDialog nil "Hello World"))

Any guesses what this does? :)

Bill Clementson's blog has quite a bit on Clojure, including a lot of helpful posts on installing it. See here: his posts on Clojure


You could switch from CLISP to the free LispWorks Personal Edition and use the CAPI Graphics Ports drawing API.

Or you could use Lisp's Foreign Function Interface and use one of the graphics toolkits available for your OS.