screp-0.1.0.0: grep-like CLI using Parsec parsers instead of regex
Safe HaskellSafe-Inferred
LanguageHaskell2010

Scrappy.Grep.DSL.Parser

Synopsis

Documentation

parseExpr :: String -> Either ParseError ParserExpr Source #

Parse a DSL string into an AST

data ParseError #

The abstract data type ParseError represents parse errors. It provides the source position (SourcePos) of the error and a list of error messages (Message). A ParseError can be returned by the function parse. ParseError is an instance of the Show and Eq classes.

Instances

Instances details
Exception ParseError

Since: parsec-3.1.17.0

Instance details

Defined in Text.Parsec.Error

Show ParseError 
Instance details

Defined in Text.Parsec.Error

Eq ParseError 
Instance details

Defined in Text.Parsec.Error