Thanks everyone for your suggestions. I followed IanAtCidac's suggestion and found that a fellow by the name of Konstantin Tretyakov had written a routine he calls an Expression Evaluator, which is in fact a very impressive Recursive Descent Parser as Mike Lacey mentioned. It returns the result...
I am writing an application in which I want to enable the user to define variable names and enter formulas into text boxes on a form, which are then used within the code. It is to be used by ecologists in creating and testing simple ecosystem models. For example the user might enter 'Salinity'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.