Use this repo https://github.com/oldk1331/fricas0
(Since I was using the free/"Personal" edition of Lispworks, it can't
dump image, so can't build fricas the normal way.)
Launch lispworks in this directory, type '(load "fricas")', then type
)lisp (do-symbols (s "BOOT") (and (boundp s) (not (hcl:who-references
s)) (not (hcl:who-binds s)) (not (hcl:who-sets s)) (not (constantp s))
(print s)))
And you get the list of unused variables. Note that some are false
positives. Need to verify manually and decide whether it is really
not used.
- Qian
On 11/26/23 17:37, Andrey G. Grozin wrote:
On Sun, 26 Nov 2023, Qian Yun wrote:
The 'XREF' utility provided by CMUCL and SBCL (sb-introspect) doesn't
work very well. The one from Lispworks is better.
The following list comes from this command and is manually filtered:
)lisp (do-symbols (s "BOOT") (and (boundp s) (not (hcl:who-references
s)) (not (hcl:who-binds s)) (not (hcl:who-sets s)) (not (constantp s))
(print s)))
LABLASOC
$NONBLANK
| $constructorDataTable|
| $charTab|
| $ancestor_hash| -- should be |$ancestors_hash|?
| $countAssoc|
| $fortIndent| -- replaced by fort_indent, ')set fort fortindent' no
effect
| $printFortranDecs| -- ")set fort typedecs" no effects?
| $historyDisplayWidth| -- ")set hyper mathwidth" no effects?
| $do_not_compress_databases|
| $newline| -- there's also |$Newline|
| $giveExposureWarning| -- ')set mes expose on' no effect?
| $hashPercent| -- using locally defined hashPercent instead
| $exposeDocHeading|
| $cacheMessages|
$PRETTYPRINT -- there's also |$PrettyPrint|, ")set sys prettyprint" no
effect
| $gcTimeTotal|
Can you share this file somewhere, and provide an instruction on where
to put it and how to proceed?
Andrey
- 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 on the web visit
https://groups.google.com/d/msgid/fricas-devel/95ac70d1-4adb-464f-830b-a5b3cd00ff28%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 on the web visit
https://groups.google.com/d/msgid/fricas-devel/482cbc21-9839-44de-88d6-fad8f0a9861d%40gmail.com.