...With a few lines of code CalM enables your application to evaluate user-supplied mathematical expressions, such as "e^(sin .25pi)" and "(sqrt e)^(sqrt 2)". The standard configuration of the parser has a wide variety of mathematical operations, ranging from basic arithmetic, trigonometry, combinatorics, linear algebra and more.
CalM includes a script interpreter which is based on the math parser. The CalM scripting language lets you define your own functions and variables. These may be exported and used in other scripts. The scripting framework supports a component type called MComp (Math Component). ...