Product description
KCompiler is a Delphi component
purposed to compile and evaluate mathematical
expressions (formulas), for example, "2*x+cos(y)
".
KCompiler checks the syntax of
given expression and generates real machine code to
evaluate it. The code is highly optimized for x86-
compatible processors produced since 1995, so formula
evaluation process with KCompiler becomes faster than
evaluation of the same formula with the most of other
compilers, for example, Borland Delphi.
You can easily extend possibilities
of KCompiler with functions in your Delphi program and
they will be called in the fastest way or use free
library "KLib.pas". Also you may add
external variables of different types (the most of
Delphi scalar types are included).
Use KCompiler to calculate formulas
that are unknown at the stage of program compilation
or to achieve greater speed with your Delphi
application.
Major features
- common arithmetic operations +, -,
*, / and parenthesis (, )
- expression simplifying
- deep analyzing of formula
- great speed of calculations
- large set of optimizations
- syntax errors handling
- data alignment
- extendable variable list
- large set of supported variables’
types
- extendable function list
- quick function parameters
passing
- smart function call mode
- support for multithreaded
computing