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:
2026-02-04 15:17:47 +03:00
commit f249538fdd
13 changed files with 1623 additions and 0 deletions

8
examples/simple.dql Normal file
View File

@@ -0,0 +1,8 @@
# A simple block structure
myquery {
name
age
friend {
name
}
}