From: John O. Schneider
Subject: HTTP server in Scheme?
Date:
Message-ID: <31535623.28E@zuken.com>
Folks,
I recently found a "quick and dirty" HTML parser in the markup system
being maintained at:
http://www.cs.cmu.edu/afs/cs.cmu.edu/Web/People/spot/markup
by Scott Draves.
I'm now wondering if anyone has seen an HTTP server written in Scheme
and possibly other Scheme programs addressing HTML parsing.
My interest is in creating a scheme based or scheme enabled HTTP server
that will communicate to a Scheme enabled HTTP client.
Many thanks,
jos
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
John O. Schneider ···@zuken.com
Zuken CTL
2041 Mission College Bvd. Suite 260 Tel: (408) 562-0177
Santa Clara, CA. 95054 Fax: (408) 562-0165
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> I'm now wondering if anyone has seen an HTTP server written in Scheme
> and possibly other Scheme programs addressing HTML parsing.
Yes. See the Scheme shell project. Olin Shivers and others have
written an HTTP server that I have been using regularly. You can get
Scsh from
http://www-swiss.ai.mit.edu/scsh/
and the server code from
ftp://ftp-swiss.ai.mit.edu/pub/scsh/contrib/net/net.tar.gz
If you want some very rudimentary notes on how to set up the server,
take a look at
http://www.cs.rice.edu/~shriram/Notes/Scsh/Web/setup.html
Note follow-ups.
'shriram
"John O. Schneider" <···@zuken.com> writes:
> I'm now wondering if anyone has seen an HTTP server written in Scheme
> and possibly other Scheme programs addressing HTML parsing.
Olin Shivers wrote one in scsh (the Scheme shell). Don't have a URL
here and now, but see comp.lang.scheme.scsh for more information.
-tih
--
Tom Ivar Helbekkmo
···@Hamartun.Priv.NO
From: "John O. Schneider" <···@zuken.com>
Newsgroups: comp.lang.lisp
I'm now wondering if anyone has seen an HTTP server written in Scheme
and possibly other Scheme programs addressing HTML parsing.
My interest is in creating a scheme based or scheme enabled HTTP server
that will communicate to a Scheme enabled HTTP client.
I have written an HTTP server in Scheme. You can obtain the sources by
following the "contributed code" link in the scsh home page:
http://www-swiss.ai.mit.edu/scsh/
The server is designed to be very extensible. The source is designed to
be comprehensible. It comes with documentation. The separate modules of
code (URL parser, etc.) may be of separate use for other apps. It runs
on top of scsh for system services (such as sockets). It has CGI support.
-Olin