On Tue, Aug 30, 2022 at 05:56:05PM +0800, Qian Yun wrote:
> When using scbl to load fricas0, there are many warnings:
> 
>     STYLE-WARNING: using deprecated EVAL-WHEN situation names LOAD EVAL
> 
> I found that's from src/boot/ptyout.boot:
> 
>     shoeEVALANDFILEACTQ x==  ["EVAL-WHEN", ["EVAL","LOAD"], x]
> 
> However I can not directly replace "EVAL" with ":EXECUTE", because it
> will translate into |:EXECUTE|.

In Boot Lisp :EXECUTE has to be written as:

INTERN('"EXECUTE", FIND_-PACKAGE("KEYWORD"))


OTOH in build log I find 310 messages like this, 7718 messages about
undefined functions and 2950 messages about undefined variables.
Lisp allows declaring functions, but when I checked it had no
effect on sbcl warnings.  Since our code is highly recursive
apparently there is no way to fully elliminate those warnigs.
Also, trying to define functions before use would break logical
decompositions in layers.  Lispers say 'no problem, use
MUFFLE-WARNING'.  I do not want to do this in regular FriCAS
source as _sometimes_ those warnings give useful information,
and due to overall chatter I have to use searches to find
correct place anyway.  But for fricas0 MUFFLE-WARNING may be
useful.

-- 
                              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/20220830232204.GA27444%40fricas.math.uni.wroc.pl.

Reply via email to