From: Michel T. <ta...@lp...> - 2016-08-30 17:15:34
|
Jeronimo Pellegrini wrote: > Hello, > > I would like to integrate Maxima in some other software I've been > working on, but I couldn't find in the manual how to do this. I > suppose that since Maxima is written in Common Lisp, it would be > difficult to call it directly via FFI, but I was wondering if > it's possible to have a Maxima server listening over some TCP > port, and speaking some protocol. > > Is this possible? I would guess so, since Slime seems to do > that. If it is possible, where is it documented? > > Thank you! > Jeronimo > > ------------------------------------------------------------------------------ It is possible and this is the way wxmaxima and so on communicate with maxima. You can start with maxima -s and then play communicating with the socket using netcat. Probably you need to strip the prompts (%i1) (%o1) etc. There are numerous posts on the mailing list on this subject. -- Michel Talon |