Initial commit: Tree-sitter grammar for Test Script

This commit is contained in:
2025-09-10 23:50:17 -04:00
commit 909bf1dfe8
139 changed files with 4993 additions and 0 deletions

32
binding.gyp Normal file
View File

@@ -0,0 +1,32 @@
{
"targets": [
{
"target_name": "tree_sitter_test_script_binding",
"include_dirs": [
"<!(node -e \"console.log(require('node-addon-api').include)\")",
"src"
],
"sources": [
"bindings/node/binding.cc",
"src/parser.c"
],
"conditions": [
["OS!='win'", {
"cflags_c": [
"-std=c99",
]
}]
],
"dependencies": [
"<!(node -e \"console.log(require('node-addon-api').gyp)\")"
],
"cflags": [
"-Wall",
"-Wextra"
],
"defines": [
"NAPI_DISABLE_CPP_EXCEPTIONS"
]
}
]
}