penny-lib-0.16.0.0: Extensible double-entry accounting system - library

Safe HaskellNone

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

parseSource

Arguments

:: Text

Contents of file to be parsed

-> Exceptional String [ParsedItem]

Returns items if successfully parsed; otherwise, returns an error message.

handleParseErrorSource

Arguments

:: String

Filename

-> String 
-> IO a