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,34 @@
[ (line_comment) (block_comment) ] @comment
(label_decl) @label
(string) @string
(instruction opcode: _ @function.call)
[ "pins" "x" "y" "null" "isr" "osr" "osre" "status" "pc" "exec" ] @constant.builtin
(wait_source [ "irq" "gpio" "pin" ] @constant.builtin)
(out_target "pindirs" @constant.builtin)
(set_target "pindirs" @constant.builtin)
(directive "pindirs" @attribute)
(condition [ "--" "!=" ] @operator)
(expression [ "+" "-" "*" "/" "|" "&" "^" "::" ] @operator)
(not) @operator
[ (optional) (irq_modifiers) ] @type.qualifier
[ "block" "noblock" "rel" ] @attribute
[ "iffull" "ifempty" ] @conditional
"public" @storageclass
(integer) @number
(directive (identifier) @variable)
(directive (symbol_def (identifier) @variable))
(value (identifier) @variable)
(directive directive: _ @preproc)

View file

@ -0,0 +1,15 @@
([
(line_comment)
(block_comment)
] @injection.content
(#set! injection.language "comment"))
((code_block
(code_block_language) @_language
(code_block_body) @injection.content)
(#eq? @_language "c-sdk")
(#set! injection.language "c"))
(code_block
(code_block_language) @injection.language
(code_block_body) @injection.content)