July 16th, 2005

eyes black and white

SEX Embedding for XML

Collapse )

And now, in your XML documents, instead of typing the tedious <apply><sin/><apply><plus/><ci>x</ci><ci>y</ci></apply></apply> that you must type in MathML (at best -- and I didn't invent it, at least not as bad as it ended up), you'll be able to just do the whole thing with <SEX> and type (sin (+ x y)) instead; alternatively you may use <MEX> and type sin(x+y), and similarly you may use <RPN> and type x y + sin. Any of these tags make things much shorter and much more readable than they were in XML. However, SEX, like XML, has this advantage over MEX and RPN that it works well even in absence of a grammar definition (DTD, etc.): you can exchange SEX services with foreigners or be an intermediate in their SEX transactions without having to learn any of their foreign languages; SEX is a universal means of communication!

Collapse )