Java or scala Library for parsing latex or MathML strings

I need to store a lot of equations and a mathematical formula in a database for my modeling experiments, and I think it's better to use some mathML or latex string ... but ...

I am making a search request in googling and I am very surprised because I did not find any eval library in java or scala to convert a latex or string mathML expression into an equation in java / scala. I don’t want eval () to be a very complex equation with a solver , my goal is to "really" save and convert a simple equation (polynomial, linear) into scala / java.

Do you have some tips to help me understand if there is another solution for storing and analyzing easily an equation or mathematical formula after evaluating a string in Java or scala?

Update 1:

Finally, I find some java library that reads the formula et eval () string ... If you find anything, I can end this list with your suggestion.

Indiscriminately MathML / Latex:

With experimental analysis of MathML

thanks

+4
source share
1 answer

If you want something as complicated as I think you are asking, the only thing that comes to mind is compatibility with the Clojuratica Java ecosystem, and even then you will have to store the formulas in Mathematica format. (And you have a copy of Mathematica.)

+1
source

Source: https://habr.com/ru/post/1403547/


All Articles