TreeRex / rnc-mode

Emacs major mode for editing RELAX-NG Compact syntax
8 stars 1 forks source link

merge with other rnc-mode.el ? #8

Open VladimirAlexiev opened 4 years ago

VladimirAlexiev commented 4 years ago

There are 2 other similar modes in github:

I haven't compared them but the signature is the same. I don't know whether those are the same as this code, or whether they are better in any way. Perhaps it's worth comparing and/or merging.

LdBeth commented 1 year ago

The other two by Stefan Monnier are both from the same gnu elpa, which is incomplete in implementation and not usable besides very basic RelaxNG syntax.

I was not aware of this one until Norman Walsh the author of DocBook rnc files told me he uses the "default emacs one" which I presume should be better than that gnu elpa's, so I made a tree sitter version only slightly based on Stefan's code, but a lot better than his, and even better than this one. I wrote an email to Stefan about merging his code but did not get response.

https://github.com/LdBeth/tree-sitter-rnc

Please let me know if interested in merging this one with my tree sitter version.