It's a tree-sitter parser for Teal
Teal is a typed dialect of Lua, get it here
There are a couple of things that occaisionally need to be done after updating the grammar or going to a new tree-sitter version.
The version number should be updated using semver. The tree-sitter version command should be run to update the version across all the bindings:
NOTE: this command is not yet available in tree-sitter (as of 11/2024, version: 0.24.0), so these files need to be updated manually.
Afterwards, a new git tag can be created and a release will be generated by the GHA publish workflow.
We're still figuring out the best way to do this, so some of the steps below may not be fully correct. It is best to check the tree-sitter changelog and see what bindings were updated and ensure the changes are reflected correctly.
Update via tree-sitter init --update command:
--update flag that should update the generated code accordingly.
Fully regenerate bindings:
bindingstree-sitter init to recreate the files.The GHA CI workflow will try and build for the various languages and will error out if there are any issues.
JavaScript
56.0%
C
18.0%
Tree-sitter Query
16.8%
CMake
9.2%
It's a tree-sitter parser for Teal
Teal is a typed dialect of Lua, get it here
There are a couple of things that occaisionally need to be done after updating the grammar or going to a new tree-sitter version.
The version number should be updated using semver. The tree-sitter version command should be run to update the version across all the bindings:
NOTE: this command is not yet available in tree-sitter (as of 11/2024, version: 0.24.0), so these files need to be updated manually.
Afterwards, a new git tag can be created and a release will be generated by the GHA publish workflow.
We're still figuring out the best way to do this, so some of the steps below may not be fully correct. It is best to check the tree-sitter changelog and see what bindings were updated and ensure the changes are reflected correctly.
Update via tree-sitter init --update command:
--update flag that should update the generated code accordingly.
Fully regenerate bindings:
bindingstree-sitter init to recreate the files.The GHA CI workflow will try and build for the various languages and will error out if there are any issues.
JavaScript
56.0%
C
18.0%
Tree-sitter Query
16.8%
CMake
9.2%