The D bindings for tree-sitter, a library for incremental parsing.
You need to have either cmake or meson installed and have it on the path. This is required for building the C library. Then just run:
dub build
To set up a reproducible build environment, you can run setup-cpp with --llvm=13.0.0
, --cmake=true
, --ninja=true
, and --vcvarsall=true
. This will set up LLVM 13.0.0 and the proper environment variables.
import d_tree_sitter;
See the documentation for the API here:
Copyright © 2021, Amin Yahyaabadi
Licensed under the Apache-2.0 License.