stutter-0.1.0.2: (Stutter Text|String)-Utterer

Safe HaskellNone
LanguageHaskell2010

Stutter.Parser

Synopsis

Documentation

parseHandle :: Parser ProducerGroup Source #

Parse a Handle-like reference, preceded by an @ sign. A single dash (-) is interpreted as stdin, any other string is used as a file path.

parseRanges :: Parser [Range] Source #

Parse several ranges

Example: [a-zA-Z0-6]

parseRange :: Parser Range Source #

Parse a range of the form 'a-z' (int or char)

parseIntRange :: Parser Range Source #

Parse a range in the format "start-end", consuming exactly 3 characters

parseCharRange :: Parser Range Source #

Parse a range in the format "start-end", consuming exactly 3 characters