
The texmath haskell library provides functions to convert latex math formulas to presentation mathml. it supports basic latex and ams extensions, but not macros.
this package provides a library for the haskell programming language, compiled for profiling. see http://www.haskell.org/ for more information on haskell.