Hello,

tree-sitter is getting quite some attention as a parsing library suitable for being used for syntactic support in editors. So much that even Emacs will include support for it in the next major release. I was curious to try it out and I recently had a couple of very long train journeys...

I wrote a Beancount grammar for tree-sitter. It can be found here

https://github.com/dnicolodi/tree-sitter-beancount

It went through only limited testing and I never used tree-sitter before and I haven't used this grammar for anything real just yet. Therefore, if you decide to build something on top of it, expect some changes in the emitted syntax tree. In particular, I think I need to add names to some of the emitted nodes to make it really usable.

I would be happy to move this project to the beancount Github organization. Martin, can you arrange for a project to be created and to give me owner rights for it? Thank you!

Cheers,
Dan

--
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/3701d857-c91f-0313-e79f-90fc055a4174%40grinta.net.

Reply via email to