Open unhammer opened 1 year ago
hi,
I am also curios how to add a grammar to this package? I developed a grammar for hledger timeclock and I would like to use it https://gitlab.com/ieugen/hledger-grammars/-/tree/main/tree-sitter-hledger-timeclock .
How can I do that?
I did not see any instructions. A guide with examples / video would be welcome.
Regards, Eugen
Is contributing discouraged? :)
What I'm really wondering is: Are npm-registry packages required for contributing languages? Ideally we could point at a github tarball release or even better at {parser,scanner}.cc,grammar.json files, and syntax-highlighter would compile them on build, similarly to what Emacs 29 does: https://github.com/emacs-mirror/emacs/blob/4e4a808eca8f68a8079272442aab0f8815abdaa8/lisp/treesit.el#L2776..L2811