Bestcode TbcParser 4.3 » Developer.Team

Bestcode TbcParser 4.3

Bestcode TbcParser 4.3
Bestcode TbcParser 4.3 | 1 Mb


TbcParser is a math expression parser VCL component that can be used with Delphi and C++ Builder 4,5,6,7, 2006, 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, Delphi 10 Seattle. It is compatible with 32 bit and 64 bit Delphi / C++ Builder. It is also compatible with iOS Delphi development. For Free Pascal users, it works in Lazarus IDE as well.

This formula parser Delphi component makes it possible for your application take user input as a formula to evaluate at runtime. It makes it possible to write scientific, financial, engineering applications in a flexible way without having to hardcode mathematical expressions. We have a few sample screenshots of applications that use TbcParser below.

Delphi Math Parser Component

TbcParser Delphi Math Parser Component features include:
Easy to use component API for Delphi and C++ Builder.
Comes with predefined functions.
You can create custom functions/variables and get a callback to your own functions that you define in your source code.
OnVariableFound event to provide values for undefined variables.
Optimization: Constant expression elimination for repeated tasks.
Analytic Operators: +, -, /, *, ^
Logical Operators: , =, &, |, !, <>, =
Paranthesis: (, {, [
Functions in the form of: f(x,y,z,...)
List of predefined functions is avail - you install the source as the component

TbcParser math parser library is especially useful in scientific, engineering programs as well as financial spread sheet implementations.

It’s internal arithmetic uses ‘Extended’ storage for floating point numbers.

To be efficient in repeated calculations, parser creates a parse tree to represent the math formula and reuses this parse tree for each evaluation without the need to reparse.

Optimizer: If Optimization is on, the parse tree will be optimized by calculating constant expression sections at once so that further evaluation requests will be quicker without the need to re-evaluate those sub trees.

TbcParser comes with the Pascal source code and there is also a help file for reference and a demo application for aid in getting started. So it is easy to make it work with different versions of Delphi or C++ Builder in the future. You will be installing the bcParser.pas and not the dcu unit file. This makes it easy to upgrade to future Delphi versions without having to worry about getting new binaries from us.

Only for V.I.P
Warning! You are not allowed to view this text.