parsec-2.1.0.1: Monadic parser combinatorsSource codeContentsIndex
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 Source
Constructors
AssocNone
AssocLeft
AssocRight
data Operator t st a Source
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]]Source
buildExpressionParser :: OperatorTable tok st a -> GenParser tok st a -> GenParser tok st aSource
Produced by Haddock version 2.4.2