Initial commit

This commit is contained in:
2026-01-17 15:37:53 +01:00
commit ccd44c8172
31 changed files with 952 additions and 0 deletions

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

@@ -0,0 +1,15 @@
package tree_sitter_mc_test
import (
"testing"
tree_sitter "github.com/tree-sitter/go-tree-sitter"
tree_sitter_mc "git.matthunter.de/matth0930/tree-sitter-mc.git/bindings/go"
)
func TestCanLoadGrammar(t *testing.T) {
language := tree_sitter.NewLanguage(tree_sitter_mc.Language())
if language == nil {
t.Errorf("Error loading MC grammar")
}
}