here's the non-jni attempt: https://github.com/apmasell/treesitter4j there is a branch there with more work, but it doesn't look to me like this got to a working state.
ok. thanks!
ah, regarding using tree-sitter from clojure -- i did use it via libpython-clj and python bindings.
that's quite a lot of detouring though
here's a gist that might give a sense of things: https://gist.github.com/sogaiu/c0d668d050b63e298ef63549e357f9d2
that's basically some work trying to use test.check to test the grammar