Waldek, thanks for doing that! I've really messed up with quoting and eval/exec. Also I tried to insert "--" before arguments, but |getCLArgs| returned then empty list. That might be because I used sbcl.
One more thing I want to ask you about: can you compose some tests which would produce expressions with INDEFINTEGRAL, VCONCAT, TAG, EQUATNUM, ZAG, SIGMA/SIGMA2/PI/PI2(in terms of binary operation), RARROW. Also I completely do not know how to get partial derivatives(differentials). P.S. What kind of output should be "ZAG" turned into? I look at it in "alegebra" mode and really saw a big zig-zag. But what is the kind of math operation it? On Mon, Feb 7, 2011 at 7:00 AM, Waldek Hebisch <[email protected]> wrote: >> >> Can anyone review my branches and commit if they are ok? >> > > I would like to get your code commited as soon as possible. However > IIUC command line arguments are currently needed by Texmacs, so > that should go in first. I had some trouble with command line > arguments. First, ECL needs more complicated code for getting > arguments and also in Closure CL variable containing command line > arguments has different name (you used name of _function_). > Next, by default Closure CL would try to interpret whole > command line and would complain if there were extra items > (worse, it would try to perform '-eval') -- I had to disable > default argument processing in Closure CL. Similarely gcl > would try to perform '-eval', I had to disable that too. > And we need '--' as first argument to AXIOMsys (just after > name of executable) to avoid problems with Closure CL > and clisp (otherwise clisp would complain that it does not > understand the whole command line). > > Also, it is not enough to just use '"' for quoting, for example > '--eval "String with space"' would fail. AFAICS the only safe > way is to use backslashes to quote all potentially unsafe > characters. And we need to do quoting twice, once in axiom/fricas > script, the second time in sman (currently sman passes command > line to the shell). > > One more remark: replacing 'exec' by 'eval' means that the shell > executing axiom/fricas script would wait for sman/AXIOMsys to > finish which uses unnecessary extra process. It is better to > use 'eval exec' to avoid extra process. > > I have now comitted argument handling with fixes as above (without > the texmacs hunk as this one really belongs to the texmacs branch). > > -- > 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. > > -- 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.
