On Friday, August 12, 2016 at 5:21:17 AM UTC+1, Ralf Hemmecke wrote: > > >> I'm afraid, python cannot call lisp directly, can it? > > > In principle Python can call Lisp if Lisp is implemented as a library. > > This is supposed to be possible with ECL. But building FriCAS as a > > library might be a significant challenge. It is not clear if there > > would be a significant gain for the Sage-Fricas interface since most > > communication would still have to take place as exchange of command > > and results strings in any case - unless you want to tackle direct > > conversion of data types. > > FriCAS as a lisp-library? Insn't that what Kurt Pagani has done when he > made the fricas-jupyter connection available? > > It's https://github.com/nilqed/fricas_jupyter if I am not mistaken. > from reading https://github.com/fredokun/cl-jupyter/blob/master/about-cl-jupyter.pdf one sees that the interaction between CL and jupyter goes via sockets.
This is close to how the current Sage interface works, and quite far from embedding FriCAS as a C-library. The latter would greatly improve stability and speed of communication between Sage and FriCAS; it's probably not too much work, after all there is such a C-library interface for Maxima used in Sage. (it's another story how to make it even more efficient by doing "proper", non-string interface; not sure this is done in Maxima's case) Dima > > Ralf > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.
