Run the following command to install the required NPM dependencies:
npm i
You can find Make commands in the Makefile in the root of the project.
Run the following command to build the parser:
make generate
Run the following command to install tree sitter:
make install
Run the following command to test that everything works:
make test
Note
If you use 🐳 Docker instead of 🦦 Podman, just replace podman-compose
with docker compose
in code examples below.
To build the image, run this command:
podman-compose build
To enter inside the container, run this command:
podman-compose run --rm app
You'll be able to run NPM commands inside of the container.
The Tree Sitter Textwire project is licensed under the MIT License