J
Janiek Buysrogge
Hello,
Does anyone know if there is a library or a sample project that can
parse strings with mathematical expressions inside ?
eg. string math = "(23 + 48) ^ 2 - (7.76 * 3.14)";
parser should calculate the result of this.
Atm I have my own parser, but it can only handle very simple
expressions with 2 operands eg. (34 * 89), I tried to expand the
functionality, but it's getting ugly (loads of substrings).
Any pointers ?
Thanks,
Janiek
Does anyone know if there is a library or a sample project that can
parse strings with mathematical expressions inside ?
eg. string math = "(23 + 48) ^ 2 - (7.76 * 3.14)";
parser should calculate the result of this.
Atm I have my own parser, but it can only handle very simple
expressions with 2 operands eg. (34 * 89), I tried to expand the
functionality, but it's getting ugly (loads of substrings).
Any pointers ?
Thanks,
Janiek