hweblib-0.3: Haskell Web Library

Network.Parser.Rfc2234

Contents

Description

Augmented BNF for Syntax Specifications: ABNF http://www.ietf.org/rfc/rfc2234.txt

Synopsis

Primitive Parsers (6.1 Core Rules)

wsp :: Parser Word8Source

Parse a Space or Horizontal Tab

vchar :: Parser Word8Source

Parse a Visible Character

sp :: Parser Word8Source

Parse a Space

octet :: Parser Word8Source

Parse an Octet

lwsp :: Parser [Word8]Source

Parse a Lightweight Space

lf :: Parser Word8Source

Parse a LineFeed

ht :: Parser Word8Source

Parse a Horizontal Tab

hexdig :: Parser Word8Source

Parse a hex digit

digit :: Parser Word8Source

Parse a digit

dquote :: Parser Word8Source

Parse a double quote

ctl :: Parser Word8Source

Parse an ascii control character

crlf :: Parser Word8Source

Parse CRLF

cr :: Parser Word8Source

Parse CR

char :: Parser Word8Source

Parse a character

bit :: Parser Word8Source

Parse a Bit

upalpha :: Parser Word8Source

Parse an uppercase alpha

loalpha :: Parser Word8Source

Parse a lowercase alpha

alpha :: Parser Word8Source

Parse an alpha

manyN :: Int -> Parser a -> Parser [a]Source

Match a parser at least N times.

manyNtoM :: Int -> Int -> Parser a -> Parser [a]Source

Match a parser at least N times, but no more than M times.