Kevin Schoon 9 months ago
10 commits
63ec8ac1 main
split up build steps
file commit size mode time
.gitignore split up build steps 38 B -rw-r--r-- 9 months ago
.gitmodules init 3.4 KiB -rw-r--r-- 11 months ago split up build steps 1.6 KiB -rw-r--r-- 9 months ago split up build steps 787 B -rwxr-xr-x 9 months ago
fixes.sed split up build steps 48 B -rw-r--r-- 9 months ago split up build steps 890 B -rwxr-xr-x 9 months ago
grammars.json split up build steps 2.1 KiB -rw-r--r-- 9 months ago
grammars bump submodules NaN B d--------- 9 months ago refactor build script 1 KiB -rwxr-xr-x 10 months ago split up build steps 2.4 KiB -rwxr-xr-x 9 months ago add installer script 95 B -rwxr-xr-x 11 months ago


All of the tree-sitter parsers imported as submodules and compiled for easy use by downstream projects. Each parser is exposed as a shared module that can be dynamically loaded in another application. Generated source code is also shipped for use in build scripts.


The best way to install this is via your package manager.

Known Distribution Packages


Manual Installation

sudo ./
# uninstall
sudo ./


You need to install ninja to build the project as well as an ANSI C compiler.

git submodule update --init --recursive
# generate tree-sitter parsers
# package all of the parsers into the target directory
# compile shared parser objects

Adding New Languages

# add a new submodule to the repository
cd grammars && git submodule add $your-tree-sitter-project
# edit the package adding your source module and adjust as needed
# regenerate the script
# rebuild the project


Suggested filesystem layout for package maintainers.







Kevin Schoon: 100%


Recent Activity (90 days) 0 10 20 30 40 50 60 70 80 90 Composition [179 LOC] Python JSON Shell Markdown 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%