feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent c13e28f894
commit 2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions

View file

@ -0,0 +1,5 @@
[
(object)
(array)
(assign_block)
] @fold

View file

@ -0,0 +1,22 @@
"let" @keyword
"in" @keyword
[
"{"
"}"
"["
"]"
] @punctuation.bracket
"." @punctuation.delimiter
(input) @constant
(comment) @comment
(string) @string
(integer) @number
(float) @float
(boolean) @boolean
(null) @keyword
(ERROR) @error

View file

@ -0,0 +1,14 @@
[
(assign_block "{")
(object)
(array)
] @indent.begin
(assign_block "}" @indent.branch)
(assign_block "}" @indent.end)
(object "}" @indent.branch)
(object "}" @indent.end)
(array "]" @indent.branch)
(array "]" @indent.end)

View file

@ -0,0 +1,16 @@
; scopes
[
(object)
(array)
] @scope
; definitions
(assign_block
(assignment
(input)
@definition.constant))
(value (input) @reference)