This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: HTTP server
- To: guile at sourceware dot cygnus dot com
- Subject: Re: HTTP server
- From: Chris Cramer <crayc at kiwi dot pyro dot net>
- Date: Sat, 15 Jul 2000 14:32:59 -0500
- References: <20000715172220.A27799@www.vizion.net>
On Sat, Jul 15, 2000 at 05:22:20PM +0300, Ivan Toshkov wrote:
> Is there an HTTP server in Scheme? Or one which supports scheme for
> scripting?
There have been around 3 or 4 that I know of. I have one at
http://www.pyro.net/~crayc/recluse-0.2.tar.gz.
> Unfortunately, CGIs doesn't work directly for what I'm trying. Now,
> if I could dump a continuation on the disk and restore it the next
> time CGI starts, that would work. Is it possible (not only for
> guile)?
That would be a neat trick, but it doesn't work in Guile at least.
(call-with-input-string
(call-with-output-string
(lambda (p)
(call-with-current-continuation
(lambda (x) (write (x p))))))
read)
(whatever happened to call/cc?)
--
C. Ray C. aka Christopher Cramer
crayc@pyro.net
http://www.pyro.net/~crayc/