tree-sitter-ng icon indicating copy to clipboard operation
tree-sitter-ng copied to clipboard

Next generation Tree Sitter Java binding.

Results 42 tree-sitter-ng issues
Sort by recently updated
recently updated
newest added

how can i get the 'text' of a syntax node? For example, when i have got a syntax node which representing a method, how can i get the text of...

For some reason, 0 is used instead of the provided index in ```tree-sitter/src/main/c/org_treesitter_TSParser.c```: ``` JNIEXPORT jobject JNICALL Java_org_treesitter_TSParser_ts_1node_1named_1child (JNIEnv *env, jclass clz, jobject ts_node_object, jint index){ TSNode ts_node = ts_node_from_obj(env,...

A memory leak occurs during use, and the memory occupied by TSTree cannot be automatically used. TSTree's ptr and TSParser.ts_tree_delete are not exposed, and node memory cannot be manually released.

Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.10.3 to 5.11.0. Release notes Sourced from org.junit:junit-bom's releases. JUnit 5.11.0 = Platform 1.11.0 + Jupiter 5.11.0 + Vintage 5.11.0 See Release Notes. New Contributors @​pshevche made...

dependencies
java

Hi, I am trying to parse json string with an emoji character as it is given in the example. [https://github.com/bonede/tree-sitter-ng?tab=readme-ov-file#api-tour](url) `json = "[1, 😥]"` and when i am trying to...

When I create a native image of a project using use tree-sitter-ng, I get a runtime error in org.treesitter.utils.NativeUtils#loadLib. Is there any way to make this work?

**Describe the bug** The Javadoc `tree-sitter-0.23.0-javadoc.jar` published to Maven Central is in Chinese: ![Javadoc screenshot](https://github.com/user-attachments/assets/63edf579-e427-4626-8d93-4a955d97b9f0) **Expected behavior** Since the documentation is in English, the Javadoc should probably be generated in...

bug

Hello, I'm encountering an issue while running IntelliJ IDEA on Windows 7. The error message I'm seeing is: No core dump will be written. Minidumps are not enabled by default...

Scala parser core dumps on a simple example. I can see that there is a newer version of the Scala parser as well available. (The version currently used for scala...