beancount-parser
beancount-parser copied to clipboard
Standalone Lark based Beancount syntax parser (not relying on Beancount library), MIT license
``` Something is wrong when parsing: Unexpected token Token('METADATA_KEY', 'query') at line 16, column 12. Expected one of: * CLOSE * COMMODITY * CUSTOM * LINK * BALANCE * $END...
Currently, the output of this parser is the AST from Lark, which I feel is not ideal for a few reasons. * The AST usually requires some common post processing....
It seems bean-black doesn't handle #tags that are on the txn level: ``` lark.exceptions.UnexpectedCharacters: No terminal matches '#' in the current parser context, at line 14 col 3 #opening-balance ^...
According to [feedback posted](https://groups.google.com/g/beancount/c/8yZwuFMsiU8) by Dan in Beancount's Google group, it seems like this parser cannot handle > * Assets:Section:With:Funny:Name > and this: > 2022-04-10 * "Test" > * Assets:Posting:With:Flag...
Hi! I'm running into a hiccup trying to import transactions into a project that contains an unrelated file that uses push/poptags directives. If we define a Beancount file with \`pushtag\`...