On Tuesday, November 25, 2025 at 1:18:32 PM UTC-6 Kurt Pagani wrote:
Yes,
)set messages type off
Type )set mess to see more options.
Example:
(1) -> lisp(s:String):SExpression == EVAL(READ_-FROM_-STRING(s)$Lisp)$Lisp
Function declaration lisp : String -> SExpression has been added to
workspace.
Unfortunately I cannot seem to get anything suppressed in FriCAS 1.3.11
built with gcl 2.7.1,
as well as in 1.3.12 built with sbcl 2.5.8
$ fricas
(HyperDoc) Cannot connect to the X11 server!
openServer result 0
FriCAS Computer Algebra System
Version: FriCAS 1.3.11 built with gcl 2.7.1
Timestamp: Sun Apr 27 01:41:50 UTC 2025
-----------------------------------------------------------------------------
Issue )copyright to view copyright notices.
Issue )summary for a summary of useful system commands.
Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------
(1) -> )set mess type off
(1) -> lisp(s:String):SExpression == EVAL(READ_-FROM_-STRING(s)$Lisp)$Lisp
Function declaration lisp : String -> SExpression has been added to
workspace.
(2) -> lisp "(+ 2 3 4)"
Compiling function lisp with type String -> SExpression
(2) 9
# fricas
(HyperDoc) Cannot connect to the X11 server!
Checking for foreign routines
FRICAS="/usr/lib64/fricas/target/x86_64-pc-linux-gnu"
spad-lib="/usr/lib64/fricas/target/x86_64-pc-linux-gnu/lib/libspad.so"
foreign routines found
openServer result 0
FriCAS Computer Algebra System
Version: FriCAS 1.3.12 built with sbcl 2.5.8
Timestamp: Sun Oct 26 00:48:03 CDT 2025
-----------------------------------------------------------------------------
Issue )copyright to view copyright notices.
Issue )summary for a summary of useful system commands.
Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------
(1) -> )set mess type off
(1) -> )lisp (+ 1 2)
Value = 3
(1) -> lisp(s:String):SExpression == EVAL(READ_-FROM_-STRING(s)$Lisp)$Lisp
Function declaration lisp : String -> SExpression has been added to
workspace.
Dima
Type: Void
(2) -> lisp "(+ 2 3 4)"
Compiling function lisp with type String -> SExpression
(2) 9
Type:
SExpression
(3) -> )set mess type off
(3) -> lisp "(+ 2 3 4)"
(3) 9
(4) ->
On 25/11/2025 20:13, Dima Pasechnik wrote:
> Thanks. Is there an option to suppress output of types?
>
> On November 25, 2025 12:14:15 PM CST, Kurt Pagani <[email protected]>
wrote:
>> 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/3d58c76d-05cb-4b43-ad42-6a8c735bceaan%40googlegroups.com.