Home | 10% - Off! | New | VCL | DB-Aware | Tools | DB Tools | Apps | Samples | .NET | .NET DB-Aware | .NET Tools | .NET Samples | Kylix | Docs | Bold | Discussion | Sites | Tips | DPFL | Authors | Uploads | RSS | Store | Advertisement | About

Yuriy Pisarev
Author Homepage: http://www.mathparser.net
Send E.mail to this Author

Companies News:

New Rosi Components Package released
New Rosi Components Package released Create feature-rich windows applications with many new components and universal dialogs.
  • improved DBGrid
  • new DBRecordView, DBTreeView
  • toolbars and db dialogs to Find, Filter, Sort, Export, Print...
  • StringGrid with columns definition
  • GroupBox with automatic alignment and resizing of owned controls
And many more for $35 only - details here
Want to know more ?


Author Products

Total 1 product

Components > Tools > Tools
Parse components 2015 v.1.0.2FWS 1780 k 10 Jul 2015
By Yuriy Pisarev. The components are intended for Delphi developers and perform high-speed (about 10 million evaluations per second) mathematics and boolean calculations. All components are available for Delphi 6, Delphi 7, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8. Please note that the samples do not require components installation (however installation is possible and in case when installed you find the components on "Samples" page of the pallete). You may open the Delphi project file (*.dpr) in the sample folder and simply run it.

Some features of the parse components:

  • It is possible compiling the expression into the script and further using that script in calculations;
  • It is possible decompiling the expression into the string;
  • It is possible making user-defined functions. User-defined functions can be of five types:
    • A function requiring no parameters. Such function simply returns some result;
    • A function requiring parameter before itself;
    • A function requiring parameter after itself;
    • A function requiring both parameters - before and after itself;
    • A function requiring a number of parameters, following right after the function and enclosed in round brackets. These parameters can be of string type;
  • Each function has a priority (meaningful only when function requires expression before or after itself) determining its execution order within the formula;
  • It is possible making variables;
  • It is possible making a direct reference to the simple variable of type like Byte, Integer, etc.;
  • It is possible making constants;
  • It is possible making types;
  • It is possible optimizing the expression. Optimization is simplifying of mathematic expression (if possible) at binary level; the result is an increase in evaluation speed;
  • It is possible working in multi-threaded mode. Multi-threaded mode provides the best performance due to simultaneous evaluation the elements in array of expressions;
    • It is possible using the internal automatic thread - to use it we only need to fill the expression array, start the execution and wait until all threads are done. You are able to set up a number of parameters for managing the threads, for example, define the amount of automatic threads, adjust the priority of each automatic thread and more;
    • It is possible using user-defined (Classes.TThread inheritor) threads;
  • It is possible making variables and building a dependency chain of any depth, where each variable depends on the previous one;
  • It is possible making your own variable lists (each element of the list looks like NAME=VALUE) and connecting them to the parser.
30.06.2015 - Fixed a bug that appeared when cache had added negative value. The bug might cause wrong result when computing the expression.
Fully functional
Source: Included
Download: D2005 D2006 D2007 D2009 D2010 D6 D7 DXE DXE2 DXE3 DXE4 DXE5 DXE7 DXE8  Homepage


News from our Sponsors

  Develop and debug service applications easy then ever
SvCom is an integrated package of classes and tools for development of service applications and use of NT Security framework. Currently SvCom components work under all flavours of Windows.
  • Deploy NT Service applications under Windows 9x/ME and NT/ 2000/ XP/ 2003/ 2008/ Windows 7/ Windows 8
  • Develop and debug NT services using either Windows 95/98 or NT/ 2000/ XP/ 2003/ 2008/ Windows 7/ Windows 8 - using the same classes and the same function calls (!!!)
  • Advanced service debugging (Extremely useful, when you service is not just "Hello, World!")
  • Many more features...
more... more...

  Coding in Delphi
Coding in Delphi is a new programming book by Nick Hodges that covers a variety of powerful Delphi programming features and techniques including Generics, Interfaces, Exception, Handling, Anonymous Methods, Collections, RTTI, Enumerators, Attributes, Dependency Injection and Unit Testing more... more...

Advertising on Torry's Delphi Pages


Sort order
Quick Search
Exact phrase

Advertising on Torry's Delphi Pages

Guest Book
Guest Book

Subscribe to news in RSS 2.0 format!Subscribe to news in RSS 2.0 format!
Bookmark and Share
Up | Home | 10% - Off! | New | VCL | DB-Aware | Tools | DB Tools | Apps | Samples | .NET | .NET DB-Aware | .NET Tools | .NET Samples | Kylix | Docs | Bold | Discussion | Sites | Tips | DPFL | Authors | Uploads | RSS | Store | Advertisement | About
Copyright © Torry's Delphi Pages Torry's Delphi Pages Notes? Comments? Feel free to send...

The Ultimate Source of Object Pascal and Delphi Programming Knowledge.

Copyright © 1996-2015
All trademarks are the sole property of their respective owners
Privacy Policy