On Wed, May 27, 2026 at 6:22 PM Qian Yun <[email protected]> wrote: > > On 5/28/26 6:27 AM, Dima Pasechnik wrote: > >> > >> - make it easier for external programs to interface with FriCAS > >> > >> (especially sagemath. The call-lisp-from-c interface seems brittle.) > > SageMath doesn't do call-lisp-from-c in the case of fricas (it uses > > pexpect, that's sockets/pipes, more or less), > > and that's actually what makes it more brittle than SageMath's main > > interface with maxima, which is call-lisp-from-c. > > > > For the latter, fricas needs to be packaged as ecl .fas file, to be > > loaded by ecl, among with other things on our side. > > > > Dima > > > > > > Yes, current fricas-sage interface is pexpect based. > > Each lisp has different call-lisp-from-c interface, which is > a bit messy, unlike call-c-from-lisp interfaces. > > About ECL interface, my understanding is that it can only > load one .fas at a time, so that fricas and maxima can't coexist?
On the ecl side, ecl certainly can load multiple .fas files. E.g. (require 'maxima) (require 'foobar) loads maxima.fas and foobar.fas. SageMath interface would need adjustments and a refactoring, certainly, as it wasn't designed to handle FriCAS, but I don't see real issues there. Dima > > - Qian > > -- > 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 view this discussion visit > https://groups.google.com/d/msgid/fricas-devel/a3beef77-4c12-4f44-ba0d-5610318f5098%40gmail.com. -- 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 view this discussion visit https://groups.google.com/d/msgid/fricas-devel/CAAWYfq2HhpUrVjhFo0FGxS9-e2zYeKcT0Q1621%3DosSZi3p3vMw%40mail.gmail.com.
