Copyright | 2012 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | ex8k.hibino@gmail.com |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell98 |
This module includes a naive parser implementation for Text.Syntax.Poly. Composed parser functions are not cached and composed every time by needed.
- data Parser tok alpha
- runParser :: Parser tok alpha -> [tok] -> Result alpha tok
- data Result a tok
- runAsParser :: Eq tok => RunAsParser tok a ErrorString
Syntax instance Parser type
Constructive Parser
type. Parse [tok]
into alpha
.
Poly- morphic wrapper of runParser
runAsParser :: Eq tok => RunAsParser tok a ErrorString Source