You may call LISP functions and variables as below, returning "SExpression", which can processed further ....

(4) -> LISP_-IMPLEMENTATION_-TYPE()$Lisp

   (4)  "SBCL"
Type: SExpression
(5) -> LISP_-IMPLEMENTATION_-VERSION()$Lisp

   (5)  "2.2.9.debian"
Type: SExpression


Notice, that the underlines ("_") are necessary to deal with dashes "-" in FriCAS.




On 25/11/2025 17:33, Dima Pasechnik wrote:
I found out the following:
)lisp (lisp-implementation-type)

will output

Value = <type>

E.g.

sage: fricas.eval(")lisp (lisp-implementation-type)")
'\nValue = "SBCL"'

How does one modify the call to remove "Value =" ?


On Tuesday, November 25, 2025 at 10:16:49 AM UTC-6 Dima Pasechnik wrote:

    What is the best way to find the Lisp used to build FriCAS?
    I know that "fricas --version" outputs it (at least on sufficiently
    new releases),
    but it still needs code to get to it.

    Asked in connection to https://github.com/sagemath/sage/pull/41231
    <https://github.com/sagemath/sage/pull/41231>
    where an attempt is made to allow Sage to use GCL-compiled friCAS.

    Thanks
    Dima

--
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] <mailto:fricas- [email protected]>. To view this discussion visit https://groups.google.com/d/msgid/fricas- devel/3fe080b2-88e3-4221-9dbc-5f7faabc246an%40googlegroups.com <https:// groups.google.com/d/msgid/fricas- devel/3fe080b2-88e3-4221-9dbc-5f7faabc246an%40googlegroups.com? utm_medium=email&utm_source=footer>.

--
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/dcd038f3-9da7-4c04-b334-249591f030e9%40gmail.com.

Reply via email to