Ledger's command-line interface and plain text storage are great. But as my ledger usage grows and becomes ever more complex and integrated with external tools, I would prefer a programmatic library interface to ledger. Such an interface would for example allow me to generate transactions (from some external source) within a programming language and feed them to ledger, without having to generate intermediate text files. It would perhaps also make it easier to inspect the data programmatically by providing first-class ledger-related data types (transactions, accounts and so on). Personally I would prefer the language to be from the Lisp-family, for example Scheme, but any high-level language would do.
I'm just thinking out loud in case there is someone else thinking along the same lines.
