[armedbear-devel] Fwd: How to compile and run Maxima with ABCL?

Phuc Luoi phucluoi at gmail.com
Sun Jun 24 12:14:45 UTC 2012


Hi,
I have tried the maxima-server.lisp. It works reallly more robuster than
$ maxima -s <port-numer>
I'm writing a small wrapper in Java to start, load maxima-server, and
after some time terminate the maxima process
to bind it in a Tomcat server, so I don't need to use Python. If I
can, I'll publish these work under an opensource licence.

Have a nice weekend.
HongPhuc

On Fri, Jun 22, 2012 at 1:29 PM, Phuc Luoi <phucluoi at gmail.com> wrote:
>>> python takes all output of maxima an redirects http server. I choose
>>> http because its more robuster than primary tcp socket server.
>>
>> OK, I guess, but then there is still the socket between Maxima and
>> Python, so in a sense that socket is still the weak link in the chain.
>> I'll let you be the judge of it.
>
> Yes, It was a socket connection between python and Maxima. And it was
> really a weak connection. I have tried it for one year.
> Now we use the library pyexpect http://www.noah.org/wiki/pexpect as
> "glue" to connect Maxima and Python together.
> This library uses tty and pty to connect the program. It is more
> stable than socket.
>
> Other reason that I use python is, It has some out-of-the box
> framework for http such as authority, and authentication, and so on.
> So far I have even a simple JSONRPC Protocol developed for this
> purpose. Unfortunately I can not publish my work, because
> it is a part of my job.
>
> I think in the future we will use the Maxima server instead of tty and
> pty for the connection between Maxima and python, any
> use python only for authentication and authority.
>
> best.
> Hong Phuc




More information about the armedbear-devel mailing list