Try Python for Delphi. It can do all that you want below, plus a lot more.
And besides, the price is right!
----- Original Message -----
From: "David Brennan" <[EMAIL PROTECTED]>
To: "DUG" <delphi@delphi.org.nz>
Sent: Wednesday, October 24, 2007 4:18 PM
Subject: [DUG] Expression Parser/Evaluator
Hi,
Another question in the popular family of "what is the best component
suite
for X?".
Can anyone recommend a good expression parser/evaluator? Ideally a bit
more
than just mathematical expressions, we would like it to handle logical
evaluation (ie Booleans), IF statements and ideally strings (primarily for
comparison within boolean IF conditions but if the parser/evaluator could
handle strings as results then all the better). We don't need any loop
constructs or more advanced program control constructs. We would probably
like to be able to define our own expression functions but the user
probably
doesn't need to be able to.
Quality (ie reliability), functionality and availability of source code
are
our main criteria here. Price isn't going to be so much of an issue unless
they are hideously expensive or there are multiple good options to choose
between.
Any recommendations? Warnings on what to avoid?
Thanks,
David.
--------------------------------------------------------------------------------
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject:
unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe