aboutsummaryrefslogtreecommitdiffstats
path: root/atk16-syntax/syntaxes/atk16.tmLanguage.json
blob: b12f59691863eaec921343b80d3f5c4330aa14ff (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
  "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
  "name": "ATK16",
  "patterns": [
    {
      "name": "comment.documentation.atk16",
      "match": ";;;.*"
    },
    {
      "name": "comment.line.semicolon.atk16",
      "match": ";.*"
    },
    {
      "name": "keyword.control.directive.atk16",
      "match": "^@\\w+"
    },
    {
      "name": "variable.other.register.atk16",
      "match": "R\\w+"
    },
    {
      "name": "constant.numeric.hex.atk16",
      "match": "0x[0-9a-fA-F]+"
    },
    {
      "name": "constant.numeric.binary.atk16",
      "match": "0b[01]+"
    },
    {
      "name": "constant.numeric.decimal.atk16",
      "match": "[0-9]+"
    },
    {
      "name": "entity.name.function.atk16",
      "match": "\\w+(?=\\s*\\()"
    },
    {
      "name": "entity.name.label.atk16",
      "match": "\\w+(?=\\s*:)"
    },
    {
      "name": "keyword.control.instruction.atk16",
      "match": "^\\s+[a-zA-Z]+"
    },
    {
      "name": "constant.language.flag.atk16",
      "match": "\\b(carry|overflow|zero|sign)\\b"
    }
  ],
  "repository": {},
  "scopeName": "source.atk16"
}