X Windows / Web Interface for Gnu Common Lisp
(If what you want is a version of Lisp for Microsoft Windows, you can get
Gnu Common Lisp, gcl.exe here.)
Note: the software described on this page is now incorporated into
Gnu Common Lisp, beginning with GCL 2.6.7 . Therefore, except for
the link to the documentation, this page is somewhat obsolete.
This software provides an easy-to-use interactive graphical user
interface between Gnu Common Lisp and X windows. The WeirdX package
allows this interface to a Lisp program to be delivered through a
web page and used via any web browser that supports Java.
The software has the following components:
- The XGCL software augments standard GCL with an interface
to the Xlib functions in C. This software was adapted from
DEC / M.I.T. Project Athena software by Hiep Huu Nguyen.
- The dwindow software provides an easy-to-use interface
to the Xlib software, including such things as menus and
On-line Demonstration of
Interactive X Graphics from Lisp.
- If the computer that is accessing the
web page has an X server, e.g. it is running Linux or Cygwin,
the Lisp program can communicate directly with that X server.
written by the Japanese company JCraft, is a Java applet that
emulates an X server. By using WeirdX in conjunction with the above
software, the interactive graphical interface to a Lisp program
can made available through a web page and can be used on any
computer and browser that supports the Java Virtual Machine.
- Web pages to tie this all together have been made based on
examples written by John B. Chambers. As an example, there is
an interactive interface to the Lisp interpreter. This interface
accepts Lisp expressions from the user, evaluates them in Lisp,
and prints the result in the window.
- The file draw.lsp provides an interactive utility program
for making drawings, drawing programs, and graphical menus.
On-line Demonstration of interactive drawing using X graphics
from Lisp: Draw Program
Example: Drawing of Ice-Cream Cone