Run the following command to install the required NPM dependencies:
npm iYou can find Make commands in the Makefile in the root of the project.
Run the following command to build the parser:
make generateRun the following command to install tree sitter:
make installRun the following command to test that everything works:
make testTo build the image, run this command.
With Podman:
podman-compose buildWith Docker:
docker compose buildRun this command to install npm packages and generate a node_modules directory on your local machine.
With Podman:
podman-compose run --rm app npm iWith Docker:
docker compose run --rm app npm iTo enter inside the container, run this command.
With Podman:
podman-compose run --rm appWith Docker:
docker compose run --rm appYou'll be able to run NPM commands inside of the container.
The Tree Sitter Textwire project is licensed under the MIT License