-
Notifications
You must be signed in to change notification settings - Fork 0
/
oden.tmLanguage
111 lines (111 loc) · 2.56 KB
/
oden.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?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>oden</string>
</array>
<key>name</key>
<string>Oden</string>
<key>patterns</key>
<array>
<dict>
<key>comment</key>
<string>Keywords</string>
<key>match</key>
<string>\b(import|package)\b</string>
<key>name</key>
<string>keyword.other.oden</string>
</dict>
<dict>
<key>comment</key>
<string>Control</string>
<key>match</key>
<string>\b(let|in|if|then|else|any|fn)\b</string>
<key>name</key>
<string>keyword.control.oden</string>
</dict>
<dict>
<key>comment</key>
<string>Types</string>
<key>match</key>
<string>\b(int|string|bool)\b|#\w+</string>
<key>name</key>
<string>support.type.oden</string>
</dict>
<dict>
<key>comment</key>
<string>Numbers</string>
<key>match</key>
<string>(?<!\w)(\b(\d+)|(\d+(\.\d+)?(e[+-]?\d+)?)\b)</string>
<key>name</key>
<string>constant.numeric.oden</string>
</dict>
<dict>
<key>comment</key>
<string>Booleans</string>
<key>match</key>
<string>\b(true|false)\b</string>
<key>name</key>
<string>constant.language.oden</string>
</dict>
<dict>
<key>comment</key>
<string>Line comments</string>
<key>match</key>
<string>\/\/.*</string>
<key>name</key>
<string>comment.line.oden</string>
</dict>
<dict>
<key>begin</key>
<string>\/\*</string>
<key>comment</key>
<string>Block comments</string>
<key>end</key>
<string>\*\/</string>
<key>name</key>
<string>comment.block.oden</string>
</dict>
<dict>
<key>comment</key>
<string>Operators</string>
<key>match</key>
<string>([+\-*\/<>=!]|&&|::|\|\|)</string>
<key>name</key>
<string>keyword.operator.oden</string>
</dict>
<dict>
<key>begin</key>
<string>(\")</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.oden</string>
</dict>
</dict>
<key>comment</key>
<string>String</string>
<key>end</key>
<string>(\")</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.oden</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.double.oden</string>
</dict>
</array>
<key>scopeName</key>
<string>source.oden</string>
<key>uuid</key>
<string>34e52019-fd43-42bc-ba92-f091830827d4</string>
</dict>
</plist>