Danny Freeman
Danny Freeman
I'm going to attempt to have these tests pulled into the repo in a way that preserves the history and contributors. I think I should be able to do something...
Yeah we're going to have to add something similar to janet-ts-mode. Once semantic indentation is in I think I would like to consolidate some of the regular expressions and add...
To elaborate more, there really isn't a way to extend the grammar without creating new tree-sitter binaries. Supporting things like fancy macros will best be done in emacs-lisp, or whatever...
> I think it would definitely make sense to document some of those design decisions and limitations, so it's easier for the end users to understand why certain things were...
> It's not clear to me with the above approach whether one will be able to tell apart a use of (def a 1) from code that constructs a list...
> I'd focus first on the more common cases (provide accurate indentation the known Clojure special forms and built-in macros that do something with code) and not fret too much...
> Thanks for the detailed explanations from both of you. Now I understand the situation a lot better. I think it would definitely make sense to document some of those...
Added. The named vs anonymous nodes were useful to describe as well.
Great catches, I fixed that up. Thank you :)
I'd prefer to keep everything in the same clojure-ts-mode.el file right now, as that is the convention in the Emacs community for these tree-sitter major modes. However, I think the...