Skip to content

The tree-sitter parser for Textwire, dynamic templating and scripting language for Go. Ideal for embedding dynamic content with Go applications

License

Notifications You must be signed in to change notification settings

textwire/tree-sitter-textwire

Repository files navigation

Tree Sitter Parser for Textwire

NPM Commands

Install Dependencies

Run the following command to install the required NPM dependencies:

npm i

Available Make Commands

You can find Make commands in the Makefile in the root of the project.

Build the parser

Run the following command to build the parser:

make generate

Install / Setup tree sitter

Run the following command to install tree sitter:

make install

Test that everything works

Run the following command to test that everything works:

make test

Contribute

With a Container Engine

Note

If you use 🐳 Docker instead of 🦦 Podman, just replace podman-compose with docker compose in code examples below.

Build the Image

To build the image, run this command:

podman-compose build

Enter the Container

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.

License

The Tree Sitter Textwire project is licensed under the MIT License

About

The tree-sitter parser for Textwire, dynamic templating and scripting language for Go. Ideal for embedding dynamic content with Go applications

Topics

Resources

License

Stars

Watchers

Forks