parsec-2.1.0.0: Monadic parser combinatorsContentsIndex
Text.ParserCombinators.Parsec.Expr
Portabilityportable
Stabilityprovisional
Maintainerdaan@cs.uu.nl
Description
A helper module to parse "expressions". Builds a parser given a table of operators and associativities.
Documentation
data Assoc
Constructors
AssocNone
AssocLeft
AssocRight
data Operator t st a
Constructors
Infix (GenParser t st (a -> a -> a)) Assoc
Prefix (GenParser t st (a -> a))
Postfix (GenParser t st (a -> a))
type OperatorTable t st a = [[Operator t st a]]
buildExpressionParser :: OperatorTable tok st a -> GenParser tok st a -> GenParser tok st a
Produced by Haddock version 0.8