MathML/TeX to TFunction

Does anyone know of any existing tools for converting MathML and/or TeX mathematical expressions to TFunction syntax? My wife is learning ROOT right now, but she’s already pretty comfortable with LaTeX. I was thinking either of finding a direct conversion between TeX and TFunction or, in the absence of that, using MathML as an intermediary. I’m a programmer by trade, so I can work out details, but I’ve been unable to answer her many questions fast enough from ROOT’s documentation. This could go a long way toward speeding that understanding.

Any thoughts?

There is nothing like that in the ROOT framework.
But I guess a few “sed” commands should do it ?