Package3.1.18.0Parsing
parsec
Monadic parser combinators
- Version3.1.18.0
- CategoryParsing
- LicenceBSD-2-Clause
- AuthorDaan Leijen <daan@microsoft.com>, Paolo Martini <paolo@nemail.it>, Antoine Latter <aslatter@gmail.com>
- MaintainerOleg Grenrus <oleg.grenrus@iki.fi>, Herbert Valerio Riedel <hvr@gnu.org>
- Homepagegithub.com/haskell/parsec
- Pinned bywith GHC
- Sourcehackage.haskell.org/package/parsec-3.1.18.0
Modules
- Text.ParsecThis module includes everything you need to get started writing a
- Text.Parsec.ByteStringConvenience definitions for working with ByteStrings.
- Text.Parsec.ByteString.LazyConvenience definitions for working with lazy ByteStrings.
- Text.Parsec.CharCommonly used character parsers.
- Text.Parsec.CombinatorCommonly used generic combinators. See also the parser-combinators
- Text.Parsec.ErrorParse errors
- Text.Parsec.ExprA helper module to parse "expressions".
- Text.Parsec.LanguageA helper module that defines some language definitions that can be used
- Text.Parsec.PermThis module implements permutation parsers. The algorithm used
- Text.Parsec.PosTextual source positions.
- Text.Parsec.StringMake Strings an instance of Stream with Char token type.
- Text.Parsec.TextConvenience definitions for working with Text.
- Text.Parsec.Text.LazyConvenience definitions for working with lazy Text.
- Text.Parsec.TokenA helper module to parse lexical elements (tokens). See makeTokenParser
- Text.ParserCombinators.ParsecParsec compatibility module
- Text.ParserCombinators.Parsec.CharParsec compatibility module
- Text.ParserCombinators.Parsec.CombinatorParsec compatibility module
- Text.ParserCombinators.Parsec.ErrorParsec compatibility module
- Text.ParserCombinators.Parsec.ExprParsec compatibility module
- Text.ParserCombinators.Parsec.LanguageParsec compatibility module
- Text.ParserCombinators.Parsec.PermParsec compatibility module
- Text.ParserCombinators.Parsec.PosParsec compatibility module
- Text.ParserCombinators.Parsec.PrimParsec compatibility module
- Text.ParserCombinators.Parsec.TokenParsec compatibility module
Internal modules · 1
- Text.Parsec.PrimThe primitive parser combinators.
Description
Parsec is designed from scratch as an industrial-strength parser library. It is simple, safe, well documented (on the package homepage), has extensive libraries, good error messages, and is fast. It is defined as a monad transformer that can be stacked on arbitrary monads, and it is also parametric in the input stream type.
The main entry point is the Text.Parsec module which provides defaults for parsing Character data.
The Text.ParserCombinators.Parsec module hierarchy contains the legacy parsec-2 API and may be removed at some point in the future.
Depends on
4 packages- base-4.23.0.0with GHC
- bytestring-0.12.2.0with GHC
- mtl-2.3.2with GHC
- text-2.1.4with GHC