Martin,

I think 'unparse' in FriCAS is badly broken. See for example:

(1) -> unparse((sin(x+1))::InputForm)

   (1)  "sin x+1"
                                                   Type: String

Besides it's use in Sage, do you agree that we should fix it anyway?
At the same time we should also remove the Fortranish names and any
other flaws we can find.

The only other alternative for _sage_ in axiom.py that I can see would
be to write something that interprets the S-expression output of
InputForm directly.

Regards,
Bill Page.

On Mon, Sep 15, 2008 at 12:26 PM, Bill Page wrote:
> Martin,
>
> Ok, I understand now: converting Axiom ---> Sage . I was confused
> because the quote was a little out of context. It is clear from your
> original email. What you want is for this to work:
>
>  axiom('sin y').sage()
>
> And of course in general for any Axiom object. As Waldek suggested
> earlier perhaps what we really want is just an "infix" transformation
> of the InputForm rather than 'unparse' - or even an operation
> specially written in FriCAS for conversion of expressions to Sage.
>
> Regards,
> Bill Page.

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