MathExp: KISS or All-Out?

Don nospam at nospam.com
Thu Oct 15 04:36:00 PDT 2009


Bill Baxter wrote:
> On Wed, Oct 14, 2009 at 2:49 PM, dsimcha <dsimcha at 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



More information about the Digitalmars-d mailing list