uu-parsinglib: New version of the Utrecht University parser combinator library

[ library, mit, parsercombinators, parsercombinators-parsing-text, parsing, parsing-text, text, text.parsercombinators, text.parsercombinators-parsing-text ] [ Propose Tags ]

New version of the Utrecht University parser combinator library, providing online, error correction, annotation free, applicative style parser combinators which also provides a monadic interface

The file Text.ParserCombinators.UU.Examples contains a ready-made main function, which can be called to see the error correction at work.

Versions above 2.1:

  • based on Control.Applicative

Versions above 2.2:

  • make use of type families

  • contain a module with many list-based derived combinators

Version 2.3.1

  • fix for GHC 6.12, because of change in GADT definition handling

Version 2.3.2

  • added microsteps, which can be used to disambiguate

Version 2.3.3

  • added pMunch which takes a Boolean function, and recognises the longest prefix for which the symbols match the predicate

  • added the infix operator with piority 2 ? :: P state a -> String -> P st a which replaces the list of expected symbols in error message by its right argument String

Version 2.3.4

  • removed dependecies on impredictaive types, preparing for next GHC version

Future versions above 2.3

  • contain some form of abstract interpretation from the old uulib versions of these combinators

  • are closer to Haskell98, since they do not make use of type families anymore

  • note that the basic parser interface will probably not change much when we add more features, but the calling conventions of the outer parser and the class structure upon which the parametrisation is based may change

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.4, 2.5.0, 2.5.1, 2.5.1.1, 2.5.2, 2.5.3, 2.5.4, 2.5.4.1, 2.5.4.2, 2.5.5, 2.5.5.1, 2.5.5.2, 2.5.6, 2.5.6.1, 2.7.0, 2.7.0.1, 2.7.0.2, 2.7.1, 2.7.1.1, 2.7.2, 2.7.2.1, 2.7.2.2, 2.7.3, 2.7.3.1, 2.7.3.2, 2.7.3.4, 2.7.4, 2.7.4.1, 2.7.4.2, 2.7.4.3, 2.8.1, 2.8.1.1, 2.9.0, 2.9.1, 2.9.1.1, 2.9.2
Dependencies base (>=4 && <4.3), haskell98 [details]
License MIT
Author Doaitse Swierstra
Maintainer doaitse@swierstra.net
Revised Revision 1 made by HerbertValerioRiedel at 2020-04-08T17:07:09Z
Category ParserCombinators Parsing Text
Home page http://www.cs.uu.nl/wiki/bin/view/HUT/ParserCombinators
Bug tracker mailto:doaitse@swierstra.net
Uploaded by DoaitseSwierstra at 2010-07-15T08:08:11Z
Distributions NixOS:2.9.2
Reverse Dependencies 18 direct, 9 indirect [details]
Downloads 39046 total (92 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]