On 01/10/2011 10:59 AM, Waldek Hebisch wrote:
Arthur Ralfs wrote:

Also I copied operator precedences from texFormat but never used them
and I don't think texFormat actually uses the precedences either.  The
precedences seem to be already encoded in OutputForm and could be
eliminated.  Or am I missing something?


AFAICS also MathML code uses precedences to decide if parentheses
are needed in the output -- I think any presentation format
will need them.  I am not sure if Content MathML need parentheses,
theoretically structure of expression can be represented by
MathML tree...

Yes I was just lucky that it worked without thinking about it. I hope to have a look at the OpenMath stuff in the near future to see if a rewrite of MathMLFormat can be subsumed under that.

Arthur

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