First commit

This commit is contained in:
Ella Dunbar 2025-10-18 16:58:19 -05:00
commit 9392139a9c
47 changed files with 9107 additions and 0 deletions

13
bindings/go/binding.go generated Normal file
View file

@ -0,0 +1,13 @@
package tree_sitter_your_language_name
// #cgo CFLAGS: -std=c11 -fPIC
// #include "../../src/parser.c"
// // NOTE: if your language has an external scanner, add it here.
import "C"
import "unsafe"
// Get the tree-sitter Language for this grammar.
func Language() unsafe.Pointer {
return unsafe.Pointer(C.tree_sitter_your_language_name())
}