Hi,
I started a "big rewrite" of the beancount parser:
beancount_parser_2
It is now in alpha. Hopefully, I'll be able to stabilize it reasonably quickly (but there's no ETA)
This old implementation (
beancount-parser
) is now in "maintenance mode". I'll still fix reported bugs, and I'll review/merge submitted pull requests. But I won't actively implement new features on that version.The new implementation already has some features that the old one hasn't:
- line numbers of errors
- line numbers of directives
- more convenient to destructure the result because structs expose public fields
- can treat the account as string slices
- can use any decimal type when parsing (
f64
,rust_decimal::Decimal
, and more)- can catch more syntax errors (instead of silently ignoring unknown syntax)
- single result type (instead of an iterator over results)
- and more...
Though there are still many missing functionalities, you may want to have a look at it ;-)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
--
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/6e4eb19a-8de2-47c9-b57f-70b6c6f7b3adn%40googlegroups.com.