treesitter test

This commit is contained in:
Greg Shuflin 2024-04-21 02:25:56 -07:00
parent 95e22567e7
commit 7bc92aef97
4 changed files with 42 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
target
node_modules/

View File

@ -0,0 +1,6 @@
module.exports = grammar({
name: "TestLang",
rules: {
source_file: $ => "hello"
}
});

View File

@ -0,0 +1,21 @@
{
"name": "tree-sitter-test",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "tree-sitter-test",
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"nan": "^2.19.0"
}
},
"node_modules/nan": {
"version": "2.19.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz",
"integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw=="
}
}
}

View File

@ -0,0 +1,14 @@
{
"name": "tree-sitter-test",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"nan": "^2.19.0"
}
}