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:
8
examples/simple.dql
Normal file
8
examples/simple.dql
Normal file
@@ -0,0 +1,8 @@
|
||||
# A simple block structure
|
||||
myquery {
|
||||
name
|
||||
age
|
||||
friend {
|
||||
name
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user