Daniele Nicolodi <[email protected]> writes:

> I am not aware of any Emacs Lisp implementation of a parse and writer,
> but we have beancount-mode
> https://github.com/beancount/beancount-mode/ which uses the usual
> regexp based approach to implement a Beancount major mode. The regexps
> and functions in beancount.el are usually enough for implementing the
> kind of ledger editing functions I need.

Yes, I am of course already leaning heavily on those functions and
regexps!  No need to re-invent those.

However it seems I keep re-inventing little one-off editing functions on
top of those.  I imagine we all are(?).  Which was why I thought it
might be generally useful to others to publish something.

> I have a tree-sitter Beancount parser that AFAIK is complete and
> validating (contrary to other tree-sitter Beancount parsers I've seen,
> it correctly uses indentation to distinguish syntactical elements) but
> I haven't used it for anything other than playing around yet.

I did come across that, nice work!  I guess I had assumed because you
weren't using it for anything that it wasn't complete.  At least now
there will be another breadcrumb here on the mailing list for the next
person to find later.

-- 
Cheers,
TRS-80

-- 
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/87plqyhoql.fsf%40isnotmyreal.name.

Reply via email to