> do_with_modes(f, x, dom) ==
>     $InteractiveMode: local:= true
>     $dontDisplayEquatnum: local:= true
>     SPADCALL(x, dom, f)


This tells me how I would, for example call outputTran

OutputFoo: with
    outputTran: OutputForm -> OutputForm
  == add
    outputTran(x: OutputForm): OutputForm ==
        outputTran(x)$Lisp pretend OutputForm

from within boot code.

However, I currently have the problem that I don't exactly know which
functions can I really take out of i-output.boot.

Suppose, I've moved outputTran's code completely to SPAD, so I could
replace any call to outputTran in boot code by some SPADCALL construction.

But can I really replace every call? For example, there is

https://github.com/hemmecke/fricas-svn/blob/master/src/interp/i-analy.boot#L563

in the boot function bottomUpForm0.

By which method can I decide whether the spad compiler is already
present and my package OutputFoo has already been translated before
bottomUpForm0 is called for the first time?

Of course, that not only applies to outputTran, but to all functions in
i-output.boot that are called from other .boot files.

Ralf

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to