[project @ 2002-05-31 12:22:33 by panne]
[ghc-base.git] / Text / ParserCombinators / Parsec.hs
1 -----------------------------------------------------------------------------
2 -- |
3 -- Module      :  Text.ParserCombinators.Parsec
4 -- Copyright   :  (c) Daan Leijen 1999-2001
5 -- License     :  BSD-style (see the file libraries/base/LICENSE)
6 -- 
7 -- Maintainer  :  daan@cs.uu.nl
8 -- Stability   :  provisional
9 -- Portability :  portable
10 --
11 -- Parsec, the Fast Monadic Parser combinator library. 
12 -- <http://www.cs.uu.nl/people/daan/parsec.html>
13 --
14 -- This helper module exports elements from the basic libraries.
15 -- Inspired by:
16 --
17 -- * Graham Hutton and Erik Meijer:
18 --   Monadic Parser Combinators.
19 --   Technical report NOTTCS-TR-96-4. 
20 --   Department of Computer Science, University of Nottingham, 1996. 
21 --   <http://www.cs.nott.ac.uk/Department/Staff/gmh/monparsing.ps>
22 --
23 -- * Andrew Partridge, David Wright: 
24 --   Predictive parser combinators need four values to report errors.
25 --   Journal of Functional Programming 6(2): 355-364, 1996
26 --
27 -----------------------------------------------------------------------------
28
29 module Text.ParserCombinators.Parsec
30                ( -- complete modules
31                  module Text.ParserCombinators.Parsec.Prim
32                , module Text.ParserCombinators.Parsec.Combinator
33                , module Text.ParserCombinators.Parsec.Char
34                
35                -- module Text.ParserCombinators.Parsec.Error
36                , ParseError   
37                , errorPos   
38                
39                -- module Text.ParserCombinators.Parsec.Pos
40                , SourcePos
41                , SourceName, Line, Column             
42                , sourceName, sourceLine, sourceColumn             
43                , incSourceLine, incSourceColumn
44                , setSourceLine, setSourceColumn, setSourceName
45
46              ) where
47
48 import Text.ParserCombinators.Parsec.Pos            -- textual positions
49 import Text.ParserCombinators.Parsec.Error          -- parse errors
50 import Text.ParserCombinators.Parsec.Prim           -- primitive combinators
51 import Text.ParserCombinators.Parsec.Combinator     -- derived combinators
52 import Text.ParserCombinators.Parsec.Char           -- character parsers
53