-
Notifications
You must be signed in to change notification settings - Fork 154
Home
Dave DeLong edited this page Sep 2, 2015
·
17 revisions
DDMathParser
makes it easy to parse a String
and evaluate it as a mathematical expression.
While NSExpression
can satisfy simple needs, it is comparatively limited. It does not support some of the key features of DDMathParser
, such as:
- accessing intermediate representations
- defining custom functions
- adding custom operators
- adding new ways to recognize existing operators
- overriding built-in functions
- recognizing localized numbers
- associating parsed expressions back to the original source string
- recognizing unicode characters such as
²
or½
DDMathParser
gives you all of these things and more.