ExpressionEvaluator library

agraham

Expert
Licensed User
Longtime User
I've been meaning to do this for my own use for a while and I have finally got around to producing both Basic4ppc and Basic4android versions.

This is the recursive descent parser from my BasicLib library stripped down to deal with arithmetic functions only. Pass it a valid arithmetic expression as a string and it will return the result. See the help to see what is supported but basically it will evaluate any arithmetic expression that Basic4ppc or Basic4android can. It also supports variables that may be used to pass values and store intermediate results.

EDIT :- Added the source for merging which I forgot to include in the archive.
 

Attachments

  • ExpressionEvaluator1.1.zip
    12.2 KB · Views: 88
  • ExpressionEvaluator1.1source.zip
    4.1 KB · Views: 66
Last edited:
Top