Subject: Re: Lisp as a CGI-bin script
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 1996/12/06
Newsgroups: comp.lang.lisp
Message-ID: <5888ik$igi@tokyo.engr.sgi.com>

Mark Chaves  <mchaves@bbn.com> wrote:
+---------------
| Has anyone implemented Lisp as a CGI-bin scripting language?
| Does there exist a set of libraries that would support
| Lisp as a CGI-bin scripting language?
+---------------

You might want to browse the following, some of which is Scheme-based
(but what the heck):

	http://www.ai.mit.edu/projects/iiip/doc/cl-http/home-page.html
	ftp://ftp-swiss.ai.mit.edu/pub/scsh/contrib/net/su-httpd.html
	http://people.delphi.com/gjc/siod.html#cmd  [note file cgi-echo.scm]
	http://people.delphi.com/gjc/www95-paper.html
	http://www.eval-apply.com/scheme/etcgi.htm

If you just want to mess around a little, the cgi-bin stuff that comes
with the SIOD version of Scheme might be simplest (though be warned that
SIOD is not R4RS-compatible -- it's closer to SICP1).

For really *basic* examples, see Chapter 16, "Example: Generating HTML",
in Paul Graham's "ANSI Common Lisp". (The code in the book may be fetched
via anon-FTP.)


-Rob

-----
Rob Warnock, 7L-551		rpw3@sgi.com
Silicon Graphics, Inc.		http://reality.sgi.com/rpw3/
2011 N. Shoreline Blvd.		Phone: 415-933-1673  FAX: 415-933-0979
Mountain View, CA  94043	PP-ASEL-IA