Ticket #1491: j.syntax

File j.syntax, 1.6 KB (added by jip, 15 years ago)

J syntax file

Line 
1# J syntax highlighting
2# Author: Igor Zhuravlov (|.'ur.ugvd.ciu@rogi')
3# Version: 2.1.0 2007-08-14
4
5context default
6
7    keyword assert. brightred
8    keyword break. brightred
9    keyword case. brightred
10    keyword catch. brightred
11    keyword catchd. brightred
12    keyword catcht. brightred
13    keyword continue. brightred
14    keyword do. brightred
15    keyword else. brightred
16    keyword elseif. brightred
17    keyword end. brightred
18    keyword fcase. brightred
19    keyword for. brightred
20    keyword for_\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]. brightred
21    keyword goto_\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]. brightred
22    keyword if. brightred
23    keyword label_\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]. brightred
24    keyword return. brightred
25    keyword select. brightred
26    keyword throw. brightred
27    keyword trap. brightred
28    keyword try. brightred
29    keyword while. brightred
30    keyword whilst. brightred
31
32    keyword NB. green
33
34    keyword \{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]\[\s\]=: white
35    keyword '\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\s\]'\[\s\]=: white
36
37context ' ' brightcyan
38#    spellcheck
39
40context exclusive linestart NB.\s\*\s \n brightgreen
41#    spellcheck
42
43context exclusive NB. \n green
44#    spellcheck