ParserFunction: Utilities for parsing and evaluating mathematical expressions.

[ bsd3, deprecated, library, math, parsing ] [ Propose Tags ]
Deprecated. in favor of attoparsec
Versions 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.1.0
Dependencies base (<6), containers, parsec [details]
License BSD-3-Clause
Author Enzo Haussecker
Category Parsing
Uploaded by EnzoHaussecker at Thu Feb 9 04:41:09 UTC 2012
Distributions NixOS:0.1.0
Downloads 3956 total (32 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

ParserFunction provides utilities for parsing and evaluating mathematical expressions. The central parsing function in this package is stringToExpr, which parses a string-expression and returns a maybe expression tree. This tree is suitable for performing symbolic manipulation. Expressions can then be evaluated using the function evalExpr. If you wish to evaluate a string-expression without any intermediate operations, simply use the function evalString. Examples of these functions can be seen by viewing the source code of this module.




Maintainer's Corner

For package maintainers and hackage trustees