On Nov 25, 11:26 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 25, 2008 at 11:16 PM, Martin Rubey
> > 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.

I'm still planning to work on this for most of the "basic" Sage types,
but I don't know when I'll get to it; if anybody wants to help, let me
know!  (The basic framework is in place in sage/misc/sage_input.py,
and there's quite a bit of documentation on how to write the per-type
code at the top of that file.)

Carl

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