You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
More generally, how can I add another Tree-sitter grammar? Specifically I want to use GLSL. I see that you have forks of tree-sitter-java and the like, but there does not seem to be the source of the maven module. So how can I add my own grammar? Ideally without using maven
The text was updated successfully, but these errors were encountered:
The language_name must be the simple name of the language (i.e without the tree-sitter- prefix). This name is used to generate the shared library and the Gradle module. For example, if the language_name is abc :
Module tree-sitter-abc will be generated.
The name of the generated shared library will be libtree-sitter-abc.so.
Update the grammars.json file to include the newly added grammar.
Sync the project to generate the module for the grammar.
Also, make sure you read the prerequisites for building the project.
The README has been updated to include information about using/loading external grammars i.e. grammars that are not published to Maven Central along with this project.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
More generally, how can I add another Tree-sitter grammar? Specifically I want to use GLSL. I see that you have forks of tree-sitter-java and the like, but there does not seem to be the source of the maven module. So how can I add my own grammar? Ideally without using maven
The text was updated successfully, but these errors were encountered: