wwwlisp: utilities for running Allegro Common Lisp programs from web pages c) 1999, Lee Spector, lspector@hampshire.edu This provides a fairly simple way to run ACL code from web pages. You can pass data (entered in forms) to the Lisp program, and the Lisp program's output will be displayed in the browser. Lisp is started and quit for each interaction, so it's a little slow and there's no state maintained between interactions (unless you write to files or do something else more complicated). It is possible to run ACL continuously as a server that interacts with the web server, but this is also more complicated. With a little hacking you should be able to improve the interface significantly, for example to include a new form for subsequent interactions on the "response" page. To use: - possibly edit the path for ACL in wwwlisp.gcc - possibly change the title for the "response" page in wwwlisp.gcc - compile wwwlisp.gcc with: g++ wwwlisp.cpp -o wwwlisp.cgi - edit wwwlisp.html to look as you wish AND change the URL in the form action specification so that it points to your wwwlisp.cgi - possibly rename wwwlisp.html to something appropriate for your program - edit wwwlisp.lisp to load your lisp code and call your lisp functions See the example code in wwwlisp.lisp and also take a look at the eliza example.