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

37
tree-sitter.json Normal file
View File

@@ -0,0 +1,37 @@
{
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/config.schema.json",
"grammars": [
{
"name": "test_script",
"camelcase": "TestScript",
"title": "Test Script",
"scope": "source.test_script",
"file-types": ["tst"],
"injection-regex": "^test[-_]?script$|^tst$",
"class-name": "TreeSitterTestScript"
}
],
"metadata": {
"version": "1.0.0",
"license": "MIT",
"description": "A Tree-sitter grammar for parsing Test Script language (nand2tetris)",
"authors": [
{
"name": "Sean O'Connor",
"email": "sean@soconnor.dev"
}
],
"links": {
"repository": "https://github.com/soconnor0919/nand2tetris-zed"
}
},
"bindings": {
"c": true,
"go": false,
"node": true,
"python": false,
"rust": true,
"swift": false,
"zig": false
}
}