-
Notifications
You must be signed in to change notification settings - Fork 17
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
refactor: decouple tree_sitter grammar #37
Conversation
Please rebase over latest |
Just |
Even a code name like |
Or |
It's a binding to |
So personally I would keep it. From the suggestions I like tree_sitter_wrapper best so far. |
Gonna rebase this evening. On run at the airport now. |
Have a nice trip. |
7c5fcdb
to
48ad7f1
Compare
Thanks! It wasn't clear from the comments reactions to me, the bindings name remained with the rebase. You have the veto on this. |
I know it's a common way to reduce typing, but do we really want to have First, Second, V likes to be more explicit. I think it helps readability to keep the longer name, even if it makes the lines a bit longer. |
@spytheman what about then |
I'd be ok with Not a fan of |
Yes but if anyone works in the project where is no typescript usage and but tree_sitter the brain should be able to make the connection. At least for my brain there's no issue with it. I tried to adapt and making it better but imo the last commit is a worsening. So we disagree here.
So this is a general dislike against Vs feature for selective imports |
I disagree about selective imports because it makes the code less understandable. Less explicit. All it is, is a way to "hide" where something came from, just to have shorter things to type. |
I am fine with that, and any other name, as long as the folder is not named It may seem pedantic, and petty, and I am sorry, but I really do not want to have any possibility of confusion with the tree sitter project itself. |
Btw, TypeScript and thus |
0171615
to
89a7ca1
Compare
d01a9af
to
5b48885
Compare
Brought it into a project structure that hopefully makes all of us happy. It hopefully fulfills everything in terms of decoupling, structuring and naming. The binding and grammar now both can reside in |
move binding p1: node type gen
This reverts commit b65e338.
5b48885
to
3ae7010
Compare
The PR detangles how we currently interact with tree_sitter.
While the latest state of the PR gives us one
tree_sitter_v
module for the api bindings and the grammar, those distinct features are still decoupled and self standing. This should make things more structured and straightforward to use and easier to test.Quicklinks if comparing the project trees in the github UI helps: