hledger/hledger-api
Simon Michael 0f5ee154c4 lib: simplify parsers; cleanups (#275)
The journal/timeclock/timedot parsers, instead of constructing (opaque)
journal update functions which are later applied to build the journal,
now construct the journal directly (by modifying the parser state). This
is easier to understand and debug. It also removes any possibility of
the journal updates being a space leak. (They weren't, in fact memory
usage is now slightly higher, but that will be addressed in other ways.)

Also:

Journal data and journal parse info have been merged into one type (for
now), and field names are more consistent.

The ParsedJournal type alias has been added to distinguish being-parsed
and finalised journals.

Journal is now a monoid.

stats: fixed an issue with ordering of include files

journal: fixed an issue with ordering of included same-date transactions

timeclock: sessions can no longer span file boundaries (unclocked-out
sessions will be auto-closed at the end of the file).

expandPath now throws a proper IO error (and requires the IO monad).
2016-05-23 00:44:19 -07:00
..
doc doc: readme for doc directories 2016-05-17 10:03:57 -07:00
examples api: merge tomk's WIP angular client, cleanups 2016-01-24 13:37:34 -08:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
CHANGES api: begin a web API server with examples (#316) 2016-01-09 07:48:24 -08:00
future-package.yaml update tested-with 2016-04-28 17:32:17 -07:00
hledger-api.cabal update tested-with 2016-04-28 17:32:17 -07:00
hledger-api.hs lib: simplify parsers; cleanups (#275) 2016-05-23 00:44:19 -07:00
LICENSE api: begin a web API server with examples (#316) 2016-01-09 07:48:24 -08:00
README api: merge tomk's WIP angular client, cleanups 2016-01-24 13:37:34 -08:00

A web API server for hledger data, and some client-side app examples.
This is an alternative to hledger-web, and for variety uses servant instead of yesod.