Parsec.hs revision 6b5b479ede565ad5b2b7cf5f3e8eb699a2cc9a4b
-----------------------------------------------------------------------------
-- |
-- Module : Common.Lib.Parsec
-- Copyright : (c) Daan Leijen 1999-2001
-- License : BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer : daan@cs.uu.nl
-- Stability : provisional
-- Portability : portable
--
-- Parsec, the Fast Monadic Parser combinator library, see
--
-- Inspired by:
--
-- * Graham Hutton and Erik Meijer:
-- Monadic Parser Combinators.
-- Technical report NOTTCS-TR-96-4.
-- Department of Computer Science, University of Nottingham, 1996.
--
-- * 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.
--
-----------------------------------------------------------------------------
module Common.Lib.Parsec
( -- complete modules
module Common.Lib.Parsec.Prim
, module Common.Lib.Parsec.Combinator
, module Common.Lib.Parsec.Char
-- module Common.Lib.Parsec.Error
, ParseError
, errorPos
-- module Common.Lib.Parsec.Pos
, SourcePos
, SourceName, Line, Column
, sourceName, sourceLine, sourceColumn
, incSourceLine, incSourceColumn
, setSourceLine, setSourceColumn, setSourceName
) where
import Common.Lib.Parsec.Pos -- textual positions
import Common.Lib.Parsec.Error -- parse errors
import Common.Lib.Parsec.Prim -- primitive combinators
import Common.Lib.Parsec.Combinator -- derived combinators
import Common.Lib.Parsec.Char -- character parsers