invertible-syntax-poly-0.1.0.1: Extends invertible-syntax library capable to use parameterized token type.

Copyright2012 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell98

Text.Syntax.Parser.List.Compose

Contents

Description

This module includes a naive parser implementation for Text.Syntax.Poly. Composed parser functions are not cached and composed every time by needed.

Synopsis

Syntax instance Parser type

data Parser tok alpha Source

Constructive Parser type. Parse [tok] into alpha.

runParser :: Parser tok alpha -> [tok] -> Result alpha tok Source

Function to run parser

data Result a tok Source

Result type of Parser

Poly- morphic wrapper of runParser