About the parser

Many applications require the parsing of mathematical expressions. The main objective of this library is to provide a fast and easy way of doing this. muParser is an extensible high performance math expression parser library written in C++. It works by transforming a mathematical expression into bytecode and precalculating constant parts of the expression.

math expression parser - related links .NET math parser

muParser C# wrapper
a math parser for .NET


math expression parser
muParserX
a math parser with support for arrays, strings and complex numbers.

math expression parser
muParserSSE
a muParser version with a just in time compiler based on asmjit
The library was designed with portability in mind and should compile on every standard compliant C++ compiler. Wrapper for C and C# exist. The parser archive contains ready to use project and makefiles files for a variety of platforms. The code runs on both 32 bit and 64 bit architechtures and has been tested using MS VC++ V8.0 and GCC V4.4.1. Code samples are provided in order to help you understand its usage. The library is open source and distributed under the MIT license.
muParser download

Before I go on, I'd like to thank SourceForge for hosting this project. This pages would not exist without the webspace provided by them and of course I'd like to thank CodeProject for hosting the original math parser article.

Support this project

muParser is free software and anyone can use it free of charge for commercial and noncommercial purposes. If you wish you can support this project by making a small donation:

Support This Project

A project like muParser requires permanent maintanence in order to adopt to new platforms, new compiler version and for fixing bugs. So if you are using the library and find it useful i would like to encourage you to make a donation in order to help keeping the project up to date. I can officially guarantee that you make my day by donating even a small amount of money. In a way this is a "Wow the people actually really appreciate what i'm doing" kind of thing and that's whats driving me and ultimately this is what is keeping this project alive.

Release Notes

Rev 2.1.0: 19.11.2011

This is a service release incorporating minor bugfixes.

Rev 2.0.0: 04.09.2011

This release introduces a new version numbering scheme in order to make future changes in the ABI apparent to users of the library. The number is now based on the SONAME property as used by GNU/Linux.