Skip to content

wreedb/tree-sitter-god

Repository files navigation

Tree-sitter grammar for GOD

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.

Building/Testing

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.god

And 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

About

A tree-sitter grammar for God

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published