5 Jul
2024
5 Jul
'24
1:36 p.m.
Am 05.07.24 um 12:33 schrieb Jethro Djan:
Hi,
I tried to write one some time ago but it seems my knowledge of ConTeXt was insufficient. I gave up. I also think it would be nice.
Well, obviously, Paul managed to do it: https://github.com/pmazaitis/tree-sitter-context
Maybe we could benefit from pre-converting the source file to an XML-like tree before applying the grammar? At which point you are venturing into LSP territory...
You know about the XML interface files? See texmf-context/tex/context/interface/mkiv/ Hraban