On Fri, 7 Jan 2011, Ralf Hemmecke wrote:
Reading of the .fricas.input is started from here.
https://github.com/hemmecke/fricas-svn/blob/master/src/interp/i-toplev.boot#L63
It's in the functions readSpadProfileIfThere. I have, however no idea, how
to pass command line arguments to AXIOMsys.
The fricas script can do something like
EXTRAFILE=<something>
export EXTRAFILE
Each supported lisp has a method to get values of environment variables.
The only drawback is that this method is different in each lisp :-( So, we
can abstract details like
(defun (getenv name)
#+gcl (...)
#+ecl (...)
#+sbcl (...)
...
)
and then just call getenv from i-toplev.boot.
Andrey
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.