Subject: Re: CGIs with Lisp
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 1998/01/29
Newsgroups: comp.lang.lisp
Message-ID: <6aore8$8tuti@fido.asd.sgi.com>

Philippe de Rochambeau  <pr1@club-internet.fr> wrote:
+---------------
| Has anyone ever created CGI scripts with Lisp?
+---------------

Yes.  (...especially if you include Scheme in your definition of Lisp.)

+---------------
| Is there any information on the Web on how to create CGIs with Lisp?
+---------------

See ftp://ftp.std.com/pub/gjc/siod.html for George Carrette's "SIOD", a
small-footprint Scheme which comes with with some examples of CGI scripting,
as well as some examples of using Scheme for writing standalone Web clients
(e.g., there's an "http-get.scm" and an "ftp-get.scm" in there, as well as
a stub Web server).  [Caveat: SIOD is not R4RS-compliant. But it's small
and fast-starting, which are good things for CGI programs...]

The paper ftp://ftp.std.com/pub/gjc/chtml.html also shows an interesting
way to do a variation of server-side includes that can work whether your
CGI application is written in Perl, Scheme, or C.

Also see:

    http://www.cs.rice.edu/~shriram/Scheme/Libraries/ [CGI, NNTP, URLs, &c.]
    http://www.eval-apply.com/Scheme/cgi.htm        [CGI in Scheme]
    http://www.eval-apply.com/Scheme/mzlib          [code for Scheme CGI]
    http://web.mit.edu/wwwdev/brl/                  [FastCGI in Scheme]


-Rob

p.s. Not what you asked, but as for Web *servers* written in Common Lisp or
Scheme, see:

    http://www.ai.mit.edu/projects/iiip/doc/cl-http/home-page.html [CL-HTTP]
    http://www-swiss.ai.mit.edu/scsh/contrib/net/su-httpd.html [SU-HTTP]

-----
Rob Warnock, 7L-551		rpw3@sgi.com   http://reality.sgi.com/rpw3/
Silicon Graphics, Inc.		Phone: 650-933-1673 [New area code!]
2011 N. Shoreline Blvd.		FAX: 650-933-4392
Mountain View, CA  94043	PP-ASEL-IA