| parsec-2.1.0.1: Monadic parser combinators | Source code | Contents | Index

Text.ParserCombinators.Parsec

Portability | portable
Stability | provisional
Maintainer | daan@cs.uu.nl

Description

Parsec, the Fast Monadic Parser combinator library, see http://www.cs.uu.nl/people/daan/parsec.html.

Inspired by:

- Graham Hutton and Erik Meijer: Monadic Parser Combinators. Technical report NOTTCS-TR-96-4. Department of Computer Science, University of Nottingham, 1996. http://www.cs.nott.ac.uk/~gmh/monparsing.ps
- Andrew Partridge, David Wright: Predictive parser combinators need four values to report errors. Journal of Functional Programming 6(2): 355-364, 1996

This helper module exports elements from the basic libraries.

Documentation
module Text.ParserCombinators.Parsec.Prim
module Text.ParserCombinators.Parsec.Combinator
module Text.ParserCombinators.Parsec.Char

data ParseError | Source

Instances

Show ParseError

errorPos :: ParseError -> SourcePos | Source

data SourcePos | Source

Instances

Eq SourcePos
Ord SourcePos
Show SourcePos

type SourceName = String | Source

type Line = Int | Source

type Column = Int | Source

sourceName :: SourcePos -> SourceName | Source

sourceLine :: SourcePos -> Line | Source

sourceColumn :: SourcePos -> Column | Source

incSourceLine :: SourcePos -> Line -> SourcePos | Source

incSourceColumn :: SourcePos -> Column -> SourcePos | Source

setSourceLine :: SourcePos -> Line -> SourcePos | Source

setSourceColumn :: SourcePos -> Column -> SourcePos | Source

setSourceName :: SourcePos -> SourceName -> SourcePos | Source

Produced by Haddock version 2.4.2