Great work from Dave! I had been using Graham's GCMathParser but we needed something more powerful, and I stumbled upon muParser (http://muparser.sourceforge.net/) which is quite excellent, albeit much more complex en Dave's or Graham's solution (I had to write my own thin wrapper around it, too, but that was a minor hassle).
Florent On 23 nov. 2010, at 07:05, Carter Allen wrote: > I'm currently working on an app that loads expressions from plugin-like > files, and currently we're having the expressions be written in JavaScript > syntax and then using a WebView to evaluate the JavaScript. Obviously, this > is less than ideal. I'm wondering if you think that DDMathParser is equal, > greater, or lesser in raw mathematical capability (remember, everything has > to be done based on an input string) than using JavaScript. If it's lesser, > then perhaps there would be some way of having your class detect when it has > hit an expression it can't figure out, and at that point pass the expression > to WebKit. -- Florent Pillet http://www.florentpillet.com Mobile Software Expert Mac OS X, iPhone, Unix _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com