This grammar is for the GOD data serialization language, which is heavily derived from the Nix language, albeit without any programatic features. See the repo for more information.
You can build, test, parse, and highlight like so:
tree-sitter build
tree-sitter test
tree-sitter parse example/types.god
tree-sitter highlight example/package.godAnd if you'd like to install the grammar, you can use make or CMake:
# make
make
make test
make install # as root if needed
# cmake
cmake -B bld -DCMAKE_BUILD_TYPE=Release # add '-G Ninja' to use ninja
cmake --build bld
make -C bld ts-test # or 'ninja -C bld ts-test' if using ninja
cmake --install bld # as root if needed