This script

https://github.com/fricas/fricas/blob/master/src/scripts/unpack_file

is obviously buggy by design. Oh, undocumented? Again wasted time. :-(

It splits a .spad file at the )abbrev lines and completely ignores
global definitions.

Define a .spad file and include it into the normal build process.

====================
macro rep x == ...

)abbrev domain A1 A1
... (use rep here)

)abbrev domain A2 A2
... (use rep also here

====================

FriCAS compilation will fail, because A1.spad and A2.spad will be
generated, but neither of them will contain the macro definition.

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