Mathematical Expression Parsers
Same idea implemented in multiple languages! So that you can port your application too! (Licensing is per developer - your application built with these
components can be distributed royalty free to unlimited number of end users.) Bestcode Math Parser
Components parse and evaluate formulas, expressions given as strings at runtime. They are also known as Formula Parser, Expression Parser.
TbcParser is a VCL
math parser component for Delphi that can be used with Delphi and C++ Builder. (Source code included.)
bcParserX is a
math expression parser COM component. It is an ideal choice for Visual Basic and Visual C++
programmers. Also works with .NET (Source code optional.) Can be used by C code in classical DLL style.
JbcParser is a math parser for Java. You can easily parse and evaluate mathematical
formulas given at runtime in your Java code. (Source code included.)
bcParser.NET is a math parser for .NET. It is a C# class that can be used in all
managed languages. It supports double as well as decimal numeric type for financial
calculations (via conditional compilation - demo version uses double). (C# Source code included.)
bcParserCPP is the math parser for C++. Comes as MathParser.h header file. Good
for C++ projects with Visual C++, GNU C++ on Windows, Linux, Mac. It is a C++ template
class that accepts pluggable numeric types. It is shown to work with double, long double, std::complex and arbitrary precision types.
PyMathParser is a Python class to evaluate mathematical expressions at runtime. You can download PyMathParser for free.
Math Parser for PHP is a PHP class to parse and evaluate user supplied math formulas
at runtime without using the PHP eval() function for security reasons. bcParserPHP comes as a single mathparser.php source code.