FormulaParserLib v1.0b

FormulaParserLib on SofoTex.com FormulaParserLib on Download32.com FormulaParserLib on freewarefiles.com

The FormulaParserLib is a library that allows to parse formula expressions. A sequence of simple calculation statements is produced as a result of parsing process. The statements you may use in step-by step formula calculation.

Example of parsing:

Example1

The first version of formula calculator library FormulaCalculatorLib with default implementation of arithmetic operations and functions for real numbers is already available. For the unusual behaviour (for example, complex numbers calculations, image calculations, etc.) you must build own calculator or wait until it will be available here or somewhere else.

This version of FormulaParserLib is built using MSVC++/MFC. Some MFC classes are used, for example, CString, CArray, CList etc. Therefore it is not really simple to make a UNIX/Linux port of the library. Nevertheless it will be also available here in some weeks.

This is recursive version of parser. It means that parsing functions are called one from each other in recursion. Thus it is possible to get call stack overflow for a very long formulas. Though I tried this with a pretty long expressions without errors. In the next versions remake from recursive to loop parser (without call stack usage) will be available.

The library exports a set of functions that may be used from both C/C++ and VisualBasic applications. For more information refer to the appropriate documentation.

Download FormulaParserLib v1.0b


FormulaParserLibrary documentation


www.maxdz.com
Rambler's Top100