Subject: Can Lisp Script Output be used for a CGI?
From: Robert Dodier
Date: Sun, 16 May 2010 11:50:13 -0600
On 5/14/10, Chris Maness <chris at chrismaness.com> wrote:
> Can a lisp script from Maxima be used to construct a CGI file to do
> calculations on a website? This would include embedding the output of
> graphs and data.
Yes, that is certainly possible. A couple of random thoughts.
With several varieties of Lisp, you can dump a binary image.
You could launch Maxima, load your top-level function, then
dump all of that. Then run the image and tell Lisp to call your
top-level function. See:
http://groups.google.com/group/comp.lang.lisp/msg/a440a4d6341ff8de?hl=en
Also you might take a look at share/contrib/maxima-server.lisp
which should be in your Maxima installation.
See the comments for some description about what it is
and what it does.
Hope this helps, and good luck.
Robert Dodier