summaryrefslogtreecommitdiffstats
path: root/misc/syntax/slang.syntax
blob: 088ea38010e61b57fc8bf67b6353aa9ceab545d9 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
context default
    keyword whole forever white
    keyword whole foreach white
    keyword whole using white
    keyword whole orelse white
    keyword whole andelse white
    keyword whole loop white
    keyword whole variable white
    keyword whole define white
    keyword whole break white
    keyword whole case white
    keyword whole continue white
    keyword whole do white
    keyword whole else white
    keyword whole for white
    keyword whole goto white
    keyword whole if white
    keyword whole !if white
    keyword whole return white
    keyword whole sizeof white
    keyword whole static white
    keyword whole struct white
    keyword whole switch white
    keyword whole typedef white
    keyword whole while white
    keyword whole typecast white
    keyword whole delete white
    keyword whole private white
    keyword whole protected white
    keyword whole public white
    keyword whole namespace white
    keyword whole implements white

    keyword whole EXIT_BLOCK white
    keyword whole ERROR_BLOCK white
    keyword whole EXECUTE_ERROR_BLOCK white

    keyword whole and white
    keyword whole or white
    keyword whole xor white


    keyword whole Char_Type yellow
    keyword whole UChar_Type yellow
    keyword whole Short_Type yellow
    keyword whole UShort_Type yellow
    keyword whole Integer_Type yellow
    keyword whole UInteger_Type yellow
    keyword whole Long_Type yellow
    keyword whole ULong_Type yellow
    keyword whole Float_Type yellow
    keyword whole Double_Type yellow
    keyword whole Complex_Type yellow
    keyword whole String_Type yellow
    keyword whole BString_Type yellow
    keyword whole Struct_Type yellow
    keyword whole Ref_Type yellow
    keyword whole Null_Type yellow
    keyword whole Array_Type yellow
    keyword whole DataType_Type yellow
    keyword whole Assoc_Type yellow

    keyword '\\\{"abtnvfr\}' brightgreen
    keyword '\\\{0123\}\{01234567\}\{01234567\}' brightgreen
    keyword '\\'' brightgreen
    keyword '\\\\' brightgreen
    keyword '\\0' brightgreen
    keyword '\{\s!"#$%&()\*\+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~������������������������������������������������������������������������������������������������\}' brightgreen

    keyword > white
    keyword < white
    keyword \+ white
    keyword - white
    keyword \* white
    keyword / white
    keyword = white
    keyword != white
    keyword == white
    keyword ; white
    keyword { brightcyan
    keyword } brightcyan
    keyword ( brightcyan
    keyword ) brightcyan
    keyword [ brightcyan
    keyword ] brightcyan
    keyword , brightcyan
    keyword : brightcyan
context % \n brown
    spellcheck
context linestart # \n brightred
    keyword \\\n yellow
    keyword /\**\*/ brown
    keyword "+" red
    keyword <+> red
context " " green
    spellcheck
    keyword \\" brightgreen
    keyword \\\n brightgreen
    keyword %% brightgreen
    keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightgreen
    keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diuxX\} brightgreen
    keyword %\[hl\]n brightgreen
    keyword %\[.\]\[0123456789\]s brightgreen
    keyword %[*] brightgreen
    keyword %c brightgreen
    keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
    keyword \\\\ brightgreen
    keyword \\' brightgreen
    keyword \\\{abtnvfr\} brightgreen