"William Stein" <[EMAIL PROTECTED]> writes:

> > For cooperation: is there an equivalent of "InputForm" in Sage?  I.e., 
> > given an
> > object ("output"), is there a way to have Sage output a string ("input"), 
> > which
> > fed back into Sage gives "output"?  (Should be something like a textform of
> > "dumps")
> 
> No.  Carl Witty did write something that was meant to
> accomplish this, and it is in Sage, but it requires that tons of code be
> written all over Sage to implement it, and this has not happened (and
> currently isn't happening, as far as I know).   But this is for *arbitrary*
> Sage objects.   For all of the symbolic calculus expressions, we do have
> code that creates a corresponding version of said calculus for output
> to Maxima (everything works), Mathematica, Maple, Fricas (?), etc.

Actually, I'm not at all interested in the calculus stuff, because FriCAS is
rather good there, but rather for things like matrices and polynomials.

I admit, I'd be extremely interested in using Sage from FriCAS (i.e., "the
other way round"), because I tried Python a fair bit meanwhile (I even used it
for teaching) and I find it awful.

The main problem to get started is to call python from lisp.  I posted a
question on this topic a while ago in comp.lang.lisp, comp.lang.python, and
here, but I didn't get the "final" answer.  It seems to be relatively easy to
do it text based, but I don't think that makes too much sense.

For the record, here is the thread:

http://groups.google.com/group/comp.lang.lisp/browse_thread/thread/36f57b7b281e5a94?fwc=2

The very last message links to text-based communication.

It seems to boil down to: does Sage need the python interpreter, or is it
possible to have Sage as a library?


Martin



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to