Java bindings to the Tree-sitter parsing library
  • Java 89.1%
  • Shell 6%
  • PowerShell 4.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-16 14:20:17 +02:00
.github ci(deploy): use bc signer for gpg 2026-11-10 19:12:13 +02:00
core@3fb7be4914 build: bump core to 0.27 2026-11-10 17:44:23 +02:00
scripts build: bump core to 0.27 2026-11-10 17:44:23 +02:00
src refactor(node): include tree address in hash computation 2026-11-16 14:20:17 +02:00
.editorconfig build: patch tree-sitter library lookup 2024-12-05 21:03:51 +02:00
.gitattributes build: patch tree-sitter library lookup 2024-12-05 21:03:51 +02:00
.gitignore feat(node): expose associated tree 2024-08-25 15:04:24 +03:00
.gitmodules build: bump core to 0.27 2026-11-10 17:44:23 +02:00
LICENSE feat: initial commit 2024-06-23 23:05:00 +03:00
pom.xml build: switch back to official publishing plugin 2026-11-10 19:26:49 +02:00
README.md feat!: raise minimum JRE version to 23 2025-12-13 18:00:49 +02:00
spotbugs-exclude.xml feat: initial commit 2024-06-23 23:05:00 +03:00

Java Tree-sitter

CI central docs

Java bindings to the tree-sitter parsing library.

Building

  • Install JDK 23+ and set JAVA_HOME to it
  • Download jextract and add it to your PATH
  • Install the tree-sitter & tree-sitter-java libraries
git clone https://github.com/tree-sitter/java-tree-sitter
cd java-tree-sitter
git submodule update --init
mvn test

Alternatives

These alternatives support older JDK versions or Android: