mrVanDalo / csv-to-qif

convert csv files to qif files
http://palovandalo.com/csv-to-qif
Other
4 stars 5 forks source link

Develop #4

Closed jonathankochems closed 9 years ago

jonathankochems commented 9 years ago

Hi, Added a quick Parsec parser for qif files. I'm using it in a different project and thought you may find it useful.

mrVanDalo commented 9 years ago

Hey,

Thank you for the pull-request. I'm trying to build your branch, but get this message :

src/QifParser.hs:18:8:
    Could not find module ‘Text.ParserCombinators.Parsec’
    It is a member of the hidden package ‘parsec-3.1.7’.
    Perhaps you need to add ‘parsec’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

I'll take care of that when I'm back from work this evening.

When I've merged it, I'll also create a new version.

Do you have any idea what to do with the Qif parser? maybe deliver a qif-to-csv binary (in this package) ?

jonathankochems commented 9 years ago

Hi Ingolf, Thanks for catching that. Yes, the merge needs parsec.

I think a qif-to-csv binary might be useful.

I have been using the parser and the qif-generator to do some processing of bank generated qif files (that got the sign of transaction balances wrong).