On Friday, January 16, 2015 at 10:46:17 PM UTC-8, Martin Blais wrote: > > On Fri, Jan 16, 2015 at 11:01 PM, Red Street <[email protected] > <javascript:>> wrote: > >> Excellent. Thanks much, Martin, and Simon. Precisely what I was looking >> for. I'm not setup with hledger currently, though I've tried it in the >> past, so I'll start with Martin's solution for now. >> >> Martin: from just looking at the code, it seems like I don't even need to >> run ledger or beancount, since this simply parses the journal file >> directly? >> > > This is a bit of an oblique question; let me clarify what I mean by this: > it uses Beancount. It uses its loader to parse and load the input file > (where "parse" means to produce data structures that match 1:1 to the > input, and "load" means further process this list with plugins which may > themselves generate more directives or modify those, and then validates > various things). This forms the entire "input" part of Beancount, including > all its semantics; it always begins with load_file(). But essentially, that > _is_ most of what >
That makes perfect sense now that you describe it. Thanks very much for the detailed response, including the parse/load distinction. I'll get back once I get started with it. -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
