@hackage / bytestringreadp

A ReadP style parser library for ByteString

Latest0.2

About

Metadata

  • Last updated , by GracjanPolak
  • License BSD-3-Clause
  • Categories Text Processing
  • Maintained by: Gracjan Polak <gracjanpolak@gmail.com>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    splitbase (on by default)

    Choose the new smaller, split-up base package.

Readme

This is a library of parser combinators, originally written by Koen Claessen. It parses all alternatives in parallel, so it never keeps hold of the beginning of the input string, a common source of space leaks with other parsers. The (+++) choice combinator is genuinely commutative; it makes no difference which branch is "shorter".

Adapted to use Data.ByteString by Gracjan Polak. Designed as a drop-in replacement for Text.ParserCombinators.ReadP.