[Prev][Next][Index][Thread]

MCL and MacHTTP



I started this question on comp.lang.lisp.mcl and am now moving it over here
per John's request.

A lot of people keep taking the conversation back to CL-HTTP so let me be a
little more specific about what I am interested in.

While I'm sure that a CL based server is extremely valuable if not
indispensable for some tasks, it seems to me that for more mundane tasks, one
could use a more mainstream server like WEBStar and write just the CGIs in
MCL.

In my experience with AppleScript I must either: 

1. script MS Excel to get certain math functions and number formatting.  This
is slooooooow and MS Excel on my powerMac needs 9.5 MB of RAM to run and
increases my system's RAM footprint by 5MB (and CL is big and ugly!?)

or 2. download a bunch of OSAXen for AppleScript which are of questionable
reliability, inconsistent in structure and syntax, one to the other, and take
up even more room on my machine.

If someone could just provide a basic template for an MCL program that could
be called by WebStar/MacHTTP and return valid HTML, I guess that I would
either:

simply leave MCL running all of the time and Queue the LISP-CGI requests.

or

compile the LISP CGIs and allow MacHTTP to treat them like any other CGI (I
imagine RAM usage would be an issue then).

I am not enough of a LISP programmer to know if this is reasonable or if
there are other ways of skinning this cat?

Can anyone help me out?

-glenn forrester