From: Richard <fa...@gm...> - 2016-08-30 17:45:18
|
FFI means that Maxima/Lisp can possibly call your program which can be loaded in the same core image. This has some advantages over using sockets etc. Like you can pass pointers to data structures like arrays. On 8/30/16 10:15 AM, Michel Talon wrote: > 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. > > |