It's simple expression paser with possibility of defining variables.
Paser accepts 3 types of data:
- numerical
- text
- logical (bool) F. or T.
The sample code consists of a DLL written in C++. A class written in Delphi that uses a DLL to interpret an expression. An example program using a class and a DLL.
To generate lexer (lexical) and grammar it's required to use https://github.com/lexxmark/winflexbison or https://sourceforge.net/projects/winflexbison/
Remember to copy paste ParseScrDLL.dll to where the exemplary software is ParserTest.exe