summaryrefslogtreecommitdiffstats
path: root/misc/syntax/j.syntax
blob: 1a4a1e7777bc3b0fd5037dfb6fead48c97e468b4 (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
# J syntax highlighting

context default

    keyword assert. brightred
    keyword break. brightred
    keyword case. brightred
    keyword catch. brightred
    keyword catchd. brightred
    keyword catcht. brightred
    keyword continue. brightred
    keyword do. brightred
    keyword else. brightred
    keyword elseif. brightred
    keyword end. brightred
    keyword fcase. brightred
    keyword for. brightred
    keyword for_\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]. brightred
    keyword goto_\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]. brightred
    keyword if. brightred
    keyword label_\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]. brightred
    keyword return. brightred
    keyword select. brightred
    keyword throw. brightred
    keyword trap. brightred
    keyword try. brightred
    keyword while. brightred
    keyword whilst. brightred

    keyword NB. green

    keyword \{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]\[\s\]=: white
    keyword '\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\s\]'\[\s\]=: white

context ' ' brightcyan
#    spellcheck

context exclusive linestart NB.\s\*\s \n brightgreen
#    spellcheck

context exclusive NB. \n green
#    spellcheck