Initial tree-sitter grammar for Dgraph DQL
Skeleton grammar supporting blocks, comments, strings, numbers, and identifiers. Full DQL keyword support planned for Phase 2.
This commit is contained in:
18
package.json
Normal file
18
package.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "tree-sitter-dql",
|
||||
"version": "1.0.0",
|
||||
"description": "Tree-sitter grammar for Dgraph DQL",
|
||||
"main": "grammar.js",
|
||||
"scripts": {
|
||||
"generate": "tree-sitter generate",
|
||||
"parse-test": "tree-sitter parse examples/simple.dql",
|
||||
"test": "tree-sitter generate && tree-sitter parse examples/simple.dql"
|
||||
},
|
||||
"keywords": ["tree-sitter", "dgraph", "dql"],
|
||||
"author": "idchlife",
|
||||
"license": "MIT",
|
||||
"type": "commonjs",
|
||||
"devDependencies": {
|
||||
"tree-sitter-cli": "^0.26.5"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user