Comments: - Found a bug in the example file:
bergamot [hg|]:~/src/ledger2beancount$ ./bin/ledger2beancount examples/illustrated.ledger Can't parse date 03/28 at ./bin/ledger2beancount line 161. (This is out of the box, probably an easy fix.) Idea: You may want to add a unit test on the running of the conversion on each of the examples provided. e.g. https://bitbucket.org/blais/beancount/src/4c0eeea4c6c4f406c5400d3fb245087042293844/beancount/scripts/check_examples_test.py?at=default&fileviewer=file-view-default - About the payee_match feature: Just wanted to point out the fix_payees plugin: https://bitbucket.org/blais/beancount/src/4c0eeea4c6c4f406c5400d3fb245087042293844/beancount/plugins/fix_payees.py?at=default&fileviewer=file-view-default I'm not sure if it can do what Ledger does; but if you think it can be modified to match your needs, let me know. - About "tag foo"; you can use pushtag #foo ... poptag #foo to achieve something similar (I think it's similar?) - I think you'll find complexities when you start to translate reductions (e.g. selling shares), though the current automated lot selection might help a lot. Nice work! Thanks, On Fri, Mar 30, 2018 at 8:22 AM, Martin Michlmayr <t...@cyrius.com> wrote: > As mention in the ledger2beancount announcement, I created an > illustrated ledger example that shows how ledger syntax is converted > to beancount syntax and explains some of the differences. > > Since I'm new to beancount myself, I wanted to ask if someone could > review that everything makes sense and that I'm using the correct > beancount terminology: > https://github.com/zacchiro/ledger2beancount/blob/master/ > examples/illustrated.ledger > > Thanks! > > -- > Martin Michlmayr > http://www.cyrius.com/ > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beancount+unsubscr...@googlegroups.com. > To post to this group, send email to beancount@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beancount/20180330122221.cb6teky77h5krotz%40jirafa.cyrius.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To post to this group, send email to beancount@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhPhk2F1QHnqTnmvymZNKbrGkthq1MKMC6-pS596MuN6hg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.