Module

Text.Parsing.StringParser.Expr

Package
purescript-string-parsers
Repository
paf31/purescript-string-parsers

This module defines helper functions for defining parsers using operator tables.

#Assoc Source

data Assoc

Operator associativity types.

Constructors

#Operator Source

data Operator a

Operator types: infix, prefix, postfix.

Constructors

#OperatorTable Source

type OperatorTable a = Array (Array (Operator a))

An operator table arranges operators into precedence groups.

#buildExprParser Source

buildExprParser :: forall a. OperatorTable a -> Parser a -> Parser a