Module

StringParser.Expr

Package
purescript-string-parsers
Repository
purescript-contrib/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