-
Notifications
You must be signed in to change notification settings - Fork 1
/
ags.tmLanguage
92 lines (92 loc) · 2.33 KB
/
ags.tmLanguage
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>aea</string>
<string>ags</string>
</array>
<key>name</key>
<string>AGS Assembly</string>
<key>patterns</key>
<array>
<dict>
<key>comment</key>
<string>Comments</string>
<key>match</key>
<string>##.*</string>
<key>name</key>
<string>invalid.deprecated.ags_assembly</string>
</dict>
<dict>
<key>comment</key>
<string>Comments</string>
<key>match</key>
<string>#.*</string>
<key>name</key>
<string>comment.line.number-sign.ags_assembly</string>
</dict>
<dict>
<key>comment</key>
<string>Hacks</string>
<key>match</key>
<string>\bCHECKSUM.*$</string>
<key>name</key>
<string>invalid.illegal.ags_assembly</string>
</dict>
<dict>
<key>comment</key>
<string>Label</string>
<key>match</key>
<string>(^ ?[0-9A-Z\+\-\/\*\=\(\)\?\'\.\&\;]+\b)</string>
<key>name</key>
<string>variable.parameter.agc_assembly</string>
</dict>
<dict>
<key>comment</key>
<string>Constants</string>
<key>match</key>
<string>\s([0-9\-.EB]+)[\s]</string>
<key>name</key>
<string>constant.numeric.ags_assembly</string>
</dict>
<dict>
<key>comment</key>
<string>Directives</string>
<key>match</key>
<string>\b(ORG|EQU|BSS|BES|SYN|DEFINE|DEC|OCT|END)\b</string>
<key>name</key>
<string>keyword.other.ags_assembly</string>
</dict>
<dict>
<key>comment</key>
<string>Instructions</string>
<key>match</key>
<string>\b(ABS|ADD|ADZ|ALS|AXT|CLA|CLZ|COM|DLY|DVP|INP|LDQ|LLS|LRS|MPR|MPY|MPZ|OUT|STO|STQ|SUB|SUZ|TIX|TMI|TOV|TRA|TSQ)\b</string>
<key>name</key>
<string>keyword.control.ags_assembly</string>
</dict>
<dict>
<key>comment</key>
<string>Registers</string>
<key>match</key>
<string>\b(A|Q|INDEX)\b</string>
<key>name</key>
<string>variable.language.ags_assembly</string>
</dict>
<dict>
<key>comment</key>
<string>Operators</string>
<key>match</key>
<string>\+|\-|,</string>
<key>name</key>
<string>keyword.operator.ags_assembly</string>
</dict>
</array>
<key>scopeName</key>
<string>source.ags_assembly</string>
<key>uuid</key>
<string>ebcb89b7-fbf9-467d-90ec-7ab247800e0c</string>
</dict>
</plist>