-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tags.scm
file
#59
Comments
I looked into To explain a bit, taking a look at one of the pages referenced in the issue you linked to, one can see:
Unlike most other tree-sitter grammars, tree-sitter-clojure (and a number of other comparable things for lisp-likes) doesn't yield parse trees with "higher level" constructs (e.g. function definitions). See here for background and rationale. The only types of things that end up in a parse tree are things like lists, vectors, and other "low level" constructs. Even function definitions are not represented in the tree (see link above for a discussion of that particular point, but it's an example of a more general issue). I'm not sure how aider uses
I think this makes it clear that, for at least tree-sitter-elisp, there is a reliance on the grammar providing some ability to recognize definitions (e.g. IIUC The third item (the one that is like I think it could be useful to try to ascertain how well aider works with Elisp (may be aider folks can be asked or you can test directly?). If it doesn't work that well, I would suspect that it's not going to work better for Clojure (since tree-sitter-clojure lacks things like If you still want to try get aider working with Clojure, the following are some things that might help (note: I suggest browsing the following items and thinking over an initial plan, mix and match, change ordering, etc. (you can revisit / revise later)):
May be there is something of use in the above (^^; I'm ok to discuss this further if you wish -- not sure how much and for how long, but we'll see as it goes. [1] It's |
Holy Jesus Moly Christ, I didn't expect all of this, thought that it is something that you guys left out because there's no use of it. Kind of implied it is somewhat easier to get into so I tried to be "falsely-humble" with the intention of making you guys implement it, haha. But with this god level type of reply I guess I have no choice but to stay. For the context, I was trying to dig into https://github.com/logseq/logseq/ and thought tools like aider and continue.dev would be really helpful for beginner to learn a new "strange" language and a complex codebase. I started to understand a bit and enjoy the language somewhat — and now wanting to speed up the process more — just to fingered out that it is not get supported by those tools is such a bummer. Anyway, with that being said, I guess I need some "departure time" to grasp all of this 🤣. Still unsure but I'll try to put in some "unneeded effort" and report back. Appreciate this a lot brother, very super-duper helpful — dude you probably spend a good portion of time writing all of that — it's just... wow... I'm still getting shocked. Man, thank you very much. 😘
|
Thanks for the additional context. If you decide to continue further, please feel free to reach out at that point. It's possible I might still be inclined to discuss more -- who knows what the future holds, right? As for adding a Perhaps you're ok with closing this particular issue for the moment then? Take care :) |
That makes totally sense, once again — many thanks. ❤️ |
I'm trying to add Clojure/CLJS support for Aider-AI/aider#373 and it requires this file. I don't know anything about Tree-sitter but do really want to help, so if you have some free time to bare it would be really helpful if you could provide some about instruction / direction, thank you!
The text was updated successfully, but these errors were encountered: