tree-sitter / tree-sitter/node-tree-sitter
Support for all query predicates supported by "official" tree sitter queries
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 876
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
"Official" tag queries, e.g. https://github.com/tree-sitter/tree-sitter-javascript/blob/master/queries/tags.scm, use a few predicates that are not supported by this library. e.g. #select-adjacent!, #strip!, #not-match?, it would be nice to support them.
Supporting custom query predicates, implemented in JS, can also be helpful.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the predicates used in tree-sitter-javascript's queries/tags.scm with the predicates supported by this Node.js binding. Determine the API and scope needed for #select-adjacent!, #strip!, #not-match?, and custom JavaScript predicates; done means the supported official predicates work and the custom-predicate behavior is defined and tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- devtools, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100