Summary
Parsec is designed from scratch as an industrial-strength parser library. It is simple, safe, well documented (on the package homepage), has extensive libraries and good error messages, and is also fast. This package is the core haskell98 part of the parsec2 package, intended to preserve its simplicity and portability. Note, that the module names overlap with those of parsec from the Haskell Platform, therefore I do not recommend to unconditionally use parsec1 (or parsec2 and parsec3) as dependency in cabal files of packages for hackage. But you may want to develop your code using these limited and portable parsec1 functions and finally change the dependency from parsec1 to parsec in order to avoid module ambiguities for users just installing your package. Your own module ambiguities are best avoided by hiding packages. This version only differs from the pervious one by improved error messages for try (positions are not reset), tokens and thus string (longer unexpected strings are now reported to match the error position). The notFollowedBy-parser was generalized (as in parsec-3) so characters in messages are now shown in single instead of double quotes. Also (as since parsec-3.1.2) lookAhead no longer consumes tokens on success (so that the many-parser can detect this).
Versions
v1.0.0.7 :: 0/1.0.0.7 :: gentoo
- Modified
- License
- BSD
- Keywords
- amd64 ~arm64 ~ppc64 ~riscv ~x86
- USE flags
- doc hscolour profile
USE flags
General
Dependencies
dev-haskell / cabal : A framework for packaging Haskell software
dev-haskell / hscolour : Colourise Haskell code
Runtime Dependencies
Depending packages
dev-haskell / parsec-numbers : Utilities for parsing numbers from strings
Bugs
- 735946
- dev-haskell/parsec1-1.0.0.6 : Text/.../Prim.hs: error:
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - hololeap · gentoo
dev-haskell/parsec1: Stabilize for amd64
Signed-off-by: hololeap <hololeap@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - matoro · gentoo
dev-haskell/parsec1: keyword 1.0.0.7 for ~riscv
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - matoro · gentoo
dev-haskell/parsec1: keyword 1.0.0.7 for ~arm64
Thanks-to: Marcus Comstedt <marcus@mc.pp.se> Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - matoro · gentoo
dev-haskell/parsec1: keyword 1.0.0.7 for ~ppc64
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sergei Trofimovich · gentoo
dev-haskell/parsec1: drop old
Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sergei Trofimovich · gentoo
dev-haskell/parsec1: bump up to 1.0.0.7
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sergei Trofimovich · gentoo
dev-haskell/parsec1: new package, a depend onf xmobar-0.32
Portable monadic parser combinators Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>