| Safe Haskell | None |
|---|
Penny.Copper.Parsec
Description
Parsec parsers for the ledger file format. The format is
documented in EBNF in the file doc/ledger-grammar.org.
Documentation
digitGroup :: Parser [Char]Source
digitPostSequence :: Parser (Maybe [Char])Source
Arguments
| :: Text | Contents of file to be parsed |
| -> Exceptional String [ParsedItem] | Returns items if successfully parsed; otherwise, returns an error message. |
parseStdinOnly :: IO (Filename, [ParsedItem])Source
parseFromFilename :: String -> IO (Filename, [ParsedItem])Source