Merge pull request #118 from abeaumont/feature/sync-with-linguist

data: Sync with linguist
This commit is contained in:
Alfredo Beaumont 2017-10-04 16:48:28 +02:00 committed by GitHub
commit 1324e52107
11 changed files with 20049 additions and 16638 deletions

View File

@ -2,23 +2,27 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: 37979b26b04e10868017469e5cc56263b0a39c84
// Extracted from github/linguist commit: e98728595bc2f3e72b0668d60e31cbe441c48799
// LanguagesByAlias keeps alias for different languages and use the name of the languages as an alias too.
// All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores.
var LanguagesByAlias = map[string]string{
"1c_enterprise": "1C Enterprise",
"abap": "ABAP",
"abl": "OpenEdge ABL",
"abnf": "ABNF",
"abuild": "Alpine Abuild",
"aconf": "ApacheConf",
"actionscript": "ActionScript",
"actionscript3": "ActionScript",
"actionscript_3": "ActionScript",
"ada": "Ada",
"ada2005": "Ada",
"ada95": "Ada",
"1c_enterprise": "1C Enterprise",
"abap": "ABAP",
"abl": "OpenEdge ABL",
"abnf": "ABNF",
"abuild": "Alpine Abuild",
"acfm": "Adobe Font Metrics",
"aconf": "ApacheConf",
"actionscript": "ActionScript",
"actionscript3": "ActionScript",
"actionscript_3": "ActionScript",
"ada": "Ada",
"ada2005": "Ada",
"ada95": "Ada",
"adobe_composite_font_metrics": "Adobe Font Metrics",
"adobe_font_metrics": "Adobe Font Metrics",
"adobe_multiple_font_metrics": "Adobe Font Metrics",
"advpl": "xBase",
"afdko": "OpenType Feature File",
"agda": "Agda",
@ -27,6 +31,7 @@ var LanguagesByAlias = map[string]string{
"ahk": "AutoHotkey",
"alloy": "Alloy",
"alpine_abuild": "Alpine Abuild",
"amfm": "Adobe Font Metrics",
"ampl": "AMPL",
"ant_build_system": "Ant Build System",
"antlr": "ANTLR",
@ -60,6 +65,7 @@ var LanguagesByAlias = map[string]string{
"autoitscript": "AutoIt",
"awk": "Awk",
"b3d": "BlitzBasic",
"ballerina": "Ballerina",
"bash": "Shell",
"bash_session": "ShellSession",
"bat": "Batchfile",
@ -145,6 +151,7 @@ var LanguagesByAlias = map[string]string{
"d-objdump": "D-ObjDump",
"darcs_patch": "Darcs Patch",
"dart": "Dart",
"dataweave": "DataWeave",
"dcl": "DIGITAL Command Language",
"delphi": "Component Pascal",
"desktop": "desktop",
@ -171,6 +178,7 @@ var LanguagesByAlias = map[string]string{
"eclipse": "ECLiPSe",
"ecr": "HTML+ECR",
"edn": "edn",
"eeschema_schematic": "KiCad Schematic",
"eex": "HTML+EEX",
"eiffel": "Eiffel",
"ejs": "EJS",
@ -212,6 +220,7 @@ var LanguagesByAlias = map[string]string{
"genshi": "Genshi",
"gentoo_ebuild": "Gentoo Ebuild",
"gentoo_eclass": "Gentoo Eclass",
"gerber_image": "Gerber Image",
"gettext_catalog": "Gettext Catalog",
"gf": "Grammatical Framework",
"gherkin": "Gherkin",
@ -295,7 +304,9 @@ var LanguagesByAlias = map[string]string{
"jsx": "JSX",
"julia": "Julia",
"jupyter_notebook": "Jupyter Notebook",
"kicad": "KiCad",
"kicad_layout": "KiCad Layout",
"kicad_legacy_layout": "KiCad Legacy Layout",
"kicad_schematic": "KiCad Schematic",
"kit": "Kit",
"kotlin": "Kotlin",
"krl": "KRL",
@ -372,6 +383,7 @@ var LanguagesByAlias = map[string]string{
"myghty": "Myghty",
"nasm": "Assembly",
"ncl": "NCL",
"nearley": "Nearley",
"nemerle": "Nemerle",
"nesc": "nesC",
"netlinx": "NetLinx",
@ -437,6 +449,7 @@ var LanguagesByAlias = map[string]string{
"pascal": "Pascal",
"pasm": "Parrot Assembly",
"pawn": "PAWN",
"pcbnew": "KiCad Layout",
"pep8": "Pep8",
"perl": "Perl",
"perl_6": "Perl 6",
@ -515,6 +528,7 @@ var LanguagesByAlias = map[string]string{
"roff": "Roff",
"rouge": "Rouge",
"rpm_spec": "RPM Spec",
"rs-274x": "Gerber Image",
"rscript": "R",
"rss": "XML",
"rst": "reStructuredText",
@ -631,6 +645,7 @@ var LanguagesByAlias = map[string]string{
"xml+kid": "Genshi",
"xojo": "Xojo",
"xpages": "XPages",
"xpm": "XPM",
"xproc": "XProc",
"xquery": "XQuery",
"xs": "XS",

View File

@ -2,7 +2,7 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: 37979b26b04e10868017469e5cc56263b0a39c84
// Extracted from github/linguist commit: e98728595bc2f3e72b0668d60e31cbe441c48799
// linguist's commit from which files were generated.
var LinguistCommit = "37979b26b04e10868017469e5cc56263b0a39c84"
var LinguistCommit = "e98728595bc2f3e72b0668d60e31cbe441c48799"

View File

@ -2,7 +2,7 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: 37979b26b04e10868017469e5cc56263b0a39c84
// Extracted from github/linguist commit: e98728595bc2f3e72b0668d60e31cbe441c48799
import "gopkg.in/toqueteos/substring.v1"
@ -303,6 +303,8 @@ var ContentMatchers = map[string]languageMatcher{
return []string{"Perl 6"}
} else if pm_Perl_Matcher_0.Match(string(i)) {
return []string{"Perl"}
} else if pm_XPM_Matcher_0.Match(string(i)) {
return []string{"XPM"}
}
return nil
@ -314,6 +316,20 @@ var ContentMatchers = map[string]languageMatcher{
return []string{"Perl"}
},
"Pod": func(i []byte) []string {
if Pod_Pod_Matcher_0.Match(string(i)) {
return []string{"Pod"}
}
return []string{"Perl"}
},
"Perl": func(i []byte) []string {
if Perl_Pod_Matcher_0.Match(string(i)) {
return []string{"Pod"}
}
return []string{"Perl"}
},
".pro": func(i []byte) []string {
if pro_Prolog_Matcher_0.Match(string(i)) {
return []string{"Prolog"}
@ -524,7 +540,10 @@ var (
pl_Perl6_Matcher_0 = substring.Regexp(`(?m)^(use v6|(my )?class|module)`)
pm_Perl6_Matcher_0 = substring.Regexp(`(?m)^\s*(?:use\s+v6\s*;|(?:\bmy\s+)?class|module)\b`)
pm_Perl_Matcher_0 = substring.Regexp(`(?m)\buse\s+(?:strict\b|v?5\.)`)
pm_XPM_Matcher_0 = substring.Regexp(`(?m)^\s*\/\* XPM \*\/`)
pod_Pod_Matcher_0 = substring.Regexp(`(?m)^=\w+\b`)
Pod_Pod_Matcher_0 = substring.Regexp(`(?m)^=\w+\b`)
Perl_Pod_Matcher_0 = substring.Regexp(`(?m)^=\w+\b`)
pro_Prolog_Matcher_0 = substring.Regexp(`(?m)^[^#]+:-`)
pro_INI_Matcher_0 = substring.Regexp(`(?m)last_client=`)
pro_QMake_Matcher_0 = substring.Regexp(`(?m)HEADERS`)

View File

@ -2,7 +2,7 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: 37979b26b04e10868017469e5cc56263b0a39c84
// Extracted from github/linguist commit: e98728595bc2f3e72b0668d60e31cbe441c48799
import "gopkg.in/toqueteos/substring.v1"

View File

@ -2,7 +2,7 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: 37979b26b04e10868017469e5cc56263b0a39c84
// Extracted from github/linguist commit: e98728595bc2f3e72b0668d60e31cbe441c48799
var LanguagesByExtension = map[string][]string{
".1": {"Roff"},
@ -42,6 +42,7 @@ var LanguagesByExtension = map[string][]string{
".adoc": {"AsciiDoc"},
".adp": {"Tcl"},
".ads": {"Ada"},
".afm": {"Adobe Font Metrics"},
".agc": {"Apollo Guidance Computer"},
".agda": {"Agda"},
".ahk": {"AutoHotkey"},
@ -87,6 +88,7 @@ var LanguagesByExtension = map[string][]string{
".axs": {"NetLinx"},
".axs.erb": {"NetLinx+ERB"},
".b": {"Brainfuck", "Limbo"},
".bal": {"Ballerina"},
".bas": {"Visual Basic"},
".bash": {"Shell"},
".bat": {"Batchfile"},
@ -104,7 +106,7 @@ var LanguagesByExtension = map[string][]string{
".bones": {"JavaScript"},
".boo": {"Boo"},
".boot": {"Clojure"},
".brd": {"Eagle", "KiCad"},
".brd": {"Eagle", "KiCad Legacy Layout"},
".bro": {"Bro"},
".brs": {"Brightscript"},
".bsl": {"1C Enterprise"},
@ -124,6 +126,7 @@ var LanguagesByExtension = map[string][]string{
".cbx": {"TeX"},
".cc": {"C++"},
".ccp": {"COBOL"},
".ccproj": {"XML"},
".ccxml": {"XML"},
".cdf": {"Mathematica"},
".ceylon": {"Ceylon"},
@ -173,7 +176,9 @@ var LanguagesByExtension = map[string][]string{
".cr": {"Crystal"},
".creole": {"Creole"},
".cs": {"C#", "Smalltalk"},
".cscfg": {"XML"},
".csd": {"Csound Document"},
".csdef": {"XML"},
".csh": {"Tcsh"},
".cshtml": {"C#"},
".csl": {"XML"},
@ -200,6 +205,7 @@ var LanguagesByExtension = map[string][]string{
".dcl": {"Clean"},
".ddl": {"PLSQL", "SQL"},
".decls": {"BlitzBasic"},
".depproj": {"XML"},
".desktop": {"desktop"},
".desktop.in": {"desktop"},
".dfm": {"Pascal"},
@ -222,6 +228,7 @@ var LanguagesByExtension = map[string][]string{
".druby": {"Mirah"},
".dtx": {"TeX"},
".duby": {"Mirah"},
".dwl": {"DataWeave"},
".dyalog": {"APL"},
".dyl": {"Dylan"},
".dylan": {"Dylan"},
@ -303,6 +310,11 @@ var LanguagesByExtension = map[string][]string{
".g4": {"ANTLR"},
".gap": {"GAP"},
".gawk": {"Awk"},
".gbl": {"Gerber Image"},
".gbo": {"Gerber Image"},
".gbp": {"Gerber Image"},
".gbr": {"Gerber Image"},
".gbs": {"Gerber Image"},
".gco": {"G-code"},
".gcode": {"G-code"},
".gd": {"GAP", "GDScript"},
@ -314,6 +326,7 @@ var LanguagesByExtension = map[string][]string{
".geom": {"GLSL"},
".gf": {"Grammatical Framework"},
".gi": {"GAP"},
".gko": {"Gerber Image"},
".glade": {"XML"},
".glf": {"Glyph"},
".glsl": {"GLSL"},
@ -328,6 +341,9 @@ var LanguagesByExtension = map[string][]string{
".god": {"Ruby"},
".golo": {"Golo"},
".gp": {"Gnuplot"},
".gpb": {"Gerber Image"},
".gpt": {"Gerber Image"},
".gql": {"GraphQL"},
".grace": {"Grace"},
".gradle": {"Gradle"},
".graphql": {"GraphQL"},
@ -339,7 +355,11 @@ var LanguagesByExtension = map[string][]string{
".gsp": {"Groovy Server Pages"},
".gst": {"Gosu"},
".gsx": {"Gosu"},
".gtl": {"Gerber Image"},
".gto": {"Gerber Image"},
".gtp": {"Gerber Image"},
".gtpl": {"Groovy"},
".gts": {"Gerber Image"},
".gv": {"Graphviz (DOT)"},
".gvy": {"Groovy"},
".gyp": {"Python"},
@ -420,7 +440,9 @@ var LanguagesByExtension = map[string][]string{
".jsproj": {"XML"},
".jss": {"JavaScript"},
".jsx": {"JSX"},
".kicad_pcb": {"KiCad"},
".kicad_mod": {"KiCad Layout"},
".kicad_pcb": {"KiCad Layout"},
".kicad_wks": {"KiCad Layout"},
".kid": {"Genshi"},
".kit": {"Kit"},
".kml": {"XML"},
@ -499,6 +521,7 @@ var LanguagesByExtension = map[string][]string{
".mir": {"Mirah"},
".mirah": {"Mirah"},
".mjml": {"XML"},
".mjs": {"JavaScript"},
".mk": {"Makefile"},
".mkd": {"Markdown"},
".mkdn": {"Markdown"},
@ -519,6 +542,7 @@ var LanguagesByExtension = map[string][]string{
".mod": {"AMPL", "Linux Kernel Module", "Modula-2", "XML"},
".model.lkml": {"LookML"},
".monkey": {"Monkey"},
".monkey2": {"Monkey"},
".moo": {"Mercury", "Moocode"},
".moon": {"MoonScript"},
".mq4": {"MQL4"},
@ -540,11 +564,15 @@ var LanguagesByExtension = map[string][]string{
".myt": {"Myghty"},
".n": {"Nemerle", "Roff"},
".nasm": {"Assembly"},
".natvis": {"XML"},
".nawk": {"Awk"},
".nb": {"Mathematica", "Text"},
".nbp": {"Mathematica"},
".nc": {"nesC"},
".ncl": {"NCL", "Text"},
".ndproj": {"XML"},
".ne": {"Nearley"},
".nearley": {"Nearley"},
".nginxconf": {"Nginx"},
".ni": {"Inform 7"},
".nim": {"Nim"},
@ -611,6 +639,7 @@ var LanguagesByExtension = map[string][]string{
".pde": {"Processing"},
".pep": {"Pep8"},
".perl": {"Perl"},
".pfa": {"PostScript"},
".ph": {"Perl"},
".php": {"Hack", "PHP"},
".php3": {"PHP"},
@ -637,7 +666,7 @@ var LanguagesByExtension = map[string][]string{
".plt": {"Gnuplot"},
".pluginspec": {"Ruby", "XML"},
".plx": {"Perl"},
".pm": {"Perl", "Perl 6"},
".pm": {"Perl", "Perl 6", "XPM"},
".pm6": {"Perl 6"},
".pmod": {"Pike"},
".po": {"Gettext Catalog"},
@ -656,6 +685,7 @@ var LanguagesByExtension = map[string][]string{
".prg": {"xBase"},
".pri": {"QMake"},
".pro": {"IDL", "INI", "Prolog", "QMake"},
".proj": {"XML"},
".prolog": {"Prolog"},
".properties": {"INI"},
".props": {"XML"},
@ -761,7 +791,7 @@ var LanguagesByExtension = map[string][]string{
".scaml": {"Scaml"},
".scd": {"SuperCollider"},
".sce": {"Scilab"},
".sch": {"Eagle", "KiCad", "XML"},
".sch": {"Eagle", "KiCad Schematic", "Scheme", "XML"},
".sci": {"Scilab"},
".scm": {"Scheme"},
".sco": {"Csound Score"},
@ -778,6 +808,7 @@ var LanguagesByExtension = map[string][]string{
".sh.in": {"Shell"},
".shader": {"GLSL", "ShaderLab"},
".shen": {"Shen"},
".shproj": {"XML"},
".sig": {"Standard ML"},
".sj": {"Objective-J"},
".sjs": {"JavaScript"},
@ -967,6 +998,7 @@ var LanguagesByExtension = map[string][]string{
".xojo_toolbar": {"Xojo"},
".xojo_window": {"Xojo"},
".xpl": {"XProc"},
".xpm": {"XPM"},
".xproc": {"XProc"},
".xproj": {"XML"},
".xpy": {"Python"},
@ -1007,23 +1039,24 @@ var LanguagesByExtension = map[string][]string{
}
var ExtensionsByLanguage = map[string][]string{
"1C Enterprise": {".bsl", ".os"},
"ABAP": {".abap"},
"ABNF": {".abnf"},
"AGS Script": {".asc", ".ash"},
"AMPL": {".ampl", ".mod"},
"ANTLR": {".g4"},
"API Blueprint": {".apib"},
"APL": {".apl", ".dyalog"},
"ASN.1": {".asn", ".asn1"},
"ASP": {".asp", ".asax", ".ascx", ".ashx", ".asmx", ".aspx", ".axd"},
"ATS": {".dats", ".hats", ".sats"},
"ActionScript": {".as"},
"Ada": {".adb", ".ada", ".ads"},
"Agda": {".agda"},
"Alloy": {".als"},
"ApacheConf": {".apacheconf", ".vhost"},
"Apex": {".cls"},
"1C Enterprise": {".bsl", ".os"},
"ABAP": {".abap"},
"ABNF": {".abnf"},
"AGS Script": {".asc", ".ash"},
"AMPL": {".ampl", ".mod"},
"ANTLR": {".g4"},
"API Blueprint": {".apib"},
"APL": {".apl", ".dyalog"},
"ASN.1": {".asn", ".asn1"},
"ASP": {".asp", ".asax", ".ascx", ".ashx", ".asmx", ".aspx", ".axd"},
"ATS": {".dats", ".hats", ".sats"},
"ActionScript": {".as"},
"Ada": {".adb", ".ada", ".ads"},
"Adobe Font Metrics": {".afm"},
"Agda": {".agda"},
"Alloy": {".als"},
"ApacheConf": {".apacheconf", ".vhost"},
"Apex": {".cls"},
"Apollo Guidance Computer": {".agc"},
"AppleScript": {".applescript", ".scpt"},
"Arc": {".arc"},
@ -1035,6 +1068,7 @@ var ExtensionsByLanguage = map[string][]string{
"AutoHotkey": {".ahk", ".ahkl"},
"AutoIt": {".au3"},
"Awk": {".awk", ".auk", ".gawk", ".mawk", ".nawk"},
"Ballerina": {".bal"},
"Batchfile": {".bat", ".cmd"},
"Befunge": {".befunge"},
"Bison": {".bison"},
@ -1096,6 +1130,7 @@ var ExtensionsByLanguage = map[string][]string{
"DTrace": {".d"},
"Darcs Patch": {".darcspatch", ".dpatch"},
"Dart": {".dart"},
"DataWeave": {".dwl"},
"Diff": {".diff", ".patch"},
"Dockerfile": {".dockerfile"},
"Dogescript": {".djs"},
@ -1140,6 +1175,7 @@ var ExtensionsByLanguage = map[string][]string{
"Genshi": {".kid"},
"Gentoo Ebuild": {".ebuild"},
"Gentoo Eclass": {".eclass"},
"Gerber Image": {".gbr", ".gbl", ".gbo", ".gbp", ".gbs", ".gko", ".gpb", ".gpt", ".gtl", ".gto", ".gtp", ".gts"},
"Gettext Catalog": {".po", ".pot"},
"Gherkin": {".feature"},
"Glyph": {".glf"},
@ -1151,7 +1187,7 @@ var ExtensionsByLanguage = map[string][]string{
"Gradle": {".gradle"},
"Grammatical Framework": {".gf"},
"Graph Modeling Language": {".gml"},
"GraphQL": {".graphql"},
"GraphQL": {".graphql", ".gql"},
"Graphviz (DOT)": {".dot", ".gv"},
"Groovy": {".groovy", ".grt", ".gtpl", ".gvy"},
"Groovy Server Pages": {".gsp"},
@ -1192,14 +1228,16 @@ var ExtensionsByLanguage = map[string][]string{
"Jasmin": {".j"},
"Java": {".java"},
"Java Server Pages": {".jsp"},
"JavaScript": {".js", "._js", ".bones", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
"JavaScript": {".js", "._js", ".bones", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
"Jison": {".jison"},
"Jison Lex": {".jisonlex"},
"Jolie": {".ol", ".iol"},
"Julia": {".jl"},
"Jupyter Notebook": {".ipynb"},
"KRL": {".krl"},
"KiCad": {".sch", ".brd", ".kicad_pcb"},
"KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"},
"KiCad Legacy Layout": {".brd"},
"KiCad Schematic": {".sch"},
"Kit": {".kit"},
"Kotlin": {".kt", ".ktm", ".kts"},
"LFE": {".lfe"},
@ -1250,13 +1288,14 @@ var ExtensionsByLanguage = map[string][]string{
"Modelica": {".mo"},
"Modula-2": {".mod"},
"Module Management System": {".mms", ".mmk"},
"Monkey": {".monkey"},
"Monkey": {".monkey", ".monkey2"},
"Moocode": {".moo"},
"MoonScript": {".moon"},
"Myghty": {".myt"},
"NCL": {".ncl"},
"NL": {".nl"},
"NSIS": {".nsi", ".nsh"},
"Nearley": {".ne", ".nearley"},
"Nemerle": {".n"},
"NetLinx": {".axs", ".axi"},
"NetLinx+ERB": {".axs.erb", ".axi.erb"},
@ -1308,7 +1347,7 @@ var ExtensionsByLanguage = map[string][]string{
"Pod": {".pod"},
"PogoScript": {".pogo"},
"Pony": {".pony"},
"PostScript": {".ps", ".eps"},
"PostScript": {".ps", ".eps", ".pfa"},
"PowerBuilder": {".pbt", ".sra", ".sru", ".srw"},
"PowerShell": {".ps1", ".psd1", ".psm1"},
"Processing": {".pde"},
@ -1366,7 +1405,7 @@ var ExtensionsByLanguage = map[string][]string{
"Sass": {".sass"},
"Scala": {".scala", ".sbt", ".sc"},
"Scaml": {".scaml"},
"Scheme": {".scm", ".sld", ".sls", ".sps", ".ss"},
"Scheme": {".scm", ".sch", ".sld", ".sls", ".sps", ".ss"},
"Scilab": {".sci", ".sce", ".tst"},
"Self": {".self"},
"ShaderLab": {".shader"},
@ -1429,7 +1468,8 @@ var ExtensionsByLanguage = map[string][]string{
"World of Warcraft Addon Data": {".toc"},
"X10": {".x10"},
"XC": {".xc"},
"XML": {".xml", ".adml", ".admx", ".ant", ".axml", ".builds", ".ccxml", ".clixml", ".cproject", ".csl", ".csproj", ".ct", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".grxml", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".plist", ".pluginspec", ".props", ".ps1xml", ".psc1", ".pt", ".rdf", ".resx", ".rss", ".sch", ".scxml", ".sfproj", ".srdf", ".storyboard", ".sttheme", ".sublime-snippet", ".targets", ".tmcommand", ".tml", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme", ".ts", ".tsx", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
"XML": {".xml", ".adml", ".admx", ".ant", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".grxml", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".plist", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".rdf", ".resx", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sttheme", ".sublime-snippet", ".targets", ".tmcommand", ".tml", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme", ".ts", ".tsx", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
"XPM": {".xpm", ".pm"},
"XPages": {".xsp-config", ".xsp.metadata"},
"XProc": {".xpl", ".xproc"},
"XQuery": {".xquery", ".xq", ".xql", ".xqm", ".xqy"},

View File

@ -2,7 +2,7 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: 37979b26b04e10868017469e5cc56263b0a39c84
// Extracted from github/linguist commit: e98728595bc2f3e72b0668d60e31cbe441c48799
var LanguagesByFilename = map[string][]string{
".Rprofile": {"R"},
@ -15,6 +15,7 @@ var LanguagesByFilename = map[string][]string{
".bash_profile": {"Shell"},
".bashrc": {"Shell"},
".clang-format": {"YAML"},
".clang-tidy": {"YAML"},
".classpath": {"XML"},
".cproject": {"XML"},
".cshrc": {"Shell"},
@ -132,6 +133,7 @@ var LanguagesByFilename = map[string][]string{
"bashrc": {"Shell"},
"build.xml": {"Ant Build System"},
"buildfile": {"Ruby"},
"buildozer.spec": {"INI"},
"click.me": {"Text"},
"composer.lock": {"JSON"},
"configure.ac": {"M4Sugar"},
@ -141,6 +143,7 @@ var LanguagesByFilename = map[string][]string{
"descrip.mmk": {"Module Management System"},
"descrip.mms": {"Module Management System"},
"expr-dist": {"R"},
"fp-lib-table": {"KiCad Layout"},
"gradlew": {"Shell"},
"gvimrc": {"Vim script"},
"httpd.conf": {"ApacheConf"},

File diff suppressed because it is too large Load Diff

View File

@ -2,12 +2,13 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: 37979b26b04e10868017469e5cc56263b0a39c84
// Extracted from github/linguist commit: e98728595bc2f3e72b0668d60e31cbe441c48799
var LanguagesByInterpreter = map[string][]string{
"Rscript": {"R"},
"apl": {"APL"},
"aplx": {"APL"},
"ash": {"Shell"},
"awk": {"Awk"},
"bash": {"Shell"},
"bigloo": {"Scheme"},
@ -20,6 +21,7 @@ var LanguagesByInterpreter = map[string][]string{
"csi": {"Scheme"},
"cvc4": {"SMT"},
"dart": {"Dart"},
"dash": {"Shell"},
"dtrace": {"DTrace"},
"dyalog": {"APL"},
"ecl": {"Common Lisp"},
@ -27,6 +29,8 @@ var LanguagesByInterpreter = map[string][]string{
"escript": {"Erlang"},
"fish": {"fish"},
"gawk": {"Awk"},
"gerbv": {"Gerber Image"},
"gerbview": {"Gerber Image"},
"gn": {"GN"},
"gnuplot": {"Gnuplot"},
"gosh": {"Scheme"},
@ -39,6 +43,7 @@ var LanguagesByInterpreter = map[string][]string{
"jolie": {"Jolie"},
"jruby": {"Ruby"},
"julia": {"Julia"},
"ksh": {"Shell"},
"lisp": {"Common Lisp"},
"lsl": {"LSL"},
"lua": {"Lua", "Terra"},
@ -46,6 +51,7 @@ var LanguagesByInterpreter = map[string][]string{
"make": {"Makefile"},
"mathsat5": {"SMT"},
"mawk": {"Awk"},
"mksh": {"Shell"},
"mmi": {"Mercury"},
"moon": {"MoonScript"},
"nawk": {"Awk"},
@ -59,7 +65,8 @@ var LanguagesByInterpreter = map[string][]string{
"opensmt": {"SMT"},
"osascript": {"AppleScript"},
"parrot": {"Parrot Assembly", "Parrot Internal Representation"},
"perl": {"Perl"},
"pdksh": {"Shell"},
"perl": {"Perl", "Pod"},
"perl6": {"Perl 6"},
"php": {"PHP"},
"picolisp": {"PicoLisp"},

View File

@ -2,7 +2,7 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: 37979b26b04e10868017469e5cc56263b0a39c84
// Extracted from github/linguist commit: e98728595bc2f3e72b0668d60e31cbe441c48799
var LanguagesMime = map[string]string{
"AGS Script": "text/x-c++src",
@ -89,6 +89,7 @@ var LanguagesMime = map[string]string{
"JavaScript": "text/javascript",
"Julia": "text/x-julia",
"Jupyter Notebook": "application/json",
"KiCad Layout": "text/x-common-lisp",
"Kit": "text/html",
"Kotlin": "text/x-kotlin",
"LFE": "text/x-common-lisp",

View File

@ -2,28 +2,29 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: 37979b26b04e10868017469e5cc56263b0a39c84
// Extracted from github/linguist commit: e98728595bc2f3e72b0668d60e31cbe441c48799
var LanguagesType = map[string]int{
"1C Enterprise": 2,
"ABAP": 2,
"ABNF": 1,
"AGS Script": 2,
"AMPL": 2,
"ANTLR": 2,
"API Blueprint": 3,
"APL": 2,
"ASN.1": 1,
"ASP": 2,
"ATS": 2,
"ActionScript": 2,
"Ada": 2,
"Agda": 2,
"Alloy": 2,
"Alpine Abuild": 2,
"Ant Build System": 1,
"ApacheConf": 3,
"Apex": 2,
"1C Enterprise": 2,
"ABAP": 2,
"ABNF": 1,
"AGS Script": 2,
"AMPL": 2,
"ANTLR": 2,
"API Blueprint": 3,
"APL": 2,
"ASN.1": 1,
"ASP": 2,
"ATS": 2,
"ActionScript": 2,
"Ada": 2,
"Adobe Font Metrics": 1,
"Agda": 2,
"Alloy": 2,
"Alpine Abuild": 2,
"Ant Build System": 1,
"ApacheConf": 1,
"Apex": 2,
"Apollo Guidance Computer": 2,
"AppleScript": 2,
"Arc": 2,
@ -35,6 +36,7 @@ var LanguagesType = map[string]int{
"AutoHotkey": 2,
"AutoIt": 2,
"Awk": 2,
"Ballerina": 2,
"Batchfile": 2,
"Befunge": 2,
"Bison": 2,
@ -96,6 +98,7 @@ var LanguagesType = map[string]int{
"DTrace": 2,
"Darcs Patch": 1,
"Dart": 2,
"DataWeave": 2,
"Diff": 1,
"Dockerfile": 1,
"Dogescript": 2,
@ -106,7 +109,7 @@ var LanguagesType = map[string]int{
"ECLiPSe": 2,
"EJS": 3,
"EQ": 2,
"Eagle": 3,
"Eagle": 1,
"Easybuild": 1,
"Ecere Projects": 1,
"Eiffel": 2,
@ -140,6 +143,7 @@ var LanguagesType = map[string]int{
"Genshi": 2,
"Gentoo Ebuild": 2,
"Gentoo Eclass": 2,
"Gerber Image": 1,
"Gettext Catalog": 4,
"Gherkin": 2,
"Glyph": 2,
@ -200,7 +204,9 @@ var LanguagesType = map[string]int{
"Julia": 2,
"Jupyter Notebook": 3,
"KRL": 2,
"KiCad": 2,
"KiCad Layout": 1,
"KiCad Legacy Layout": 1,
"KiCad Schematic": 1,
"Kit": 3,
"Kotlin": 2,
"LFE": 2,
@ -260,12 +266,13 @@ var LanguagesType = map[string]int{
"NCL": 2,
"NL": 1,
"NSIS": 2,
"Nearley": 2,
"Nemerle": 2,
"NetLinx": 2,
"NetLinx+ERB": 2,
"NetLogo": 2,
"NewLisp": 2,
"Nginx": 3,
"Nginx": 1,
"Nim": 2,
"Ninja": 1,
"Nit": 2,
@ -318,11 +325,11 @@ var LanguagesType = map[string]int{
"Processing": 2,
"Prolog": 2,
"Propeller Spin": 2,
"Protocol Buffer": 3,
"Protocol Buffer": 1,
"Public Key": 1,
"Pug": 3,
"Puppet": 2,
"Pure Data": 2,
"Pure Data": 1,
"PureBasic": 2,
"PureScript": 2,
"Python": 2,
@ -428,7 +435,7 @@ var LanguagesType = map[string]int{
"Vue": 3,
"Wavefront Material": 1,
"Wavefront Object": 1,
"Web Ontology Language": 3,
"Web Ontology Language": 1,
"WebAssembly": 2,
"WebIDL": 2,
"World of Warcraft Addon Data": 1,
@ -436,7 +443,8 @@ var LanguagesType = map[string]int{
"XC": 2,
"XCompose": 1,
"XML": 1,
"XPages": 2,
"XPM": 1,
"XPages": 1,
"XProc": 2,
"XQuery": 2,
"XS": 2,

View File

@ -2,7 +2,7 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: 37979b26b04e10868017469e5cc56263b0a39c84
// Extracted from github/linguist commit: e98728595bc2f3e72b0668d60e31cbe441c48799
import "gopkg.in/toqueteos/substring.v1"
@ -88,6 +88,7 @@ var VendorMatchers = substring.Or(
substring.Regexp(`(^|/)angular([^.]*)\.js$`),
substring.Regexp(`(^|\/)d3(\.v\d+)?([^.]*)\.js$`),
substring.Regexp(`(^|/)react(-[^.]*)?\.js$`),
substring.Regexp(`(^|/)flow-typed/.*\.js$`),
substring.Regexp(`(^|/)modernizr\-\d\.\d+(\.\d+)?\.js$`),
substring.Regexp(`(^|/)modernizr\.custom\.\d+\.js$`),
substring.Regexp(`(^|/)knockout-(\d+\.){3}(debug\.)?js$`),