There was a project on here by a user called Active Mesa. Think it was called mathsharp - he had a couple of commercial applications Which did various things like convert C# to C++ as you typed c# also his commercial implementation of mathsharp could Convert mathml to C# F# or C++ using the boost library.
This is an old link but might still have some utility https://codeplex.miloush.net/project/mmlsharp