On Thursday 21 February 2008 06:42:17 pm Ted Kosan wrote: > 2) Would sage-devel be willing to expose a standard API that can be > used to access the Sage calculation engine?
It would be my opinion that this is already started actually: sage: mathml(1) <mn>1</mn> sage: mathml(pi) <mi>π</mi> sage: R.<x>=QQ[] sage: mathml(x^2+1) MATHML version of the string x^2 + 1 Regretably, the last output indicates that we have a long way to go. However, I think that developing the mathml output would be an excellent addition. For instance, MapleTA uses mathml and their authoring would be wonderfully augmented by a strong back-end for producing mathml. I don't have much hands-on experience with SOAP, but I thought that the whole point was to be able to fling xml around the internet -- it should be trivial to have an xml header with sage mathml input/output inside of it. That seems to be the type of interface you desire. You might need to write a little bit of python wrapper to catch the SOAP input and massage it into sage, but such things would be well worth the time. I'm also assuming that all standard languages (java, python) have libraries for this sort of thing. Personally, I'm hoping that mathml is eventually well supported enough in all the browsers that we could do away with jsmath and just spit out mathml and have the browser render it in lovely style. I think this should end up to be a much better solution because I believe that mathml should be more universal and precise than tex is. However, I think this is a much longer term goal than either of the above things. -- Joel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---