Re:How to Get Started with Tree-Sitter
by ninepoints on Sunday May 28, 2023 @06:15PM
(#36108303)
In what way is its documentation not useful? I did a project based on TreeSitter a year ago and the docs were perfectly clear and adequate, and I was up and running within half an hour or so
[ Parent
| on HN ]
For example the Query Syntax, I would like an example on how to find all function declarations and where in the code the function starts and end. As well as example data that such a query is supposed to return. And how to do it in the JavaScript/Web Tree-sitter binding =)