Issue #138: Make it possible to use account names with a single character. (blais/beancount)

23 views
Skip to first unread message

Martin Blais

unread,
Aug 4, 2016, 12:09:24 AM8/4/16
to bean...@googlegroups.com
New issue 138: Make it possible to use account names with a single character.
https://bitbucket.org/blais/beancount/issues/138/make-it-possible-to-use-account-names-with

Martin Blais:

I'm not 100% sure, but I think the limitation is related to the lexer.
The grammar for flags plays not to nicely with other things, and I think this is one of them.
However, I think I _may_ be able to change the definition to that of Alan's suggestion for account name components beyond the first one.




On Mon, Aug 1, 2016 at 8:26 PM, Luciano <news...@gmail.com> wrote:
Hi Martin,

Quick question. Is there a reason why account and commodity names need to be at least two characters?
Does it make parsing easier or is it just a matter of preference?

I have some holdings of stock with single letter tickers and it'd be nice to use their actual tickers in account and commodity names.
Obviously not a big deal, just a minor annoyance, but if it's a trivial change to the grammar I'd welcome it.

I'll dig into the codebase at some point but I'm just now learning Python so it might be a while.

Regards,
Luciano
--
You received this message because you are subscribed to the Google Groups "Beancount" group.


Responsible: blais
Reply all
Reply to author
Forward
0 new messages