Simple Haskell parsing library.
import SimParser
-- GHCI Examples
> parse digit "012345"
Right ('0',"12345")
> parse (char 'x') "abc"
Left (ParserError "Parsing failed: expected 'x', found 'a'")
> parse (some digit) "012345abc"
Right ("012345","abc")
> parse (some (digit <|> letter)) "012345abc"
Right ("012345abc","")
> parse int "-10n"
Right (-10,"n")
SimParser is based on Graham Hutton's Functional parsing library [YouTube].