Changes in v3?

170 views
Skip to first unread message

Martin Michlmayr

unread,
Dec 15, 2022, 2:02:18 AM12/15/22
to bean...@googlegroups.com
Is there a list of changes in v3, in particular related to the file
format?

This is what I've been able to find so far:

# Syntax

* Single-character currency names are now supported
* Currency symbols now support a leading slash (/)
* Flags: Any of the A-Z characters are now supported, but have to be preceded by a single quote: 'A
* The limitation for currency names to be 24 characters long has been dropped (I think)

# Tools

* bean-check: new -a option to enable auto plugin

What else is there?
--
Martin Michlmayr
https://www.cyrius.com/

Metin Akat

unread,
Dec 15, 2022, 2:46:34 AM12/15/22
to bean...@googlegroups.com
I would also very much appreciate it if currencies are allowed to contain digits, as this is a practice on some stock exchanges. 

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/Y5rGcqrqYhccY4D8%40jirafa.cyrius.com.

Daniele Nicolodi

unread,
Dec 17, 2022, 7:57:23 AM12/17/22
to bean...@googlegroups.com
On 15/12/2022 08:46, Metin Akat wrote:
> I would also very much appreciate it if currencies are allowed to
> contain digits, as this is a practice on some stock exchanges.

Currencies are allowed to contain digits (and the following characters
'._-) but are restricted to start with an uppercase ascii letter and end
with an uppercase ascii letter or a digit.

https://github.com/beancount/beancount/blob/79da2f90d7c8d969b59359ede66c2b1cced8cffd/beancount/parser/lexer.l#L229-L231

Cheers,
Dan

Reply all
Reply to author
Forward
0 new messages