How to setup MAXIMA for a web application running on IIS?
Subject: How to setup MAXIMA for a web application running on IIS?
From: Robert Dodier
Date: Fri, 23 Jul 2010 09:25:51 -0600
On 7/23/10, yoyo imut <yoyoimut at yahoo.com> wrote:
> Thanks Robert for your response.
> 1. Maxima kernel works a client socket in sync (aka blocking) or async (aka
> unblocking) mode?
maxima-server.lisp uses a blocking read.
Other socket-based implementations (see the "Related Projects"
page) also use blocking reads, so far as I know.
> 2. What is the schema (or format) of the output sent by maxima kernel to the
> listening application socket?
It is just an ordinary console session, i.e. read an expression,
evaluate it, return the result. Again this is the same as many
other implementations from what I know.
If you are ambitious, you could replace the top-level read-eval-print loop.
Or (a different form of ambition) you could run Maxima within
a web application server such as Tomcat.
You could compile Maxima w/ ABCL (Lisp which runs on JVM)
in order to run it in Tomcat. Just an idea.
maxima --quiet suppresses the start-up message.
maxima --very-quiet suppresses the start-up message
and expression labels.
maxima --help shows a list of options, maybe some are useful to you.
Please cc messages to the Maxima mailing list so others
have an opportunity to answer, and the discussion gets archived.
best,
Robert Dodier