github-linguist 7.7.0 → 7.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/hidden.manref.json +1 -1
- data/grammars/source.4dm.json +1029 -0
- data/grammars/source.agda.json +32 -202
- data/grammars/source.clarion.json +6 -6
- data/grammars/source.dircolors.json +101 -3
- data/grammars/source.editorconfig.json +23 -5
- data/grammars/source.elm.json +1 -1
- data/grammars/source.emacs.lisp.json +10 -0
- data/grammars/source.faust.json +119 -0
- data/grammars/source.gcode.json +170 -8
- data/grammars/source.hlsl.json +9 -5
- data/grammars/source.hx.json +4 -0
- data/grammars/source.igor.json +44 -0
- data/grammars/source.julia.json +8 -4
- data/grammars/source.mcfunction-snapshot.json +1 -1
- data/grammars/source.meson.json +1 -1
- data/grammars/source.odin-ehr.json +806 -0
- data/grammars/source.odin.json +402 -0
- data/grammars/source.p4.json +5 -21
- data/grammars/source.scala.json +27 -3
- data/grammars/source.sy.json +2088 -183
- data/grammars/source.terraform.json +576 -132
- data/grammars/source.ts.json +89 -30
- data/grammars/source.tsx.json +89 -30
- data/grammars/source.v.json +541 -788
- data/grammars/source.viml.json +2 -2
- data/grammars/source.webassembly.json +10 -0
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/generated.rb +10 -1
- data/lib/linguist/heuristics.yml +41 -3
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +117 -34
- data/lib/linguist/lazy_blob.rb +10 -10
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +6577 -1979
- data/lib/linguist/vendor.yml +3 -0
- metadata +6 -6
- data/grammars/source.LS.json +0 -85
- data/grammars/source.MCPOST.json +0 -54
- data/grammars/source.MOD.json +0 -55
- data/grammars/source.apt.json +0 -18
data/lib/linguist/vendor.yml
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: 7.
|
4
|
+
version: 7.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|
@@ -254,9 +254,7 @@ files:
|
|
254
254
|
- grammars/markdown.haxe.codeblock.json
|
255
255
|
- grammars/markdown.hxml.codeblock.json
|
256
256
|
- grammars/objdump.x86asm.json
|
257
|
-
- grammars/source.
|
258
|
-
- grammars/source.MCPOST.json
|
259
|
-
- grammars/source.MOD.json
|
257
|
+
- grammars/source.4dm.json
|
260
258
|
- grammars/source.SASLog.json
|
261
259
|
- grammars/source.abap.json
|
262
260
|
- grammars/source.abl.json
|
@@ -276,7 +274,6 @@ files:
|
|
276
274
|
- grammars/source.apache-config.mod_perl.json
|
277
275
|
- grammars/source.apl.json
|
278
276
|
- grammars/source.applescript.json
|
279
|
-
- grammars/source.apt.json
|
280
277
|
- grammars/source.asn.json
|
281
278
|
- grammars/source.asp.json
|
282
279
|
- grammars/source.aspectj.json
|
@@ -366,6 +363,7 @@ files:
|
|
366
363
|
- grammars/source.factor.json
|
367
364
|
- grammars/source.fan.json
|
368
365
|
- grammars/source.fancy.json
|
366
|
+
- grammars/source.faust.json
|
369
367
|
- grammars/source.figctrl.json
|
370
368
|
- grammars/source.figfont.json
|
371
369
|
- grammars/source.firestore.json
|
@@ -527,6 +525,8 @@ files:
|
|
527
525
|
- grammars/source.ocaml.json
|
528
526
|
- grammars/source.ocamllex.json
|
529
527
|
- grammars/source.ocamlyacc.json
|
528
|
+
- grammars/source.odin-ehr.json
|
529
|
+
- grammars/source.odin.json
|
530
530
|
- grammars/source.ooc.json
|
531
531
|
- grammars/source.opa.json
|
532
532
|
- grammars/source.opal.json
|
data/grammars/source.LS.json
DELETED
@@ -1,85 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "Fanuc (Ls)",
|
3
|
-
"scopeName": "source.LS",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "support.constant.LS",
|
7
|
-
"match": "((CNT|ACC)([A-Za-z0-9_]+))|(FINE)",
|
8
|
-
"captures": {
|
9
|
-
"1": {
|
10
|
-
"name": "support.constant.LS"
|
11
|
-
}
|
12
|
-
}
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"name": "support.constant.LS",
|
16
|
-
"match": "([0-9]+)(:)(C|J|L|\\s)",
|
17
|
-
"captures": {
|
18
|
-
"1": {
|
19
|
-
"name": "keyword.constant.LS"
|
20
|
-
}
|
21
|
-
}
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"name": "keyword.LS",
|
25
|
-
"match": "(GP)([0-9]+)(:)"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"name": "keyword.LS",
|
29
|
-
"match": "(mm/sec|mm|deg|MNEDITOR)"
|
30
|
-
},
|
31
|
-
{
|
32
|
-
"name": "constant.numeric.LS",
|
33
|
-
"match": "((-)?(\\d+)((.|,)\\d)?(%)?)"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"name": "entity.name.function.LS",
|
37
|
-
"begin": "(P)(\\[)([0-9]+)",
|
38
|
-
"end": "(\\])",
|
39
|
-
"beginCaptures": {
|
40
|
-
"1": {
|
41
|
-
"name": "entity.name.function.LS"
|
42
|
-
},
|
43
|
-
"3": {
|
44
|
-
"name": "variable.parameter.LS"
|
45
|
-
}
|
46
|
-
}
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"name": "comment.number-sign.LS",
|
50
|
-
"match": "(!.*$)"
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"name": "support.variable.LS",
|
54
|
-
"match": "\\s(READ_WRITE)"
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"name": "support.variable.LS",
|
58
|
-
"match": "\\s?(UFRAME_NUM|UTOOL_NUM|CONFIG|CONTROL_CODE|DEFAULT_GROUP|PAUSE_REQUEST|ABORT_REQUEST|BUSY_LAMP_OFF|TIME_SLICE|TASK_PRIORITY|STACK_SIZE|PROTECT|MEMORY_SIZE|LINE_COUNT|VERSION|FILE_NAME|MODIFIED|CREATE|PROG_SIZE|COMMENT|OWNER)\\s"
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"name": "support.variable.LS",
|
62
|
-
"match": "\\s?(X|Y|Z|W|P|R|J1|J2|J3|J4|J5|J6|UF|UT)\\s"
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"name": "keyword.LS",
|
66
|
-
"match": "\\s(ABORT|Assignment|CANCEL|CONTINUE|DISABLE|ENABLE|HOLD|NOABORT|NOMESSAGE|NOPAUSE|PAUSE|Port_Id|PULSE|RESUME|SIGNAL|EVENT|SEMAPHORE|STOP|UNHOLD|UNPAUSE)\\s"
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"name": "keyword.LS",
|
70
|
-
"match": "\\s(EVAL|FROM|IN|NOWAIT|UNTIL|VIA|WHEN|WITH)\\s"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"name": "entity.name.type.LS",
|
74
|
-
"match": "\\s?(ARRAY|BOOLEAN|BYTE|CONFIG|DISP_DAT_T|FILE|GROUP_ASSOC|INTEGER|JOINTPOS|PATH|POSITION|QUEUE_TYPE|REAL|SHORT|STD_PTH_NODE|STRING|VECTOR|XYZWPR|XYZWPREXT)\\s"
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"name": "string.quoted.double.LS",
|
78
|
-
"match": "\".*?\""
|
79
|
-
},
|
80
|
-
{
|
81
|
-
"name": "string.quoted.single.LS",
|
82
|
-
"match": "\\'.*?\\'"
|
83
|
-
}
|
84
|
-
]
|
85
|
-
}
|
data/grammars/source.MCPOST.json
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "Mastercam (mcpost)",
|
3
|
-
"scopeName": "source.MCPOST",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "comment.number-sign.MCPOST",
|
7
|
-
"match": "(#.*$)"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"name": "constant.numeric.MCPOST",
|
11
|
-
"match": "(\\b)(zero|one|two|three|four|five|six|seven|height|nine)(\\b)"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"name": "constant.numeric.MCPOST",
|
15
|
-
"match": "(\\b)(-?[0-9]+)(.[0-9]+)?(\\b)"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"name": "variable.language.MCPOST",
|
19
|
-
"match": "([a-zA-Z0-9]+)(\\$)"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"name": "entity.name.function.MCPOST",
|
23
|
-
"match": "([a-zA-Z0-9]+)(\\()(.*)(\\))",
|
24
|
-
"beginCaptures": {
|
25
|
-
"1": {
|
26
|
-
"name": "entity.name.function.MCPOST"
|
27
|
-
},
|
28
|
-
"3": {
|
29
|
-
"name": "variable.parametere.MCPOST"
|
30
|
-
}
|
31
|
-
}
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"name": "entity.name.function.MCPOST",
|
35
|
-
"match": "(\\b)(^p[a-zA-Z]+)(_?([a-zA-Z]+)?)(_?)([a-zA-Z]+)(\\b)"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"name": "keyword.MCPOST",
|
39
|
-
"match": "^\\[[a-zA-Z0-9]((_?|\\-?)[a-zA-Z0-9\\s])*(_?|\\-?)[a-zA-Z0-9]\\]"
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"name": "keyword.control.MCPOST",
|
43
|
-
"match": "(\\b)(if|else|while|for|return)(\\b)"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"name": "string.quoted.double.MCPOST",
|
47
|
-
"match": "\".*?\""
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"name": "string.quoted.single.MCPOST",
|
51
|
-
"match": "\\'.*?\\'"
|
52
|
-
}
|
53
|
-
]
|
54
|
-
}
|
data/grammars/source.MOD.json
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "Kuka (MOD)",
|
3
|
-
"scopeName": "source.MOD",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "support.constant.MOD",
|
7
|
-
"match": "((wob|z)([A-Za-z0-9_]))",
|
8
|
-
"captures": {
|
9
|
-
"1": {
|
10
|
-
"name": "support.constant.MOD"
|
11
|
-
}
|
12
|
-
}
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"name": "constant.numeric.MOD",
|
16
|
-
"match": "((-)?(\\d+)((.|,)\\d)?(%)?)"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"name": "constant.numeric.MOD",
|
20
|
-
"match": "([9])([E]\\+)([0-9]+)"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"name": "comment.number-sign.MOD",
|
24
|
-
"match": "(!.*$)"
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "keyword.MOD",
|
28
|
-
"match": "(PROC|ENDMODULE|MODULE|ENDPROC)\\s"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"name": "keyword.MOD",
|
32
|
-
"match": "\\s(MoveJ|MoveL|MoveAbsJ)\\s"
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"name": "keyword.MOD",
|
36
|
-
"match": "(tl_|Wobj|fine)"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"name": "keyword.MOD",
|
40
|
-
"match": "\\s(IF|THEN|RETURN|PROC)\\s"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"name": "entity.name.type.MOD",
|
44
|
-
"match": "\\s?(ARRAY|BOOLEAN|BYTE|CONFIG|DISP_DAT_T|FILE|GROUP_ASSOC|INTEGER|JOINTPOS|PATH|POSITION|QUEUE_TYPE|REAL|SHORT|STD_PTH_NODE|STRING|VECTOR|XYZWPR|XYZWPREXT)\\s"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"name": "string.quoted.double.MOD",
|
48
|
-
"match": "\".*?\""
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "string.quoted.single.MOD",
|
52
|
-
"match": "\\'.*?\\'"
|
53
|
-
}
|
54
|
-
]
|
55
|
-
}
|
data/grammars/source.apt.json
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "APT",
|
3
|
-
"scopeName": "source.apt",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "constant.numeric.apt",
|
7
|
-
"match": "((-)?(\\d+)((.|,)\\d)?(%)?)"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"name": "keyword.control.apt",
|
11
|
-
"match": "(\\b)(AUTOPS|BSURF|CALL|CANNIN|CIRCLE|CLPRNT|CUT|CUTTER|DEBUG|DNTCUT|FINI|FROM|GO|GOBACK|GODLTA|GOFILE|GOFWD|GOLFT|GORGT|GOSUB|GOTO|IF|INDRIP|INDIRV|INPUT|INTOL|JUMPTO|LATHE|LINE|LOOPND|LOOPST|MACRO|MATRIX|NOPOST|OBTAIN|OUTTOL|PATERN|PLANE|POCKET|POINT|PRINT|PSIS|READ|REDEF|REMARK|RESERV|RETURN|SHAPE|SYN|TRMAC|THICK|TLLFT|TLOFPS|TLON|TLONPS|TLRGT|TOLER|TRACUT|TUNEUP|VECTOR|ZSURF|AAXIS|ABSF|ACOSF|ADJUST|ALL|ANGLF|ARC|ARROWS|ASINF|AT|ATAN2F|ATANF|ATANGL|AUTO|AVOID|BAKGRD|BAXIS|BEGIN|BLACK|BLKDEL|BLUE|BORE|BOTH|BRKCHP|BROWN|CAM|CANF|CAXIS|CCLW|CENTER|CHASE|CIRCUL|CLDATA|CLEAR|CLW|COARSE|COLLET|CONST|COSF|CROSS|CSINK|CTRLIN|CUTANG|CYAN|DARK|DASH|DECR||DEEP|DELTA|DELTAX|DELTAY|DELTAZ|DIAMTR|DISTF|DITTO|DMSF|DOTF|DOTTED|DOWN|DRAG|DRILL|DVALF|DWELL|DXF|ENDARC|FACE|FEDTO|FEED|FINE|FINISH|FLOOD|FRONT|GAGE|GEOMTY|GRAY|GREEN|GRID|HIGH|HOLDER|IN|INCR|INTENS|INTF|INTOF|INVERS|IPM|IPR|IVALF|JVALF|KVALF|LARGE|LAST|LAYER|LEAD|LEFT|LENGTH|LIGHT|LINCIR|LINEAR|LITE|LNTHF|LOCK|LOG10F|LOGF|LOW|MAGNTA|MAIN|MANUAL|MARK|MAXF|MAXIPM|MAXRPM|MED|MEDIUM|MILL|MINF|MINUS|MIRROR|MIST|MMPM|MMPR|MODIFY|MOTION|MULTRD|NEGX|NEGY|NEGZ|NEUTRL|NEXT|NIXIE|NOBACK|NOMORE|NORET|NORMAL|NOW|NOX|NOY|NOZ|NUMF|OFF|OMIT|ON|OPTION|ORIENT|OUT|PALLET|PARAB|PARLEL|PASS|PAST|PEN|PERPTO|PHANTM|PLUS|POSX|POSY|POSZ|QUILL|RADIUS|RANDOM|RANGE|RAPTO|REAM|REAR|RED|RETAIN|REV|RIGHT|ROTF|ROTREF|ROUGH|ROUNDF|RPM|RTHETA|RTRCTO|RVALF|SADDLE|SAME|SCALE|SCRIBE|SECNDS|SETANG|SETOOL|SFM|SIDE|SINF|SLOPE|SMALL|SMM|SOLID|SPLINE|SPRING|SQRTF|START|STEP|TABLE|TANF|TANTO|TAP|TAPKUL|THETAR|THRU|TILTF|TIMES|TO|TOOL|TPI|TRANSL|TRAV|TRFORM|TURN|TYPE|UNIT|UP|WAIT|WHITE|WINDOW|XAXIS|XCOORD|XFIRST|XLARGE|XSMALL|XVALF|XYPLAN|XYROT|XYVIEW|XYZ|YAXIS|YCOORD|YELLOW|YFIRST|YLARGE|YSMALL|YVALF|YZPLAN|YZROT|YZVIEW|ZAXIS|ZCOORD|ZIGZAG|ZLARGE|ZRAPID|ZSMALL|ZVALF|ZXPLAN|ZXROT|ZXVIEW||AIR|ARCSLP|ASLOPE|AUXFUN|BREAK|CAMERA|CHECK|CHUCK|CLAMP|CLEARP|CLRSRF|COMBIN|COOLNT|COPY|COUPLE|CUTCOM|CYCLE|DEBUGG|DELAY|DISPLY|DRAFT|DRESS|END|FEDRAT|GOHOME|HEAD|INDEX|INSERT|ISTOP|LEADER|LETTER|LINTOL|LOAD|LOADTL|LPRINT|MACHIN|MAXDPM|MAXVEL|MCHFIN|MCHTOL|MODE|NIBBLE|OPSKIP|OPSTOP|ORIGIN|OVPLOT|PARTNO|PENDWN|PENUP|PITCH|PIVOTZ|PLABEL|PLOT|PLUNGE|POSMAP|POSTN|PPLOT|PPRINT|PREFUN|PRFSEQ|RAPID|RESET|RETRCT|REVERS|REWIND|ROTABL|ROTATE|ROTHED|SAFETY|SELCTL|SELECT|SEQNO|SET|SLOWDN|SPINDL|STOP|SWITCH|THREAD|TMARK|TOOLNO|TRANS|TURRET|UNLOAD|VTLAXS|AUTOPS|CALL|CIRCLE|CLPRNT|COPY|CUT|CUTTER|DNTCUT|FINI|FROM|GO|GOBACK||GODLTA|GOFWD|GOLFT|GORGT|GOSUB|GOTO|IF|INDEX|INDIRP|INDIRV|INPUT|INTOL|JUMPTO|LINE|MACRO|MATRIX|NOPOST|OBTAIN|OUTTOL|PATERN|PLANE|POCKET|POINT|PRINT|PSSIS|READ|REDEF|REMARK|RESERV|RETURN|SYN|TERMAC|THICK|TLLFT|TLOFPS|TLON|TLONPS|TLRGT|TOLER|TRACUT|TUNEUP|VECTOR|ZSURF|UNITS|INCH|MCS|PERIMETER|MULTAX|OSETNO)(\\b)"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"name": "comment.number-sign.apt",
|
15
|
-
"match": "((\\$\\$).*$)"
|
16
|
-
}
|
17
|
-
]
|
18
|
-
}
|