ParserFunction: Utilities for parsing and evaluating string-expressions.

[ bsd3, deprecated, library, math, parsing ] [ Propose Tags ]
Deprecated. in favor of attoparsec

ParserFunction provides utilities for parsing and evaluating string-expressions. The centerpiece of this module is a function called evalStrExpr, which evaluates a string-expression using a variable lookup map. Example: evalStrExpr "exp(x)" [('x',1)] gives 2.718281828459045. More examples can be found by viewing the source code for this module. This module also exports all supporting functionality.

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
Maintainer ehaussecker@gmail.com
Category Parsing
Uploaded by EnzoHaussecker at Sun Sep 25 04:26:48 UTC 2011
Distributions NixOS:0.1.0
Downloads 4042 total (36 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2015-12-08 [all 6 reports]
Hackage Matrix CI

Modules

  • Text
    • ParserCombinators
      • Parsec
        • Text.ParserCombinators.Parsec.ParserFunction

Downloads

Maintainer's Corner

For package maintainers and hackage trustees