Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
; Definition keywords
[
  (start_definition)
  (end_definition)
] @keyword

; Control flow - highlighted as keywords for prominence
(control_flow) @keyword.control

; I/O operations
(io) @function.builtin

; Operators - arithmetic, logic, stack manipulation
(operator) @operator

; Core builtins - defining words, memory, etc.
(core) @type

; Numbers - all subtypes
(character_literal) @constant.character
(hex_number) @constant.numeric
(binary_number) @constant.numeric
(octal_number) @constant.numeric
(float_number) @constant.numeric
(double_cell_number) @constant.numeric
(decimal_number) @constant.numeric

; Strings
(string) @string

; Comments - different types
(line_comment) @comment.line
(block_comment) @comment.block
(stack_effect) @comment.block.documentation

; User-defined words
(word) @function