Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/parsec/Text/ParserCombinators/Parsec.hs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


-----------------------------------------------------------------------------
-- |
-- Module      :  Text.ParserCombinators.Parsec
-- Copyright   :  (c) Daan Leijen 1999-2001
-- License     :  BSD-style (see the file libraries/parsec/LICENSE)
-- 
-- Maintainer  :  [email protected]
-- Stability   :  provisional
-- Portability :  portable
--
-- 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.
--
-----------------------------------------------------------------------------

module Text.ParserCombinators.Parsec
               ( -- complete modules
                 module Text.ParserCombinators.Parsec.Prim
               , module Text.ParserCombinators.Parsec.Combinator
               , module Text.ParserCombinators.Parsec.Char
               
               -- module Text.ParserCombinators.Parsec.Error
               , ParseError   
               , errorPos   
               
               -- module Text.ParserCombinators.Parsec.Pos
               , SourcePos
               , SourceName, Line, Column             
               , sourceName, sourceLine, sourceColumn             
               , incSourceLine, incSourceColumn
               , setSourceLine, setSourceColumn, setSourceName

             ) where

import Text.ParserCombinators.Parsec.Pos            -- textual positions
import Text.ParserCombinators.Parsec.Error          -- parse errors
import Text.ParserCombinators.Parsec.Prim           -- primitive combinators
import Text.ParserCombinators.Parsec.Combinator     -- derived combinators
import Text.ParserCombinators.Parsec.Char           -- character parsers


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].