tree sitter update

This commit is contained in:
ProgramSnail 2024-09-19 20:46:15 +03:00
parent c0377d1a1b
commit aaabbb5d6a
22 changed files with 505 additions and 45 deletions

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

@ -0,0 +1,13 @@
package tree_sitter_lang
// #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_lang())
}