github-linguist 6.4.0 → 6.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/source.ats.json +17 -87
- data/lib/linguist/VERSION +1 -0
- data/lib/linguist/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe2ce0a3af9daffcbfc23425b04651ae700a8e2071aa6d366485ea127896a15f
|
4
|
+
data.tar.gz: 5b147a328cc81ebefc0a3472faa34110d0691b2ebe1cf8bbe05fef9d0c93f271
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cca1a80c68869834b130f303900e88110fde09b1691ac7f2df8dc49c0d0842922eba4689254f8401e3ac5995ba072ae7c2bfcaa222300ebcff4456cae200bcfa
|
7
|
+
data.tar.gz: 8dbdc7add88e41e2e12b03cc9d73a118379c5f1403f9ece0ac9e3f25a0c338dd50d10bd4cdfd345e22f1d0da3d0f438acfc336235798bc197c97ec894b5fefef
|
data/grammars/source.ats.json
CHANGED
@@ -2,12 +2,6 @@
|
|
2
2
|
"name": "ATS",
|
3
3
|
"scopeName": "source.ats",
|
4
4
|
"patterns": [
|
5
|
-
{
|
6
|
-
"include": "#quantifier_curly"
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"include": "#quantifier_square"
|
10
|
-
},
|
11
5
|
{
|
12
6
|
"include": "#block"
|
13
7
|
},
|
@@ -18,10 +12,7 @@
|
|
18
12
|
"include": "#comment_line"
|
19
13
|
},
|
20
14
|
{
|
21
|
-
"include": "#
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"include": "#comment_block_sml"
|
15
|
+
"include": "#comment_block"
|
25
16
|
},
|
26
17
|
{
|
27
18
|
"include": "#embed"
|
@@ -30,13 +21,13 @@
|
|
30
21
|
"include": "#operators"
|
31
22
|
},
|
32
23
|
{
|
33
|
-
"include": "#
|
24
|
+
"include": "#quantifier_curly"
|
34
25
|
},
|
35
26
|
{
|
36
|
-
"include": "#
|
27
|
+
"include": "#quantifier_square"
|
37
28
|
},
|
38
29
|
{
|
39
|
-
"include": "#
|
30
|
+
"include": "#quantifier_arrow"
|
40
31
|
},
|
41
32
|
{
|
42
33
|
"include": "#keywords"
|
@@ -44,9 +35,6 @@
|
|
44
35
|
{
|
45
36
|
"include": "#keywords_types"
|
46
37
|
},
|
47
|
-
{
|
48
|
-
"include": "#false_true"
|
49
|
-
},
|
50
38
|
{
|
51
39
|
"include": "#string"
|
52
40
|
},
|
@@ -61,16 +49,12 @@
|
|
61
49
|
},
|
62
50
|
{
|
63
51
|
"include": "#number"
|
64
|
-
},
|
65
|
-
{
|
66
|
-
"include": "#identifier"
|
67
52
|
}
|
68
53
|
],
|
69
54
|
"repository": {
|
70
55
|
"block": {
|
71
|
-
"
|
72
|
-
"
|
73
|
-
"end": "\\}",
|
56
|
+
"begin": "(?\u003c=where|=|^|then|else|\\$rec|\\$rec_t|\\$rec_vt)(?:\\s*){",
|
57
|
+
"end": "}",
|
74
58
|
"patterns": [
|
75
59
|
{
|
76
60
|
"include": "$self"
|
@@ -82,19 +66,13 @@
|
|
82
66
|
"name": "string.quoted.double",
|
83
67
|
"match": "(')([^\\\\]{0,1}|\\\\(\\\\|[abefpnrtv'\"?]|[0-3]\\d{0,2}|[4-7]\\d?|x[a-fA-F0-9]{0,2}|u[a-fA-F0-9]{0,4}|U[a-fA-F0-9]{0,8}))(')"
|
84
68
|
},
|
85
|
-
"
|
86
|
-
"name": "comment.block",
|
87
|
-
"begin": "/\\*",
|
88
|
-
"end": "\\*/",
|
89
|
-
"applyEndPatternLast": true
|
90
|
-
},
|
91
|
-
"comment_block_sml": {
|
69
|
+
"comment_block": {
|
92
70
|
"name": "comment.block",
|
93
71
|
"begin": "\\(\\*",
|
94
72
|
"end": "\\*\\)",
|
95
73
|
"patterns": [
|
96
74
|
{
|
97
|
-
"include": "#
|
75
|
+
"include": "#comment_block"
|
98
76
|
}
|
99
77
|
],
|
100
78
|
"applyEndPatternLast": true
|
@@ -104,7 +82,7 @@
|
|
104
82
|
"match": "//.*$"
|
105
83
|
},
|
106
84
|
"comment_rest": {
|
107
|
-
"name": "comment
|
85
|
+
"name": "comment",
|
108
86
|
"begin": "////",
|
109
87
|
"end": ".\\z",
|
110
88
|
"patterns": [
|
@@ -114,66 +92,18 @@
|
|
114
92
|
],
|
115
93
|
"applyEndPatternLast": true
|
116
94
|
},
|
117
|
-
"definition_function": {
|
118
|
-
"name": "meta.function-definition",
|
119
|
-
"begin": "\\b(?:castfn|fn|fun|implement|implmnt|infixl|infixr|infix|overload|postfix|praxi|prfn|prfun|primplement|primplmnt|var)\\b",
|
120
|
-
"end": "\\b[a-zA-Z][a-zA-Z0-9_']*\\b",
|
121
|
-
"patterns": [
|
122
|
-
{
|
123
|
-
"include": "$self"
|
124
|
-
}
|
125
|
-
],
|
126
|
-
"beginCaptures": {
|
127
|
-
"0": {
|
128
|
-
"name": "keyword"
|
129
|
-
}
|
130
|
-
},
|
131
|
-
"endCaptures": {
|
132
|
-
"0": {
|
133
|
-
"name": "entity.name.function"
|
134
|
-
}
|
135
|
-
}
|
136
|
-
},
|
137
|
-
"definition_type": {
|
138
|
-
"name": "meta.type-definition",
|
139
|
-
"begin": "\\b(abstype|abst@ype|abst0pe|absvtype|absvt@ype|absvt0pe|absviewtype|absviewt@ype|absviewt0pe|absview|absprop|datatype|datavtype|dataviewtype|dataview|dataprop|datasort|sortdef|propdef|viewdef|viewtypedef|vtypedef|stadef|stacst|typedef)\\b",
|
140
|
-
"end": "\\b[a-zA-Z][a-zA-Z0-9_']*\\b",
|
141
|
-
"patterns": [
|
142
|
-
{
|
143
|
-
"include": "$self"
|
144
|
-
}
|
145
|
-
],
|
146
|
-
"beginCaptures": {
|
147
|
-
"0": {
|
148
|
-
"name": "keyword"
|
149
|
-
}
|
150
|
-
},
|
151
|
-
"endCaptures": {
|
152
|
-
"0": {
|
153
|
-
"name": "entity.name.type storage.type"
|
154
|
-
}
|
155
|
-
}
|
156
|
-
},
|
157
95
|
"embed": {
|
158
96
|
"name": "meta",
|
159
97
|
"begin": "(%{)",
|
160
98
|
"end": "(%})"
|
161
99
|
},
|
162
|
-
"false_true": {
|
163
|
-
"name": "constant.language.boolean",
|
164
|
-
"match": "\\b(?:false|true)\\b"
|
165
|
-
},
|
166
|
-
"identifier": {
|
167
|
-
"name": "identifier",
|
168
|
-
"match": "\\b[a-zA-Z][a-zA-Z0-9_']*\\b"
|
169
|
-
},
|
170
100
|
"keywords": {
|
171
101
|
"name": "keyword",
|
172
|
-
"match": "(\\#|\\$)(\\w+)|\\b(castfn|and|andalso|assume|as|begin|break|case(\\+|-)?|class|continue|dynload|dyn|else|end|exception|extern|fix|fn|for|fun|if|implement|implmnt|primplement|primplmnt|infixl|infixr|infix|in|lam|let|llam|local|macdef|macrodef|method|modprop|modtype|module|nonfix|object|of|op|or|orelse|overload|par|postfix|praxi|prefix|prfn|prfun|prval|rec|
|
102
|
+
"match": "(\\#|\\$)(\\w+)|\\b(castfn|and|andalso|assume|as|begin|break|case(\\+|-)?|class|continue|dynload|dyn|else|end|exception|extern|fix|fn|for|fun|if|implement|implmnt|primplement|primplmnt|infixl|infixr|infix|in|lam|let|llam|local|macdef|macrodef|method|modprop|modtype|module|nonfix|object|of|op|or|orelse|overload|par|postfix|praxi|prefix|prfn|prfun|prval|rec|sif|staif|staload|stavar|sta|struct|symelim|symintr|then|try|union|val(\\+|-)?|var|when|where|while|withprop|withtype|withviewtype|withview|with)\\b"
|
173
103
|
},
|
174
104
|
"keywords_types": {
|
175
105
|
"name": "keyword",
|
176
|
-
"match": "(\\#|\\$)(\\w+)|\\b(abstype|abst@ype|abst0pe|absvtype|absvt@ype|absvt0pe|absviewtype|absviewt@ype|absviewt0pe|absview|absprop|datatype|datavtype|dataviewtype|dataview|dataprop|datasort|sortdef|propdef|viewdef|viewtypedef|vtypedef|stadef|typedef)\\b"
|
106
|
+
"match": "(\\#|\\$)(\\w+)|\\b(abstype|abst@ype|abst0pe|absvtype|absvt@ype|absvt0pe|absviewtype|absviewt@ype|absviewt0pe|absview|absprop|datatype|datavtype|dataviewtype|dataview|dataprop|datasort|sortdef|propdef|viewdef|viewtypedef|vtypedef|stadef|typedef|)\\b"
|
177
107
|
},
|
178
108
|
"number": {
|
179
109
|
"name": "constant.numeric",
|
@@ -189,14 +119,14 @@
|
|
189
119
|
"end": "\u003e"
|
190
120
|
},
|
191
121
|
"quantifier_curly": {
|
192
|
-
"name": "support.type
|
193
|
-
"begin": "
|
194
|
-
"end": "
|
122
|
+
"name": "support.type",
|
123
|
+
"begin": "({)",
|
124
|
+
"end": "(})"
|
195
125
|
},
|
196
126
|
"quantifier_square": {
|
197
|
-
"name": "support.type
|
198
|
-
"begin": "\\[
|
199
|
-
"end": "\\]"
|
127
|
+
"name": "support.type",
|
128
|
+
"begin": "(\\[)",
|
129
|
+
"end": "(\\])"
|
200
130
|
},
|
201
131
|
"records": {
|
202
132
|
"begin": "('|@)({)",
|
@@ -0,0 +1 @@
|
|
1
|
+
6.4.1
|
data/lib/linguist/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-linguist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.4.
|
4
|
+
version: 6.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|
@@ -674,6 +674,7 @@ files:
|
|
674
674
|
- grammars/text.xml.xsl.json
|
675
675
|
- grammars/text.zone_file.json
|
676
676
|
- lib/linguist.rb
|
677
|
+
- lib/linguist/VERSION
|
677
678
|
- lib/linguist/blob.rb
|
678
679
|
- lib/linguist/blob_helper.rb
|
679
680
|
- lib/linguist/classifier.rb
|