Andrey G. Grozin wrote:
> 
> 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.

We already have getEnv function.  Each supported Lisp allows getting
command line arguments and I have code to get them.  The problem
is that some Lisps will interpret arguments before we can do
anything.  So we need a protocol to make sure that arguments
intended for AXIOMsys do not have some unexpected effect on
host Lisp.  Unfortunatly, this means analysing argument handling code
in each Lisp and it takes time.


-- 
                              Waldek Hebisch
[email protected] 

-- 
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.

Reply via email to