Haskell Language Attoparsec

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

Attoparsec is a parsing combinator library that is "aimed particularly at dealing efficiently with network protocols and complicated text/binary file formats".

Attoparsec offers not only speed and efficiency, but backtracking and incremental input.

Its API closely mirrors that of another parser combinator library, Parsec.

There are submodules for compatibility with ByteString, Text and Char8. Use of the OverloadedStrings language extension is recommended.

Parameters

TypeDetail
Parser i aThe core type for representing a parser. i is the string type, e.g. ByteString.
IResult i rThe result of a parse, with Fail i [String] String, Partial (i -> IResult i r) and Done i r as constructors.


Got any Haskell Language Question?