I have a somewhat challenging problem at work. We are required to evaluate string expressions which will be the outcome of certain rules. The expressions are in the form of formulas, ex:
LastBasicSalary * 0.8 + 70000
After some research, we found out that this is easy to solve using
RPN Expressions. The real issue is with evaluating functions such as MIN and MAX. We're currently looking into something smarter than string manipulation but I'm not sure how far this is going to take us. Moreover, it gets even harder when there are more than one function in the same expression.
So any suggestions or pointers to where we should focus our research would be highly appreciated.