github-linguist 4.8.5 → 4.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/{source.sas_log.json → source.SASLog.json} +5 -6
- data/grammars/source.ahk.json +81 -57
- data/grammars/source.assembly.json +1 -1
- data/grammars/source.bro.json +4 -4
- data/grammars/source.clojure.json +32 -8
- data/grammars/source.coq.json +1 -1
- data/grammars/source.crystal.json +21 -6
- data/grammars/source.csound-document.json +71 -0
- data/grammars/source.csound-score.json +65 -0
- data/grammars/source.csound.json +494 -0
- data/grammars/source.elm.json +27 -2
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.glsl.json +96 -6
- data/grammars/source.js.jsx.json +664 -524
- data/grammars/source.nu.json +526 -0
- data/grammars/source.pawn.json +8 -109
- data/grammars/source.pony.json +1 -1
- data/grammars/source.python.json +4 -4
- data/grammars/source.regexp.babel.json +1 -1
- data/grammars/source.shell.json +4 -1
- data/grammars/source.swift.json +2 -2
- data/grammars/source.wavefront.mtl.json +1177 -0
- data/grammars/source.wavefront.obj.json +1344 -0
- data/grammars/text.html.creole.json +329 -0
- data/grammars/text.html.ecr.json +52 -0
- data/grammars/text.html.handlebars.json +1 -1
- data/grammars/text.html.mako.json +17 -2
- data/grammars/text.html.vue.json +36 -1
- data/grammars/text.slim.json +1 -4
- data/grammars/text.tex.latex.json +2 -2
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +75 -6
- data/lib/linguist/samples.json +1856 -71
- data/lib/linguist/version.rb +1 -1
- metadata +11 -4
- data/grammars/source.fan.json +0 -188
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca4e4876f8d94c20d5a03b0c90609345a63e77bf
|
4
|
+
data.tar.gz: 048162073e84b93bf0eb8ca3a9e644ff811e7470
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9028d1d1f8a8651bf74cf12e87b9d6565e4030d57736064ba6af9ce2ab1af2fa17cf2ad0baa49aef3c2b78acbce6f9da2572b99387c7a8ab720487dc9650eeb
|
7
|
+
data.tar.gz: 7c3523595dff24dd8e840d6061fd748e9af5098acedcce01857991bcbd982602f0628bf0e6b3081d0dbb23407f3b53c5960d1ec884c8f0efdeedd07a0e4639e3
|
@@ -1,5 +1,4 @@
|
|
1
1
|
{
|
2
|
-
"comment": "A work in progress--improves over the existing in that it populates symbols, and handles comments more gracefully.",
|
3
2
|
"fileTypes": [
|
4
3
|
"log"
|
5
4
|
],
|
@@ -8,19 +7,19 @@
|
|
8
7
|
{
|
9
8
|
"comment": "Note line",
|
10
9
|
"match": "^NOTE:.*",
|
11
|
-
"name": "
|
10
|
+
"name": "keyword.source.SASLog"
|
12
11
|
},
|
13
12
|
{
|
14
13
|
"comment": "Error line",
|
15
14
|
"match": "(^(ERROR|WARNING)|Uninitialized| remerg|invalid).*",
|
16
|
-
"name": "invalid.source.
|
15
|
+
"name": "invalid.source.SASLog"
|
17
16
|
},
|
18
17
|
{
|
19
|
-
"comment": "Info
|
18
|
+
"comment": "Info message",
|
20
19
|
"match": "^INFO.*",
|
21
|
-
"name": "
|
20
|
+
"name": "entity.name.function.source.SASLog"
|
22
21
|
}
|
23
22
|
],
|
24
|
-
"scopeName": "source.
|
23
|
+
"scopeName": "source.SASLog",
|
25
24
|
"uuid": "4f05f7b5-30a7-43d7-9410-1bb65ce2b3b3"
|
26
25
|
}
|
data/grammars/source.ahk.json
CHANGED
@@ -7,21 +7,43 @@
|
|
7
7
|
{
|
8
8
|
"captures": {
|
9
9
|
"1": {
|
10
|
-
"name": "
|
10
|
+
"name": "comment.line.ahk"
|
11
|
+
},
|
12
|
+
"2": {
|
13
|
+
"name": "comment.line.ahk"
|
11
14
|
}
|
12
15
|
},
|
13
|
-
"match": "(;).*",
|
14
|
-
"name": "comment.line.
|
16
|
+
"match": "^\\s*(;)(.*)$",
|
17
|
+
"name": "comment.line.ahk"
|
15
18
|
},
|
16
19
|
{
|
17
20
|
"begin": "/\\*",
|
18
21
|
"end": "\\*/",
|
19
|
-
"name": "comment.block.
|
22
|
+
"name": "comment.block.ahk"
|
20
23
|
},
|
21
24
|
{
|
22
|
-
"
|
23
|
-
|
24
|
-
|
25
|
+
"captures": {
|
26
|
+
"1": {
|
27
|
+
"name": "entity.name.function.ahk"
|
28
|
+
},
|
29
|
+
"2": {
|
30
|
+
"name": "punctuation.bracket.parenthesis.ahk"
|
31
|
+
},
|
32
|
+
"3": {
|
33
|
+
"name": "string.function.arguments.ahk"
|
34
|
+
},
|
35
|
+
"4": {
|
36
|
+
"name": "punctuation.bracket.parenthesis.ahk"
|
37
|
+
},
|
38
|
+
"5": {
|
39
|
+
"name": "punctuation.bracket.curly.ahk"
|
40
|
+
},
|
41
|
+
"6": {
|
42
|
+
"name": "comment.line.semicolon.functionline.ahk"
|
43
|
+
}
|
44
|
+
},
|
45
|
+
"match": "^\\s*(\\w+)(\\()(.*)(\\))\\s*({)\\s*(;?.*)$",
|
46
|
+
"name": "functionline.ahk"
|
25
47
|
},
|
26
48
|
{
|
27
49
|
"captures": {
|
@@ -29,67 +51,93 @@
|
|
29
51
|
"name": "entity.name.function.label.ahk"
|
30
52
|
},
|
31
53
|
"2": {
|
54
|
+
"name": "punctuation.colon.ahk"
|
55
|
+
},
|
56
|
+
"3": {
|
32
57
|
"name": "comment.line.semicolon.label.ahk"
|
33
58
|
}
|
34
59
|
},
|
35
|
-
"match": "^\\s*(\\w
|
60
|
+
"match": "^\\s*(\\w+)(:)\\s*(;.*)?$",
|
36
61
|
"name": "labelline.ahk"
|
37
62
|
},
|
38
63
|
{
|
39
64
|
"captures": {
|
40
65
|
"1": {
|
41
|
-
"name": "
|
66
|
+
"name": "entity.name.function.label.ahk"
|
67
|
+
},
|
68
|
+
"2": {
|
69
|
+
"name": "punctuation.definition.equals.colon"
|
42
70
|
}
|
43
71
|
},
|
44
|
-
"match": "
|
45
|
-
"name": "
|
72
|
+
"match": "^\\s*(.+)(::)",
|
73
|
+
"name": "hotkeyline.ahk"
|
46
74
|
},
|
47
75
|
{
|
48
76
|
"captures": {
|
49
77
|
"1": {
|
50
|
-
"name": "
|
78
|
+
"name": "keyword.control.import.ahk"
|
51
79
|
},
|
52
80
|
"2": {
|
53
|
-
"name": "
|
81
|
+
"name": "keyword.control.import.ahk"
|
82
|
+
},
|
83
|
+
"3": {
|
84
|
+
"name": "entity.name.section.namespace.ahk"
|
85
|
+
},
|
86
|
+
"4": {
|
87
|
+
"name": "comment.line.semicolon.label.ahk"
|
54
88
|
}
|
55
89
|
},
|
56
|
-
"match": "
|
57
|
-
"name": "
|
90
|
+
"match": "^\\s*(#)((?i:includeagain|include))\\s+(.*?)\\s*(;.*)?$",
|
91
|
+
"name": "importline.ahk"
|
58
92
|
},
|
59
93
|
{
|
60
|
-
"
|
61
|
-
|
94
|
+
"captures": {
|
95
|
+
"1": {
|
96
|
+
"name": "keyword.control.ahk"
|
97
|
+
},
|
98
|
+
"2": {
|
99
|
+
"name": "keyword.control.ahk"
|
100
|
+
},
|
101
|
+
"3": {
|
102
|
+
"name": "string.ahk"
|
103
|
+
},
|
104
|
+
"4": {
|
105
|
+
"name": "comment.line.semicolon.label.ahk"
|
106
|
+
}
|
107
|
+
},
|
108
|
+
"match": "^\\s*(#)((?i:allowsamelinecomments|clipboardtimeout|commentflag|errorstdout|escapechar|hotkeyinterval|hotkeymodifiertimeout|hotstring|iftimeout|ifwinactive|ifwinexist|ifwinnotactive|ifwinnotexist|if|inputlevel|installkeybdhook|installmousehook|keyhistory|ltrim|maxhotkeysperinterval|maxmem|maxthreadsbuffer|maxthreadsperhotkey|maxthreads|menumaskkey|noenv|notrayicon|persistent|singleinstance|usehook|warn|winactivateforce)),*?\\s*?(.*?)\\s*(;.*)?$",
|
109
|
+
"name": "preprocessordirective.ahk"
|
62
110
|
},
|
63
111
|
{
|
64
|
-
"match": "\\b(
|
112
|
+
"match": "\\b(?i:autotrim|blockinput|click|clipwait|controlclick|controlfocus|controlget|controlgetfocus|controlgetpos|controlgettext|controlmove|controlsend|controlsendraw|controlsettext|control|coordmode|detecthiddentext|detecthiddenwindows|driveget|drivespacefree|drive|edit|envadd|envdiv|envget|envmult|envset|envsub|envupdate|fileappend|filecopydir|filecopy|filecreatedir|filecreateshortcut|filedelete|fileencoding|filegetattrib|filegetshortcut|filegetsize|filegettime|filegetversion|fileinstall|filemovedir|filemove|filereadline|fileread|filerecycleempty|filerecycle|fileremovedir|fileselectfile|fileselectfolder|filesetattrib|filesettime|formattime|getkeystate|groupactivate|groupadd|groupclose|groupdeactivate|guicontrol|guicontrolget|gui|hotkey|ifequal|ifexist|ifgreater|ifgreaterorequal|ifinstring|ifless|iflessorequal|ifmsgbox|ifnotequal|ifnotexist|ifnotinstring|ifwinactive|ifwinexist|ifwinnotactive|ifwinnotexist|imagesearch|inidelete|iniread|iniwrite|inputbox|input|keyhistory|keywait|listhotkeys|listlines|listvars|menu|mouseclickdrag|mouseclick|mousegetpos|mousemove|msgbox|onexit|outputdebug|pause|pixelgetcolor|pixelsearch|postmessage|process|progress|random|regdelete|regread|regwrite|reload|run|runas|runwait|sendevent|sendinput|sendlevel|sendmessage|sendmode|sendplay|sendraw|send|setbatchlines|setcapslockstate|setcontroldelay|setdefaultmousespeed|setenv|setformat|setkeydelay|setmousedelay|setnumlockstate|setscrolllockstate|setstorecapslockmode|setregview|settimer|settitlematchmode|setwindelay|setworkingdir|shutdown|sleep|sort|soundbeep|soundgetwavevolume|soundget|soundplay|soundsetwavevolume|soundset|splashimage|splashtextoff|splashtexton|splitpath|statusbargettext|statusbarwait|stringcasesense|stringgetpos|stringleft|stringlen|stringlower|stringmid|stringreplace|stringright|stringsplit|stringtrimleft|stringtrimright|stringupper|suspend|sysget|thread|tooltip|transform|traytip|urldownloadtofile|winactivatebottom|winactivate|winclose|wingetactivestats|wingetactivetitle|wingetclass|wingetpos|wingettext|wingettitle|winget|winhide|winkill|winmaximize|winmenuselectitem|winminimizeallundo|winminimizeall|winminimize|winmove|winrestore|winsettitle|winset|winshow|winwaitactive|winwaitclose|winwaitnotactive|winwait)\\b",
|
65
113
|
"name": "support.function.ahk"
|
66
114
|
},
|
67
115
|
{
|
68
|
-
"match": "\\b(
|
116
|
+
"match": "\\b(?i:abs|acos|asc|asin|atan|ceil|chr|cos|comobjcreate|comobjactive|comobjarray|comobjconnect|comobjenwrap|comobjerror|comobjflags|comobjget|comobjmissing|comobjparameter|comobjquery|comobjtype|comobjunwrap|comobjvalue|dllcall|exp|fileexist|fileopen|floor|format|func|getkeyname|getkeyvk|getkeysc|getkeystate|il_add|il_create|il_destroy|instr|isbyref|isfunc|islabel|isobject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modifycol|lv_modify|lv_setimagelist|mod|onmessage|numget|numput|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strget|strlen|strput|strsplit|strreplace|substr|tan|trim|tv_add|tv_delete|tv_getchild|tv_getcount|tv_getnext|tv_get|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist)(?=\\()\\b",
|
69
117
|
"name": "support.function.ahk"
|
70
118
|
},
|
71
119
|
{
|
72
|
-
"match": "\\b(
|
120
|
+
"match": "\\b(?<=\\.)(?i:read|write|readline|writeline|readuint|readint|readint64|readshort|readushort|readchar|readuchar|readdouble|readfloat|writeuint|writeint|writeint64|writeshort|writeushort|writechar|writeuchar|writedouble|writefloat|rawread|rawwrite|seek|tell|close|insert|remove|minindex|maxindex|setcapacity|getcapacity|getaddress|newenum|haskey|clone|isoptional|__new|__call|__get|__set|__delete)(?=\\()\\b",
|
73
121
|
"name": "support.function.ahk"
|
74
122
|
},
|
75
123
|
{
|
76
|
-
"match": "
|
77
|
-
"name": "support.function.
|
124
|
+
"match": "\\b(?<=\\.)(?i:length|ateof|encoding|__handle|name|isbuiltin|isvariadic|minparams|maxparams|position|pos)(?!\\[|\\(|\\.)\\b",
|
125
|
+
"name": "support.function.ahk"
|
78
126
|
},
|
79
127
|
{
|
80
|
-
"match": "\\b(
|
81
|
-
"name": "
|
128
|
+
"match": "\\b(?i:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guievent|a_guicontrol|a_guicontrolevent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles|true|false)\\b",
|
129
|
+
"name": "constant.language.builtin.ahk"
|
82
130
|
},
|
83
131
|
{
|
84
|
-
"match": "\\b(
|
85
|
-
"name": "
|
132
|
+
"match": "\\b(?<!\\.)(?i:pixel|mouse|screen|relative|rgb|ltrim|rtrim|join|low|belownormal|normal|abovenormal|high|realtime|ahk_id|ahk_pid|ahk_class|ahk_group|between|containsinteger|float|integerfast|floatfast|number|digit|xdigit|alpha|upper|lower|alnum|time|date|alwaysontop|topmost|top|bottom|transparent|transcolor|redraw|region|id|idlast|processname|minmax|controllist|count|list|capacity|statuscd|eject|lock|unlock|label|filesystem|label|setlabel|serial|type|status|static|global|local|byref|seconds|minutes|hours|days|read|parse|logoff|close|error|single|tray|add|rename|check|uncheck|togglecheck|enable|disable|toggleenable|default|nodefault|standard|nostandard|color|delete|deleteall|icon|noicon|tip|click|show|mainwindow|nomainwindow|useerrorlevel|text|picture|pic|groupbox|button|checkbox|radio|dropdownlist|ddl|combobox|listbox|listview|datetime|monthcal|updown|slider|tab|tab2|statusbar|treeview|iconsmall|tile|report|sortdesc|nosort|nosorthdr|grid|hdr|autosize|range|xm|ym|ys|xs|xp|yp|font|resize|owner|submit|nohide|minimize|maximize|restore|noactivate|na|cancel|destroy|center|margin|maxsize|minsize|owndialogs|guiescape|guiclose|guisize|guicontextmenu|guidropfiles|tabstop|section|altsubmit|wrap|hscroll|vscroll|border|top|bottom|buttons|expand|first|imagelist|lines|wantctrla|wantf2|vis|visfirst|number|uppercase|lowercase|limit|password|multi|wantreturn|group|background|bold|italic|strike|underline|norm|backgroundtrans|theme|caption|delimiter|minimizebox|maximizebox|sysmenu|toolwindow|flash|style|exstyle|check3|checked|checkedgray|readonly|password|hidden|left|right|center|notab|section|move|focus|hide|choose|choosestring|text|pos|enabled|disabled|visible|lastfound|lastfoundexist|alttab|shiftalttab|alttabmenu|alttabandmenu|alttabmenudismiss|notimers|interrupt|priority|waitclose|blind|raw|unicode|deref|pow|bitnot|bitand|bitor|bitxor|bitshiftleft|bitshiftright|yes|no|ok|cancel|abort|retry|ignore|tryagain|on|off|all|hkey_local_machine|hkey_users|hkey_current_user|hkey_classes_root|hkey_current_config|hklm|hku|hkcu|hkcr|hkcc|reg_sz|reg_expand_sz|reg_multi_sz|reg_dword|reg_qword|reg_binary|reg_link|reg_resource_list|reg_full_resource_descriptor|reg_resource_requirements_list|reg_dword_big_endian|alwayson|alwaysoff|dpiscale|parent)(?!\\[|\\(|\\.)\\b",
|
133
|
+
"name": "constant.language.builtin.ahk"
|
86
134
|
},
|
87
135
|
{
|
88
|
-
"match": "\\b(
|
89
|
-
"name": "
|
136
|
+
"match": "\\b(?i:shift|lshift|rshift|alt|lalt|ralt|control|lcontrol|rcontrol|ctrl|lctrl|rctrl|lwin|rwin|appskey|altdown|altup|shiftdown|shiftup|ctrldown|ctrlup|lwindown|lwinup|rwindown|rwinup|lbutton|rbutton|mbutton|wheelup|wheelleft|wheelright|wheeldown|xbutton1|xbutton2|joy1|joy2|joy3|joy4|joy5|joy6|joy7|joy8|joy9|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy30|joy31|joy32|joyx|joyy|joyz|joyr|joyu|joyv|joypov|joyname|joybuttons|joyaxes|joyinfo|space|tab|enter|escape|esc|backspace|bs|delete|del|insert|ins|pgup|pgdn|home|end|up|down|left|right|printscreen|ctrlbreak|pause|scrolllock|capslock|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadmult|numpadadd|numpadsub|numpaddiv|numpaddot|numpaddel|numpadins|numpadclear|numpadup|numpaddown|numpadleft|numpadright|numpadhome|numpadend|numpadpgup|numpadpgdn|numpadenter|f1|f2|f3|f4|f5|f6|f7|f8|f9|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f20|f21|f22|f23|f24|browser_back|browser_forward|browser_refresh|browser_stop|browser_search|browser_favorites|browser_home|volume_mute|volume_down|volume_up|media_next|media_prev|media_stop|media_play_pause|launch_mail|launch_media|launch_app1|launch_app2)\\b",
|
137
|
+
"name": "constant.language.hotkey.ahk"
|
90
138
|
},
|
91
139
|
{
|
92
|
-
"match": "\\b(
|
140
|
+
"match": "\\b(?<!\\.)(?i:if|else|return|loop|break|for|while|class|extends|catch|finally|throw|try|until|continue|critical|exit|exitapp|gosub|goto||not|or|and|is|in)\\b",
|
93
141
|
"name": "keyword.control.ahk"
|
94
142
|
},
|
95
143
|
{
|
@@ -102,11 +150,11 @@
|
|
102
150
|
},
|
103
151
|
{
|
104
152
|
"match": ":=|\\.=|=|::",
|
105
|
-
"name": "
|
153
|
+
"name": "punctuation.definition.equals.ahk"
|
106
154
|
},
|
107
155
|
{
|
108
156
|
"match": "<|>|<>|[<>=]=|!=",
|
109
|
-
"name": "
|
157
|
+
"name": "punctuation.definition.comparison.ahk"
|
110
158
|
},
|
111
159
|
{
|
112
160
|
"match": ":|\\?|`|,",
|
@@ -124,13 +172,13 @@
|
|
124
172
|
"begin": "(\")",
|
125
173
|
"beginCaptures": {
|
126
174
|
"1": {
|
127
|
-
"name": "punctuation.definition.string.
|
175
|
+
"name": "punctuation.definition.string.ahk"
|
128
176
|
}
|
129
177
|
},
|
130
178
|
"end": "(\")(?!\")|^",
|
131
179
|
"endCaptures": {
|
132
180
|
"1": {
|
133
|
-
"name": "punctuation.definition.string.
|
181
|
+
"name": "punctuation.definition.string.ahk"
|
134
182
|
}
|
135
183
|
},
|
136
184
|
"name": "string.quoted.double.ahk",
|
@@ -140,30 +188,6 @@
|
|
140
188
|
"name": "constant.character.escape.ahk"
|
141
189
|
}
|
142
190
|
]
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"captures": {
|
146
|
-
"1": {
|
147
|
-
"name": "entity.name.function.ahk"
|
148
|
-
},
|
149
|
-
"2": {
|
150
|
-
"name": "punctuation.bracket.parenthesis.ahk"
|
151
|
-
},
|
152
|
-
"3": {
|
153
|
-
"name": "string.function.arguments.ahk"
|
154
|
-
},
|
155
|
-
"4": {
|
156
|
-
"name": "punctuation.bracket.parenthesis.ahk"
|
157
|
-
},
|
158
|
-
"5": {
|
159
|
-
"name": "punctuation.bracket.curly.ahk"
|
160
|
-
},
|
161
|
-
"6": {
|
162
|
-
"name": "comment.line.semicolon.functionline.ahk"
|
163
|
-
}
|
164
|
-
},
|
165
|
-
"match": "^(\\w+)(\\()(.*)(\\))\\s*({)\\s*(;?.*)$",
|
166
|
-
"name": "functionline.ahk"
|
167
191
|
}
|
168
192
|
],
|
169
193
|
"scopeName": "source.ahk",
|
@@ -6,7 +6,7 @@
|
|
6
6
|
"name": "Assembly x86 (NASM)",
|
7
7
|
"patterns": [
|
8
8
|
{
|
9
|
-
"match": "\\b(?i)(v)?(aaa|aad|aam|aas|adc|add|addpd|addps|addsd|addss|addsubpd|addsubps|aesdec|aesdeclast|aesenc|aesenclast|aesimc|aeskeygenassist|and|andpd|andps|andnpd|andnps|arpl|blendpd|bmi|blendps|blendvpd|blendvps|bound|bsf|bsr|bswap|bt|btc|btr|bts|cbw|cwde|cdqe|clc|cld|cflush|clts|cmc|cmov(n?e|ge?|ae?|le?|be?|n?o|n?z)|cmp|cmppd|cmpps|cmps|cnpsb|cmpsw|cmpsd|cmpsq|cmpss|cmpxchg|cmpxchg8b|cmpxchg16b|comisd|comiss|cpuid|crc32|cvtdq2pd|cvtdq2ps|cvtpd2dq|cvtpd2pi|cvtpd2ps|cvtpi2pd|cvtpi2ps|cvtps2dq|cvtps2pd|cvtps2pi|cvtsd2si|cvtsd2ss|cvts2sd|cvtsi2ss|cvtss2sd|cvtss2si|cvttpd2dq|cvtpd2pi|cvttps2dq|cvttps2pi|cvttps2dq|cvttps2pi|cvttsd2si|cvttss2si|cwd|cdq|cqo|daa|das|dec|div|divpd|divps|divsd|divss|dppd|dpps|emms|enter|extractps|f2xm1|fabs|fadd|faddp|fiadd|fbld|fbstp|fchs|fclex|fnclex|fcmov(n?e|ge?|ae?|le?|be?|n?o|n?z)|fcom|fcmop|fcompp|fcomi|fcomip|fucomi|fucomip|fcos|fdecstp|fdiv|fdivp|fidiv|fdivr|fdivrp|fidivr|ffree|ficom|ficomp|fild|fincstp|finit|fnint|fist|fistp|fisttp|fld|fld1|fldl2t|fldl2e|fldpi|fldlg2|fldln2|fldz|fldcw|fldenv|fmul|fmulp|fimul|fnop|fpatan|fprem|fprem1|fptan|frndint|frstor|fsave|fnsave|fscale|fsin|fsincos|fsqrt|fst|fstp|fstcw|fnstcw|fstenv|fnstenv|fsts(w?)|fnstsw|fsub|fsubp|fisub|fsubr|fsubrp|fisubr|ftst|fucom|fucomp|fucompp|fxam|fxch|fxrstor|fxsave|fxtract|fyl2x|fyl2xp1|haddpd|haddps|husbpd|hsubps|idiv|imul|in|inc|ins|insb|insw|insd|insertps|int|into|invd|
|
9
|
+
"match": "\\b(?i)(v)?(aaa|aad|aam|aas|adc|add|addpd|addps|addsd|addss|addsubpd|addsubps|aesdec|aesdeclast|aesenc|aesenclast|aesimc|aeskeygenassist|and|andpd|andps|andnpd|andnps|arpl|blendpd|bmi|blendps|blendvpd|blendvps|bound|bsf|bsr|bswap|bt|btc|btr|bts|cbw|cwde|cdqe|clc|cld|cflush|clts|cmc|cmov(n?e|ge?|ae?|le?|be?|n?o|n?z)|cmp|cmppd|cmpps|cmps|cnpsb|cmpsw|cmpsd|cmpsq|cmpss|cmpxchg|cmpxchg8b|cmpxchg16b|comisd|comiss|cpuid|crc32|cvtdq2pd|cvtdq2ps|cvtpd2dq|cvtpd2pi|cvtpd2ps|cvtpi2pd|cvtpi2ps|cvtps2dq|cvtps2pd|cvtps2pi|cvtsd2si|cvtsd2ss|cvts2sd|cvtsi2ss|cvtss2sd|cvtss2si|cvttpd2dq|cvtpd2pi|cvttps2dq|cvttps2pi|cvttps2dq|cvttps2pi|cvttsd2si|cvttss2si|cwd|cdq|cqo|daa|das|dec|div|divpd|divps|divsd|divss|dppd|dpps|emms|enter|extractps|f2xm1|fabs|fadd|faddp|fiadd|fbld|fbstp|fchs|fclex|fnclex|fcmov(n?e|ge?|ae?|le?|be?|n?o|n?z)|fcom|fcmop|fcompp|fcomi|fcomip|fucomi|fucomip|fcos|fdecstp|fdiv|fdivp|fidiv|fdivr|fdivrp|fidivr|ffree|ficom|ficomp|fild|fincstp|finit|fnint|fist|fistp|fisttp|fld|fld1|fldl2t|fldl2e|fldpi|fldlg2|fldln2|fldz|fldcw|fldenv|fmul|fmulp|fimul|fnop|fpatan|fprem|fprem1|fptan|frndint|frstor|fsave|fnsave|fscale|fsin|fsincos|fsqrt|fst|fstp|fstcw|fnstcw|fstenv|fnstenv|fsts(w?)|fnstsw|fsub|fsubp|fisub|fsubr|fsubrp|fisubr|ftst|fucom|fucomp|fucompp|fxam|fxch|fxrstor|fxsave|fxtract|fyl2x|fyl2xp1|haddpd|haddps|husbpd|hsubps|idiv|imul|in|inc|ins|insb|insw|insd|insertps|int|into|invd|invlpg|invpcid|iret|iretd|iretq|lahf|lar|lddqu|ldmxcsr|lds|les|lfs|lgs|lss|lea|leave|lfence|lgdt|lidt|llgdt|lmsw|lock|lods|lodsb|lodsw|lodsd|lodsq|lsl|ltr|maskmovdqu|maskmovq|maxpd|maxps|maxsd|maxss|mfence|minpd|minps|minsd|minss|monitor|mov|movapd|movaps|movbe|movd|movq|movddup|movdqa|movdqu|movq2q|movhlps|movhpd|movhps|movlhps|movlpd|movlps|movmskpd|movmskps|movntdqa|movntdq|movnti|movntpd|movntps|movntq|movq|movq2dq|movs|movsb|movsw|movsd|movsq|movsd|movshdup|movsldup|movss|movsx|movsxd|movupd|movups|movzx|mpsadbw|mul|mulpd|mulps|mulsd|mulss|mwait|neg|not|or|orpd|orps|out|outs|outsb|outsw|outsd|pabsb|pabsw|pabsd|packsswb|packssdw|packusdw|packuswb|paddb|paddw|paddd|paddq|paddsb|paddsw|paddusb|paddusw|palignr|pand|pandn|pause|pavgb|pavgw|pblendvb|pblendw|pclmulqdq|pcmpeqb|pcmpeqw|pcmpeqd|pcmpeqq|pcmpestri|pcmpestrm|pcmptb|pcmptgw|pcmpgtd|pcmpgtq|pcmpistri|pcmpisrm|pdep|pext|pextrb|pextrd|pextrq|pextrw|phaddw|phaddd|phaddsw|phinposuw|phsubw|phsubd|phsubsw|pinsrb|pinsrd|pinsrq|pinsrw|pmaddubsw|pmadddwd|pmaxsb|pmaxsd|pmaxsw|pmaxsw|pmaxub|pmaxud|pmaxuw|pminsb|pminsd|pminsw|pminub|pminud|pminuw|pmovmskb|pmovsx|pmovzx|pmuldq|pmulhrsw|pmulhuw|pmulhw|pmulld|pmullw|pmuludw|pop|popa|popad|popcnt|popf|popfd|popfq|por|prefetch|psadbw|pshufb|pshufd|pshufhw|pshuflw|pshufw|psignb|psignw|psignd|pslldq|psllw|pslld|psllq|psraw|psrad|psrldq|psrlw|psrld|psrlq|psubb|psubw|psubd|psubq|psubsb|psubsw|psubusb|psubusw|test|ptest|punpckhbw|punpckhwd|punpckhdq|punpckhddq|punpcklbw|punpcklwd|punpckldq|punpckldqd|push|pusha|pushad|pushf|pushfd|pxor|prcl|rcr|rol|ror|rcpps|rcpss|rdfsbase|rdgsbase|rdmsr|rdpmc|rdrand|rdtsc|rdtscp|rep|repe|repz|repne|repnz|roundpd|roundps|roundsd|roundss|rsm|rsqrps|rsqrtss|sahf|sal|sar|shl|shr|sbb|scas|scasb|scasw|scasd|set(n?e|ge?|ae?|le?|be?|n?o|n?z)|sfence|sgdt|shld|shrd|shufpd|shufps|sidt|sldt|smsw|sqrtpd|sqrtps|sqrtsd|sqrtss|stc|std|stmxcsr|stos|stosb|stosw|stosd|stosq|str|sub|subpd|subps|subsd|subss|swapgs|syscall|sysenter|sysexit|sysret|teset|ucomisd|ucomiss|ud2|unpckhpd|unpckhps|unpcklpd|unpcklps|vbroadcast|vcvtph2ps|vcvtp2sph|verr|verw|vextractf128|vinsertf128|vmaskmov|vpermilpd|vpermilps|vperm2f128|vtestpd|vzeroall|vzeroupper|wait|fwait|wbinvd|wrfsbase|wrgsbase|wrmsr|xadd|xchg|xgetbv|xlat|xlatb|xor|xorpd|xorps|xrstor|xsave|xsaveopt|xsetbv|lzcnt|extrq|insertq|movntsd|movntss|vfmaddpd|vfmaddps|vfmaddsd|vfmaddss|vfmaddsubbpd|vfmaddsubps|vfmsubaddpd|vfmsubaddps|vfmsubpd|vfmsubps|vfmsubsd|vfnmaddpd|vfnmaddps|vfnmaddsd|vfnmaddss|vfnmsubpd|vfnmusbps|vfnmusbsd|vfnmusbss|vbroadcastss|vbroadcastsd|vbroadcastf128|vmaskmovps|vmaskmovpd|cvt|xor|cli|sti|hlt|nop|lock|wait|enter|leave|ret|loop(n?e|n?z)?|call|j(mp|n?e|n?ge?|n?ae?|le?|be?|n?o|n?z|n?c|n?p|n?b))\\b",
|
10
10
|
"name": "keyword.control.assembly"
|
11
11
|
},
|
12
12
|
{
|
data/grammars/source.bro.json
CHANGED
@@ -184,7 +184,7 @@
|
|
184
184
|
"name": "constant.other.subnet.bro"
|
185
185
|
},
|
186
186
|
{
|
187
|
-
"match": "\\[
|
187
|
+
"match": "\\[(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\\]/(12[0-8]|1[0-1][0-9]|[1-2]?[0-9]|[0-9][0-9])",
|
188
188
|
"name": "constant.other.subnet6.bro"
|
189
189
|
},
|
190
190
|
{
|
@@ -192,7 +192,7 @@
|
|
192
192
|
"name": "constant.other.ip.bro"
|
193
193
|
},
|
194
194
|
{
|
195
|
-
"match": "\\[
|
195
|
+
"match": "\\[(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\\](?!/)",
|
196
196
|
"name": "constant.other.ip6.bro"
|
197
197
|
},
|
198
198
|
{
|
@@ -346,7 +346,7 @@
|
|
346
346
|
"statements": {
|
347
347
|
"patterns": [
|
348
348
|
{
|
349
|
-
"match": "\\b(add|delete|print|for|next|break|if|else|switch|case|default|break|fallthrough|when|schedule|return)\\b",
|
349
|
+
"match": "\\b(add|delete|print|for|next|break|if|else|switch|case|default|break|fallthrough|when|timeout|schedule|return)\\b",
|
350
350
|
"name": "keyword.control.flow.bro"
|
351
351
|
}
|
352
352
|
]
|
@@ -398,7 +398,7 @@
|
|
398
398
|
"name": "storage.type.bro"
|
399
399
|
},
|
400
400
|
{
|
401
|
-
"match": "\\
|
401
|
+
"match": "\\b(opaque|vector)\\s+of\\s+[a-zA-Z_][0-9a-zA-Z_-]+\\s*",
|
402
402
|
"name": "storage.type.bro"
|
403
403
|
}
|
404
404
|
]
|
@@ -149,9 +149,12 @@
|
|
149
149
|
"name": "punctuation.section.map.begin.clojure"
|
150
150
|
}
|
151
151
|
},
|
152
|
-
"end": "(\\})",
|
152
|
+
"end": "(\\}(?=[\\}\\]\\)\\s]*(?:;|$)))|(\\})",
|
153
153
|
"endCaptures": {
|
154
154
|
"1": {
|
155
|
+
"name": "punctuation.section.map.end.trailing.clojure"
|
156
|
+
},
|
157
|
+
"2": {
|
155
158
|
"name": "punctuation.section.map.end.clojure"
|
156
159
|
}
|
157
160
|
},
|
@@ -171,9 +174,12 @@
|
|
171
174
|
"name": "punctuation.section.metadata.map.begin.clojure"
|
172
175
|
}
|
173
176
|
},
|
174
|
-
"end": "(\\})",
|
177
|
+
"end": "(\\}(?=[\\}\\]\\)\\s]*(?:;|$)))|(\\})",
|
175
178
|
"endCaptures": {
|
176
179
|
"1": {
|
180
|
+
"name": "punctuation.section.metadata.map.end.trailing.clojure"
|
181
|
+
},
|
182
|
+
"2": {
|
177
183
|
"name": "punctuation.section.metadata.map.end.clojure"
|
178
184
|
}
|
179
185
|
},
|
@@ -206,13 +212,19 @@
|
|
206
212
|
"name": "punctuation.section.expression.begin.clojure"
|
207
213
|
}
|
208
214
|
},
|
209
|
-
"end": "(\\))(\\n)
|
215
|
+
"end": "(\\))(\\n)|(\\)(?=[\\}\\]\\)\\s]*(?:;|$)))|(\\))",
|
210
216
|
"endCaptures": {
|
211
217
|
"1": {
|
212
|
-
"name": "punctuation.section.expression.end.clojure"
|
218
|
+
"name": "punctuation.section.expression.end.trailing.clojure"
|
213
219
|
},
|
214
220
|
"2": {
|
215
221
|
"name": "meta.after-expression.clojure"
|
222
|
+
},
|
223
|
+
"3": {
|
224
|
+
"name": "punctuation.section.expression.end.trailing.clojure"
|
225
|
+
},
|
226
|
+
"4": {
|
227
|
+
"name": "punctuation.section.expression.end.clojure"
|
216
228
|
}
|
217
229
|
},
|
218
230
|
"name": "meta.quoted-expression.clojure",
|
@@ -243,9 +255,12 @@
|
|
243
255
|
"name": "punctuation.section.set.begin.clojure"
|
244
256
|
}
|
245
257
|
},
|
246
|
-
"end": "(\\})",
|
258
|
+
"end": "(\\}(?=[\\}\\]\\)\\s]*(?:;|$)))|(\\})",
|
247
259
|
"endCaptures": {
|
248
260
|
"1": {
|
261
|
+
"name": "punctuation.section.set.end.trailing.clojure"
|
262
|
+
},
|
263
|
+
"2": {
|
249
264
|
"name": "punctuation.section.set.end.clojure"
|
250
265
|
}
|
251
266
|
},
|
@@ -263,13 +278,19 @@
|
|
263
278
|
"name": "punctuation.section.expression.begin.clojure"
|
264
279
|
}
|
265
280
|
},
|
266
|
-
"end": "(\\))(\\n)
|
281
|
+
"end": "(\\))(\\n)|(\\)(?=[\\}\\]\\)\\s]*(?:;|$)))|(\\))",
|
267
282
|
"endCaptures": {
|
268
283
|
"1": {
|
269
|
-
"name": "punctuation.section.expression.end.clojure"
|
284
|
+
"name": "punctuation.section.expression.end.trailing.clojure"
|
270
285
|
},
|
271
286
|
"2": {
|
272
287
|
"name": "meta.after-expression.clojure"
|
288
|
+
},
|
289
|
+
"3": {
|
290
|
+
"name": "punctuation.section.expression.end.trailing.clojure"
|
291
|
+
},
|
292
|
+
"4": {
|
293
|
+
"name": "punctuation.section.expression.end.clojure"
|
273
294
|
}
|
274
295
|
},
|
275
296
|
"name": "meta.expression.clojure",
|
@@ -393,9 +414,12 @@
|
|
393
414
|
"name": "punctuation.section.vector.begin.clojure"
|
394
415
|
}
|
395
416
|
},
|
396
|
-
"end": "(\\])",
|
417
|
+
"end": "(\\](?=[\\}\\]\\)\\s]*(?:;|$)))|(\\])",
|
397
418
|
"endCaptures": {
|
398
419
|
"1": {
|
420
|
+
"name": "punctuation.section.vector.end.trailing.clojure"
|
421
|
+
},
|
422
|
+
"2": {
|
399
423
|
"name": "punctuation.section.vector.end.clojure"
|
400
424
|
}
|
401
425
|
},
|
data/grammars/source.coq.json
CHANGED
@@ -382,7 +382,27 @@
|
|
382
382
|
"name": "meta.function.method.without-arguments.crystal"
|
383
383
|
},
|
384
384
|
{
|
385
|
-
"match": "
|
385
|
+
"match": "0x[A-Fa-f0-9]+",
|
386
|
+
"name": "constant.numeric.hexadecimal.crystal"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"match": "0o[0-7]+",
|
390
|
+
"name": "constant.numeric.octal.crystal"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"match": "0b[10]+",
|
394
|
+
"name": "constant.numeric.binary.crystal"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"match": "\\d+_u(8|16|32|64)",
|
398
|
+
"name": "constant.numeric.unsigned-int.crystal"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"match": "\\d+_i(8|16|32|64)",
|
402
|
+
"name": "constant.numeric.signed-int.crystal"
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"match": "\\d+_?",
|
386
406
|
"name": "constant.numeric.crystal"
|
387
407
|
},
|
388
408
|
{
|
@@ -1807,11 +1827,6 @@
|
|
1807
1827
|
}
|
1808
1828
|
]
|
1809
1829
|
},
|
1810
|
-
{
|
1811
|
-
"comment": "\n\t\t\tmatches questionmark-letters.\n\n\t\t\texamples (1st alternation = hex):\n\t\t\t?\\x1 ?\\x61\n\n\t\t\texamples (2nd alternation = octal):\n\t\t\t?\\0 ?\\07 ?\\017\n\n\t\t\texamples (3rd alternation = escaped):\n\t\t\t?\\n ?\\b\n\n\t\t\texamples (4th alternation = meta-ctrl):\n\t\t\t?\\C-a ?\\M-a ?\\C-\\M-\\C-\\M-a\n\n\t\t\texamples (4th alternation = normal):\n\t\t\t?a ?A ?0 \n\t\t\t?* ?\" ?( \n\t\t\t?. ?#\n\t\t\t\n\t\t\t\n\t\t\tthe negative lookbehind prevents against matching\n\t\t\tp(42.tainted?)\n\t\t\t",
|
1812
|
-
"match": "(?<!\\w)\\?(\\\\(x\\h{1,2}(?!\\h)\\b|0[0-7]{0,2}(?![0-7])\\b|[^x0MC])|(\\\\[MC]-)+\\w|[^\\s\\\\])",
|
1813
|
-
"name": "constant.numeric.crystal"
|
1814
|
-
},
|
1815
1830
|
{
|
1816
1831
|
"begin": "^__END__\\n",
|
1817
1832
|
"captures": {
|