DDMathParser

DMathParser makes it easy to parse a String and evaluate it as a mathematical expression.

While NSExpression and GCMathPaser can satisfy simple needs, they are comparatively limited. They do 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 ½

Posted

in

,

by

Tags:

Comments

Leave a Reply