On 2024-02-15 06:29, fin wrote:
In terms of projects like beancount it is well worth having
the language defined and then using the right tools to
generate the parser for the language and then you can hang
the rest of your code off that.  I don't know what Rust might
have in terms of those kinds of tools, but they do exist for
other languages.  I'd hate to have to reinvent the wheel yet
again (I've written a lot of parsers/lexical analysers) if
the language for beancount is already well defined.

I expect Rust has very good parsing tools. Are the semantics of Beancount's journal format straightforward enough that those standard tools can be used ?

(For hledger and especially Ledger it's not the case, and custom parser code is needed.)

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/38216336-45c3-4ff4-9464-a60778d0032f%40joyful.com.

Reply via email to