On Thu, Oct 15, 2009 at 4:36 AM, Don <nos...@nospam.com> wrote: > Bill Baxter wrote: >> >> On Wed, Oct 14, 2009 at 2:49 PM, dsimcha <dsim...@yahoo.com> wrote: >>> >>> I'm working on some mathy modules that I'd like to eventually contribute >>> to >>> Phobos, or, if they're too niche, to a standalone lib. >>> One that I've alluded >>> to here in the past few days is MathExp. Basically what it does is >>> parse/interpret/evaluate/manipulate mathematical expressions at runtime. >> >> I kinda think it's too niche. A nice thing to have if you're >> implementing a calculator or some other program where users can input >> their own expressions. But other than that I can't think of any time >> I've run across the need to evaluate expressions at runtime. What >> sort of use cases did you have in mind? > > Probably the same as these: > > http://www.codeproject.com/KB/recipes/MathieuMathParser.aspx > http://www.codeproject.com/KB/recipes/FastMathParser.aspx
Funny. Yes, seems they couldn't come up with any examples either. :-) --bb