Re: Tree-sitter grammar for ixml

>>>>>	Norm Tovey-Walsh <norm@saxonica.com> wrote:


>> What bothered me a little bit is indentation convention of RelaxNG
>> compact, I implemented it to resemble all examples in the RelaxNG
>> tutorial, and most of the DocBook 5 RNC grammar. There are some edge
>> cases about `##` documentation annotation that I don't know how
>> to write the indentation rule:

> Maybe. Or maybe I just didn’nt hit “tab” in all the right places. The
> standard emacs mode for RELAX NG produces

> db.valign.enumeration =
>     ## Aligned on the bottom of the region
>     "bottom"
>     | 
>     ## Fooo
>     "middle"
>     |
>     ## Aligned on the top of the region
>     "top"

> which is probably what I *meant* to have in that file. Sorry for the
> confusion!

Oh, I just realized there is another rnc-mode on github other than the one from
GNU ELPA. The one I used from GNU ELPA is not usefully which is the reason
I made this one.

---
ldb

Received on Thursday, 24 August 2023 02:51:42 UTC