feat: enable go & python bindings

This commit is contained in:
ObserverOfTime
2025-05-16 19:20:03 +03:00
parent 28e327cd3f
commit dffd961034
12 changed files with 231 additions and 9 deletions

15
bindings/go/binding_test.go generated Normal file
View File

@@ -0,0 +1,15 @@
package tree_sitter_hcl_test
import (
"testing"
tree_sitter "github.com/tree-sitter/go-tree-sitter"
tree_sitter_hcl "github.com/tree-sitter-grammars/tree-sitter-hcl/bindings/go"
)
func TestCanLoadGrammar(t *testing.T) {
language := tree_sitter.NewLanguage(tree_sitter_hcl.Language())
if language == nil {
t.Errorf("Error loading HCL grammar")
}
}