Debian Codegraph @

runtime/queries/forth/highlights.scm

raw symbols SCIP
1 ; Definition keywords
2 [
3 (start_definition)
4 (end_definition)
5 ] @keyword
6
7 ; Control flow - highlighted as keywords for prominence
8 (control_flow) @keyword.control
9
10 ; I/O operations
11 (io) @function.builtin
12
13 ; Operators - arithmetic, logic, stack manipulation
14 (operator) @operator
15
16 ; Core builtins - defining words, memory, etc.
17 (core) @type
18
19 ; Numbers - all subtypes
20 (character_literal) @constant.character
21 (hex_number) @constant.numeric
22 (binary_number) @constant.numeric
23 (octal_number) @constant.numeric
24 (float_number) @constant.numeric
25 (double_cell_number) @constant.numeric
26 (decimal_number) @constant.numeric
27
28 ; Strings
29 (string) @string
30
31 ; Comments - different types
32 (line_comment) @comment.line
33 (block_comment) @comment.block
34 (stack_effect) @comment.block.documentation
35
36 ; User-defined words
37 (word) @function