On Sat, Apr 20, 2024 at 02:47:02AM -0700, Dima Pasechnik wrote:
> How does one do this?
> (with ECL or SBCL).
>
> Presumably if one makes a FriCAS fasl library (how?), it should be possible
> to call FriCAS functions from Lisp without going through files or pipes.
>
> That's certainly possible (and used in Sage) with Maxima.
Look at 'contrib/load-fricas.lisp' and 'contrib/mk_shlib.lisp'.
'contrib/mk_shlib.lisp' makes ECL .fas (really a C shared library).
Currently 'contrib/load-fricas.lisp' is broken with sbcl, one needs to
add an extra line loading GMP support (I will fix this shortly,
after more testing). In both cases usage has changed a bit: one
needs to set FRICAS environment variable to location of build tree.
Both files contain instructions about use.
--
Waldek Hebisch
--
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 on the web visit
https://groups.google.com/d/msgid/fricas-devel/ZiOrmKLhUMO9bu8V%40fricas.org.